* {
  box-sizing: border-box;
}

:root {
  --blue: #001b51;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--blue);
  font-family: "Manrope", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  padding: 28px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}

.brand {
  display: block;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: 300px;
  max-width: 42vw;
  height: auto;
}

.nav {
  display: flex;
  gap: 34px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  padding-bottom: 5px;
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  border-color: var(--white);
}

.menu-toggle {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 8vw 90px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background:
    linear-gradient(rgba(0, 24, 74, 0.72), rgba(0, 24, 74, 0.72)),
    url("assets/thessaloniki-hero.jpg")
    center/cover no-repeat;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  max-width: 850px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero h1,
.intro h2,
.about h2,
.contact h2 {
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.hero h1 {
  margin: 22px 0;
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  line-height: 0.94;
}

.hero-text {
  max-width: 650px;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.75;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  padding: 15px 24px;
  border: 1px solid currentColor;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.button-light {
  background: var(--white);
  color: var(--blue);
}

.button-light:hover {
  background: transparent;
  color: var(--white);
}

.button-dark {
  background: var(--blue);
  color: var(--white);
}

.button-dark:hover {
  background: var(--white);
  color: var(--blue);
}

.intro {
  padding: 130px 8vw 80px;
  border-bottom: 1px solid var(--blue);
}

.intro h2 {
  max-width: 1000px;
  margin: 16px 0 0;
  font-size: clamp(2.7rem, 5.8vw, 6rem);
  line-height: 1.03;
}

.listings-section {
  padding: 58px 8vw 130px;
}

.filters {
  display: flex;
  gap: 12px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}

.filter {
  padding: 11px 18px;
  border: 1px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter.active,
.filter:hover {
  background: var(--blue);
  color: var(--white);
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--blue);
  border: 1px solid var(--blue);
}

.listing-card {
  background: var(--white);
  overflow: hidden;
}

.listing-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--blue);
}

.listing-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  transition: transform 0.45s ease;
}

.listing-card:hover .listing-image {
  transform: scale(1.025);
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 10px;
  border: 1px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.listing-content {
  padding: 24px;
}

.listing-type {
  margin: 0 0 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.listing-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.2;
}

.listing-meta {
  margin: 16px 0;
  font-size: 0.84rem;
  line-height: 1.65;
}

.listing-price {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 700;
}

.card-link {
  display: inline-block;
  margin-top: 22px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--blue);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about {
  padding: 120px 8vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  background: var(--blue);
  color: var(--white);
}

.about h2 {
  margin: 12px 0;
  font-size: clamp(3.4rem, 8vw, 7rem);
}

.about p {
  margin: 0 0 18px;
  line-height: 1.85;
}

.contact {
  padding: 130px 8vw;
  text-align: center;
  background: var(--white);
  color: var(--blue);
}

.contact h2 {
  max-width: 900px;
  margin: 18px auto;
  font-size: clamp(2.6rem, 5.6vw, 5.2rem);
  line-height: 1.03;
}

.contact p {
  margin: 0;
}

.contact-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
}

.text-link {
  margin-top: 30px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--blue);
  font-weight: 700;
}

footer {
  padding: 42px 6vw;
  display: flex;
  align-items: end;
  justify-content: space-between;
  background: var(--blue);
  color: var(--white);
}

.footer-brand {
  display: block;
  line-height: 0;
}

.footer-brand img {
  display: block;
  width: 260px;
  height: auto;
}

footer p {
  margin: 0;
  font-size: 0.76rem;
}

@media (max-width: 900px) {
  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 650px) {
  .site-header {
    padding: 22px;
  }

  .brand-logo {
  display: block;
  width: 300px;
  max-width: 42vw;
  height: auto;
}

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 76px;
    right: 22px;
    display: none;
    width: 190px;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--blue);
    background: var(--white);
    color: var(--blue);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 15px 18px;
    border-bottom: 1px solid var(--blue);
  }

  .hero {
    min-height: 88vh;
    padding: 135px 24px 58px;
  }

  .hero h1 {
    font-size: 3.6rem;
  }

  .intro,
  .listings-section,
  .about,
  .contact {
    padding-left: 24px;
    padding-right: 24px;
  }

  .listing-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions,
  footer {
    flex-direction: column;
  }

  footer {
    align-items: flex-start;
    gap: 22px;
  }

  .footer-brand {
  display: block;
  line-height: 0;
}

.footer-brand img {
  display: block;
  width: 260px;
  height: auto;
}
}


.eyebrow-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.eyebrow-brand img {
  width: 122px;
  height: auto;
  filter: brightness(0) invert(1);
}

.eyebrow-brand span {
  color: var(--white);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.about-logo-heading {
  margin: 12px 0 0;
}

.about-logo-heading img {
  display: block;
  width: min(430px, 80%);
  height: auto;
  filter: brightness(0) invert(1);
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 9px 12px;
  border: 0;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.badge-available {
  background: var(--white);
  color: var(--blue);
}

.badge-unavailable {
  background: #c82020;
  color: var(--white);
}

.listing-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform 0.45s ease;
}

.listing-card.is-unavailable .listing-image {
  filter: grayscale(100%) contrast(1.03);
}

.card-link-disabled {
  cursor: default;
  opacity: 0.72;
}

/* Exact white header logo */
.site-header .brand-logo {
  filter: none;
  opacity: 1;
}

/* Thessaloniki hero framing */
.hero {
  background-position: center center;
}

@media (min-width: 1100px) {
  .hero {
    background-position: center 42%;
  }
}

/* Safe logo rendering: prevent the final T from being clipped */
.brand,
.brand-logo,
.eyebrow-brand,
.eyebrow-brand img,
.about-logo-heading,
.about-logo-heading img,
.footer-brand,
.footer-brand img {
  overflow: visible;
}

.brand-logo {
  object-fit: contain;
  object-position: left center;
}

.eyebrow-brand img,
.about-logo-heading img,
.footer-brand img {
  object-fit: contain;
}

/* Readable about-section typography */
.about-copy {
  max-width: 680px;
}

.about-copy p {
  margin: 0 0 22px;
  max-width: 62ch;
  line-height: 1.8;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-copy .about-lead {
  max-width: 30ch;
  margin-bottom: 30px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.about-copy strong {
  font-weight: 700;
}

.inline-phone {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

@media (max-width: 650px) {
  .about-copy .about-lead {
    font-size: 1.45rem;
  }

  .about-copy p {
    line-height: 1.72;
  }
}

/* Contact details: text label + email address */
.contact-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.contact-email {
  margin-top: 0;
  font-weight: 700;
}

/* Footer logo must render pure white */
.footer-brand img {
  filter: none !important;
  opacity: 1 !important;
}

@media (max-width: 650px) {
  .contact-details {
    flex-direction: column;
    gap: 12px;
  }
}

/* Structured contact information */
.contact-details {
  width: min(760px, 100%);
  margin: 34px auto 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--blue);
}

.contact-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--blue);
  text-align: left;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.contact-value {
  justify-self: start;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  line-height: 1.55;
}

@media (max-width: 650px) {
  .contact-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
