/*!
Theme Name: oldgreatrealties
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: parosgreen
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

parosgreen is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
h1{
  font-size: 50px;
}
h2{
  font-size: 48px;
  margin-bottom: 5px;
  text-align: left;
  color:var(--text-blue);
}
p{
  font-size: 20px;
  color: #000000a8;
}
:root {
  --my-blue: rgb(15, 30, 82);
  --text-blue: rgb(0 26 114);
  --my-grey: #555;
;
}

.header-wrapper{
	position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 10;
  display: flex;
  box-sizing: border-box;
  padding: 52px 80px;
  background-color: transparent;
}
.header-left{
	margin: auto;
    margin-left: 0px;;
}
.header-left img{
	width: 70px;
	height: auto;
}
.header-right{
	margin: auto;
	margin-right: 0px;
	display: flex;
}
#primary-menu ul{
  display: flex;
}
.menu{
	display: flex;
}
.menu :last-child{
  margin-right: 0px;
}
.menu li{
	list-style: none;
	margin: 0 15px;
	font-size: 16px;
	/* font-family: Arial, sans-serif; */
}
.menu li a{
  position: relative;
	text-decoration: none;
  color: var(--my-blue);
  font-weight: bold;
  font-size: 18px;
  transition: color 0.3s ease;
}
.menu li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 1px;
  left: 0;
  bottom: -3px;
  background-color: var(--my-blue);
  transition: width 0.3s ease;
}

.menu li a:hover::after {
  width: 100%;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}
.hero:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.00) 37.63%, rgba(0, 0, 0, 0.15) 55.18%, rgba(0, 0, 0, 0.40) 73.62%, #000 93.81%), radial-gradient(73.4% 73.4% at 52.92% 37.78%, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.09) 28.31%, rgba(0, 0, 0, 0) 100%);
}
.hero-video {
  position: relative;
  width: 100%;
  height: 100%;
}

.preview-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects {
  padding-top: 60px;
  width: 100%;
  margin: auto;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  margin-top: -70px;
  position: relative;
  z-index: 2;
  background-color: white;
}

.projects-intro {
  margin-bottom: 50px;
  text-align: left;
  width: 95%;
  margin: auto;
}
.projects-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: auto;
  margin-bottom: 50px;
  width: 95%;

}

.project-card {
  position: relative;
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.3); /* πιο εμφανές σκοτείνιασμα */
  z-index: 1;
  pointer-events: none;
}
.project-card a img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-card:hover .project-info {
  transform: translateY(-10px);
}
.preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  color: white;
  transform: translateY(0);
  transition: transform 0.4s ease-in-out;
  z-index: 2;

}

.project-title{
  color: white;
  font-size: 19px;
  margin-bottom: 0;
  font-weight: bold;
}
.project-location {
  font-size: 15px;
  opacity: 0.8;
  color: white;
  margin: 0;
  margin-top: 5px;
  font-weight: bold;
}
.ribbon {
  position: absolute;
  top: 40px;
  left: -55px;
  background: white;
  color: black;
  font-size: 16px;
  font-weight: 800;
  padding: 10px 90px;
  transform: rotate(-45deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 20;
  letter-spacing: 1px;
}
.footer-container {
  background-color: var(--my-blue);
  color: white;
  padding: 50px 0;
  height: fit-content;
  z-index: 0;
}

.footer-columns {
  display: flex;
  flex-direction: row;
  gap: 40px;
  width: 80%;
  margin: 0 auto 30px;
}

.footer-column {
  flex: 1 1 30%;
  min-width: 200px;
  text-align: center;
  text-decoration: none;
}

.footer-column h3 {
  margin-bottom: 30px;
  font-size: 25px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
}

.footer-column ul li {
  margin-bottom: 10px;
  font-size: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
  color: white;
}

.footer-column li a,
.footer-column a {
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-column a:hover {
  transform: scale(1.04);
}
.footer-logo{
  text-align: left;
}
.footer-logo img{
  width: 120px;
}
.copyright {
  margin-top: 10px;
  text-align: left;
}
.page-id-143 .header-wrapper{
  padding: 20px 80px;
  position: relative;
}

.page-id-143 .menu li a, .project-template-default .menu li a{
  color: var(--my-blue);
}
.page-id-143 .menu li a::after, .project-template-default .menu li a::after{
  background-color: var(--my-blue);
}
.projectspagecontainer {
  padding: 30px 0px;
  border-radius: 0px 0px 150px 150px;
}
.projectspage-wrapper{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: auto;
  margin-bottom: 50px;
  width: 95%;
}
.projectspage-card {
  position: relative;
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
}
.projectspage-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  color: white;
  transform: translateY(0);
  transition: transform 0.4s ease-in-out;
  z-index: 2;
}
.projectspage-card:hover .projectspage-info {
  transform: translateY(-10px);
}
.projectspage-card a img {
  display: block;
  width: 100%;
  height: 100%;
  transition: 0.3s ease;
  filter: brightness(70%);
}
.projectspage-card img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s ease;
    z-index: 1; /* Προστέθηκε */
}
.projectspage-info p{
    margin: 0px;
    margin-bottom: 5px;
}
.projectspage-title{
  color: white;
  font-size: 19px;
  margin-bottom: 0;
  font-weight: bold;
}
.projectspage-location{
  font-size: 15px;
  color: white;
  margin: 0;
  margin-top: 5px;
}
.projectspage-area{
  font-size: 15px;
  opacity: 0.8;
  color: white;
}
.leaflet-control-attribution{
  display: none;
}
@media screen and (max-width: 1024px) {
  h2{
    font-size: 38px;
    margin-top: 20px;
  }
  p {
    font-size: 17px;
    margin-top: 10px;
  }
  .header-wrapper{
    padding: 60px 40px;
  }
  .menu li a{
    font-size: 16px;
  }
  .projects-intro {
    margin-bottom: 40px;
  }
  .project-title {
    font-size: 15px;
  }
  .project-location {
    font-size: 13px;
  }
  .footer-container {
    padding: 10px 0px;
  }
 .footer-columns {
    flex-direction: column;
    margin-bottom: 0px;
    gap: 20px;
  }

  .footer-column h3 {
      margin-bottom: 20px;
      font-size: 22px;
  }
  .footer-contact {
    order: 1;
  }

  .footer-follow-us {
    order: 2;
  }

  .footer-logo-column {
    order: 3;
    text-align: center;
    margin-top: 30px;
  }
  .footer-logo img {
    display: none;
  }
  .copyright {
    margin-top: 0px;
    text-align: center;
}

  .projectspage-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
  .projectspage-title {
    font-size: 15px;
  }
  .projectspage-location  {
    font-size: 13px;
  }
  .projectspage-area{
    font-size: 13px;
  }
}
@media screen and (max-width: 768px) {
  h2{
    font-size: 30px !important;
  }
  .header-wrapper {
    padding: 20px 20px !important;
  }
  .header-left img {
    width: 50px !important;
  }
  .menu li {
    margin: 0 8px !important;
  }
  .menu li a {
    font-size: 16px !important;
  }
  .footer-column h3 {
    margin-bottom: 15px !important;
    font-size: 20px !important;
  }
  .projects-intro {
    margin-bottom: 30px;
  }
  .project-card {
    height: 380px !important;
  }
  .projects-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .projectspage-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 95%;
  }
  .projectspage-card {
    height: 380px !important;
  }
}
@media screen and (max-width: 480px) {
  h2 {
    font-size: 25px !important;
  }
  p {
    font-size: 15px;
    margin-top: 7px;
  }
  .hero {
    height: 50vh;
	}
  .header-wrapper {
    padding: 10px !important;
  }
  .header-left img {
    width: 45px !important;
  }
  .project-title {
    width: 80%;
  }
  .project-info {
    padding-left: 5px;
    padding-bottom: 10px;
  }
  .project-card {
    height: 280px !important;
  }
  .ribbon {
    top: 15px;
    left: -75px;
    font-size: 13px;
  }
  .projectspage-info {
    padding-left: 5px;
    padding-bottom: 10px;
  }
  .projectspage-info p {
    width: 80%;
  }
  .projectspage-card {
    height: 280px !important;
  }
}