/* ═══════════════════════════════════════════════════════════════
   POUNTA ZEZA SEA HOUSES
   Mediterranean / Cycladic Visual Language
   ═══════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─────────────────────────────────────────── */

:root {
  /* Aegean Blues — used sparingly, as accent only */
  --aegean-deep:    #1a3a4a;
  --aegean:         #2c5f7c;
  --aegean-mid:     #4a8aae;
  --aegean-light:   #7cb5d4;
  --aegean-pale:    #c5dfe8;

  /* Warm Whites & Creams */
  --white:          #ffffff;
  --white-warm:     #fdfcfa;
  --cream:          #f9f6f1;
  --cream-deep:     #f0ebe2;
  --sand:           #e5ddd0;

  /* Terracotta & Earth */
  --terracotta:     #b87345;
  --terracotta-deep:#8f5a35;

  /* Stone */
  --stone:          #8a8278;
  --stone-light:    #b0a89e;

  /* Text */
  --text-dark:      #1a1a1a;
  --text-body:      #3a3835;
  --text-muted:     #7a756e;

  /* Typography */
  --font-display:   'Cormorant Garamond', 'Georgia', serif;
  --font-body:      'Inter', 'Helvetica Neue', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --gutter: clamp(1.5rem, 5vw, 4rem);

  /* Transitions */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --duration:  0.6s;
  --duration-fast: 0.3s;
}


/* ─── Reset & Base ──────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-body);
  background-color: var(--white-warm);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--aegean);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--terracotta);
}

::selection {
  background-color: var(--aegean-pale);
  color: var(--aegean-deep);
}


/* ─── Typography ────────────────────────────────────────────── */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.15;
}

h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.01em; }

h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}


/* ─── Layout ────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}


/* ─── Buttons ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  text-decoration: none;
}

.btn--primary {
  background-color: var(--aegean-deep);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--aegean);
  color: var(--white);
}

.btn--outline {
  background-color: transparent;
  color: var(--text-dark);
  border: 1px solid var(--sand);
}

.btn--outline:hover {
  border-color: var(--aegean);
  color: var(--aegean);
}

.btn--small {
  font-size: 0.7rem;
  padding: 0.6rem 1.5rem;
}


/* ─── Section Labels ────────────────────────────────────────── */

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--aegean);
  margin-bottom: var(--space-lg);
}

.section-label--light {
  color: var(--aegean-pale);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section-title {
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}


/* ─── Reveal Animation ──────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all var(--duration) var(--ease-out);
}

.nav.scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
}

.nav__brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--white);
  transition: color var(--duration) var(--ease-out);
}

.nav.scrolled .nav__brand-name {
  color: var(--text-dark);
}

.nav__brand-sub {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.5);
  transition: color var(--duration) var(--ease-out);
}

.nav.scrolled .nav__brand-sub {
  color: var(--text-muted);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

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

.nav.scrolled .nav__links a {
  color: var(--text-muted);
}

.nav.scrolled .nav__links a:hover {
  color: var(--text-dark);
}

.nav__cta {
  background-color: rgba(255,255,255,0.15) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.4rem !important;
  border: 1px solid rgba(255,255,255,0.25);
}

.nav__cta:hover {
  background-color: var(--white) !important;
  color: var(--aegean-deep) !important;
  border-color: var(--white);
}

.nav.scrolled .nav__cta {
  background-color: var(--aegean-deep) !important;
  color: var(--white) !important;
  border-color: var(--aegean-deep);
}

.nav.scrolled .nav__cta:hover {
  background-color: var(--aegean) !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--white);
  transition: all var(--duration-fast) var(--ease-out);
}

.nav.scrolled .nav__toggle span {
  background-color: var(--text-dark);
}


/* ═══════════════════════════════════════════════════════════════
   HERO — Magazine-quality photographic entrance
   ═══════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0.05) 35%,
    rgba(0, 0, 0, 0.12) 65%,
    rgba(0, 0, 0, 0.38) 100%
  );
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 var(--gutter);
  max-width: 750px;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-xl);
}

.hero__title {
  color: var(--white);
  margin-bottom: var(--space-xl);
  text-shadow: 0 2px 40px rgba(0,0,0,0.15);
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.92);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.hero__details {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2xl);
}

.hero__cta {
  background-color: var(--white);
  color: var(--aegean-deep);
}

.hero__cta:hover {
  background-color: var(--cream);
  color: var(--aegean-deep);
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero__scroll span {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
}

.hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollLine 2.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.2; transform: scaleY(0.4); transform-origin: top; }
  100% { opacity: 1; transform: scaleY(1); }
}


/* ═══════════════════════════════════════════════════════════════
   INTRODUCTION
   ═══════════════════════════════════════════════════════════════ */

.intro {
  padding: var(--space-5xl) 0;
  background-color: var(--white-warm);
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-4xl);
  align-items: start;
}

.intro__lead {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.45;
  margin-bottom: var(--space-xl);
}

.intro__text p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.85;
}


/* ═══════════════════════════════════════════════════════════════
   PHOTOGRAPHIC BREAKS — Full-width image strips
   ═══════════════════════════════════════════════════════════════ */

.photo-break {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.photo-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-break--tall { height: 55vh; }
.photo-break--medium { height: 45vh; }
.photo-break--short { height: 35vh; }


/* ═══════════════════════════════════════════════════════════════
   PROPERTY FEATURES
   ═══════════════════════════════════════════════════════════════ */

.features {
  padding: var(--space-4xl) 0 var(--space-5xl);
  background-color: var(--cream);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.feature {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  border-right: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}

.feature:nth-child(3n) {
  border-right: none;
}

.feature:nth-child(n+4) {
  border-bottom: none;
}

.feature__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-lg);
  color: var(--aegean);
  opacity: 0.7;
}

.feature__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: var(--space-xs);
  color: var(--text-dark);
}

.feature__text {
  font-size: 0.85rem;
  color: var(--text-muted);
}


/* ═══════════════════════════════════════════════════════════════
   THE HOUSE — GALLERY
   ═══════════════════════════════════════════════════════════════ */

.gallery {
  padding: var(--space-5xl) 0;
  background-color: var(--white-warm);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  margin-bottom: var(--space-3xl);
}

.gallery__item {
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery__item--wide {
  grid-column: span 8;
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item--tall .gallery__img {
  min-height: 100%;
}

.gallery__img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 1s var(--ease-out);
}

.gallery__img--placeholder {
  background: linear-gradient(135deg, var(--cream-deep) 0%, var(--sand) 50%, var(--aegean-pale) 100%);
  position: relative;
  min-height: 280px;
}

.gallery__img--placeholder::after {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--stone);
  opacity: 0.5;
  white-space: nowrap;
}

.gallery__item:hover .gallery__img {
  transform: scale(1.04);
}

.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-2xl) var(--space-lg) var(--space-lg);
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
  color: var(--white);
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--duration) var(--ease-out);
}

.gallery__item:hover .gallery__caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery__caption h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.gallery__caption p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.gallery__cta {
  display: block;
  text-align: center;
}


/* ═══════════════════════════════════════════════════════════════
   THE TERRACE — Major visual section
   ═══════════════════════════════════════════════════════════════ */

.terrace {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.terrace__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.terrace__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.terrace__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
  z-index: 2;
}

.terrace__content {
  position: relative;
  z-index: 3;
}

.terrace__text {
  max-width: 520px;
}

.terrace__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  margin-bottom: var(--space-xl);
}

.terrace__lead {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.terrace__body {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
}


/* ═══════════════════════════════════════════════════════════════
   THE STORY
   ═══════════════════════════════════════════════════════════════ */

.story {
  padding: var(--space-5xl) 0;
  background-color: var(--white-warm);
}

.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.story__image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

.story__body p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.85;
}


/* ═══════════════════════════════════════════════════════════════
   POUNTA ZEZA — Location
   ═══════════════════════════════════════════════════════════════ */

.location {
  padding: var(--space-5xl) 0;
  background-color: var(--cream);
}

.location__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background-color: var(--sand);
  margin-bottom: var(--space-3xl);
}

.location__card {
  padding: var(--space-2xl);
  background-color: var(--white);
  transition: background-color var(--duration-fast) var(--ease-out);
}

.location__card:hover {
  background-color: var(--cream);
}

.location__card-icon {
  width: 40px;
  height: 40px;
  color: var(--aegean);
  margin-bottom: var(--space-lg);
  opacity: 0.6;
}

.location__card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.location__card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ═══════════════════════════════════════════════════════════════
   DISCOVER SOUNION
   ═══════════════════════════════════════════════════════════════ */

.discover {
  padding: var(--space-5xl) 0;
  background-color: var(--white-warm);
}

.discover__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.discover__item {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--sand);
}

.discover__number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--sand);
  margin-bottom: var(--space-sm);
}

.discover__item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: var(--space-sm);
}

.discover__item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.discover__map {
  margin-top: var(--space-4xl);
}

.discover__map-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--sand);
}

.discover__map-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.discover__map-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--sand);
  margin-top: var(--space-lg);
}

.discover__map-info p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin: 0;
}

@media (max-width: 640px) {
  .discover__map-info {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}


/* ═══════════════════════════════════════════════════════════════
   BOOKING — Visual prototype
   ═══════════════════════════════════════════════════════════════ */

.booking {
  padding: var(--space-5xl) 0;
  background-color: var(--cream);
}

.booking__widget {
  max-width: 680px;
  margin: 0 auto;
  background-color: var(--white);
  padding: var(--space-2xl);
  box-shadow: 0 4px 40px rgba(0,0,0,0.04);
}

.booking__fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background-color: var(--sand);
  margin-bottom: var(--space-xl);
}

.booking__field {
  background-color: var(--white);
}

.booking__field label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
  padding: var(--space-md) var(--space-md) 0;
}

.booking__field input,
.booking__field select {
  width: 100%;
  padding: 0.75rem var(--space-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-dark);
  background-color: transparent;
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.booking__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a756e' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  padding-right: 2.5rem;
}

.booking__submit {
  width: 100%;
  margin-bottom: var(--space-md);
}

.booking__note {
  text-align: center;
}

.booking__note p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

.booking__pricing {
  border-top: 1px solid var(--sand);
  padding-top: var(--space-xl);
  margin-top: var(--space-xl);
}

.booking__pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  font-size: 0.9rem;
}

.booking__pricing-row--total {
  border-top: 1px solid var(--sand);
  margin-top: var(--space-sm);
  padding-top: var(--space-md);
  font-weight: 500;
  font-size: 1.05rem;
}

.booking__price {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.booking__pricing-row--total .booking__price {
  font-size: 1.2rem;
  color: var(--aegean-deep);
}


/* ═══════════════════════════════════════════════════════════════
   LODGIFY BOOKING WIDGET — integration overrides (scoped)
   Harmonizes the official portable search bar with the site's
   Mediterranean visual language. Touches nothing else. The widget's
   own official inline <style> (in the HTML) keeps control of its
   brand variables — only typography/spacing are aligned here.
   ═══════════════════════════════════════════════════════════════ */

.booking__widget #lodgify-search-bar {
  width: 100%;
}

/* Match the site's input typography inside the widget */
.booking__widget #lodgify-search-bar input,
.booking__widget #lodgify-search-bar select,
.booking__widget #lodgify-search-bar button {
  font-family: var(--font-body);
}

.booking__widget #lodgify-search-bar input,
.booking__widget #lodgify-search-bar select {
  color: var(--text-dark);
  font-weight: 300;
}

/* Labels: small-caps style consistent with .booking__field labels */
.booking__widget #lodgify-search-bar label {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* The wrapper card already provides the white card + soft shadow;
   soften the widget's own drop shadow so it doesn't double up */
.booking__widget #lodgify-search-bar {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

/* Mobile: let the widget stack naturally inside the card */
@media (max-width: 768px) {
  .booking__widget {
    padding: var(--space-xl) var(--space-md);
  }
}


/* ═══════════════════════════════════════════════════════════════
   BOOKING OPTIONS (Platform Links)
   ═══════════════════════════════════════════════════════════════ */

.platforms {
  padding: var(--space-3xl) 0;
  background-color: var(--white-warm);
  border-top: 1px solid var(--sand);
}

.platforms__inner {
  text-align: center;
}

.platforms__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.platforms__links {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
}

.platforms__link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--sand);
  transition: all var(--duration-fast) var(--ease-out);
}

.platforms__link:hover {
  border-color: var(--aegean);
  color: var(--aegean);
}

.platforms__arrow {
  transition: transform var(--duration-fast) var(--ease-out);
}

.platforms__link:hover .platforms__arrow {
  transform: translateX(4px);
}


/* ═══════════════════════════════════════════════════════════════
   REVIEWS
   ═══════════════════════════════════════════════════════════════ */

.reviews {
  padding: var(--space-5xl) 0;
  background-color: var(--white-warm);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.reviews__card {
  padding: var(--space-2xl);
  background-color: var(--white);
  border: 1px solid var(--sand);
}

.reviews__stars {
  font-size: 0.85rem;
  color: var(--terracotta);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
}

.reviews__quote {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: var(--space-lg);
}

.reviews__author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.reviews__name {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dark);
}

.reviews__source {
  font-size: 0.7rem;
  color: var(--text-muted);
}


/* ═══════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */

.contact {
  padding: var(--space-5xl) 0;
  background-color: var(--cream);
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
}

.contact__item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: var(--space-sm);
}

.contact__item a {
  font-size: 0.9rem;
  color: var(--aegean-deep);
}

.contact__item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}


/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

.footer {
  background-color: var(--aegean-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-4xl);
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.footer__brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: var(--space-lg);
}

.footer__location {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.footer__col h4 {
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: var(--space-lg);
}

.footer__col a {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-sm);
  transition: color var(--duration-fast) var(--ease-out);
}

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

.footer__bottom {
  text-align: center;
}

.footer__bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__legal {
  margin-top: var(--space-sm);
  font-size: 0.65rem !important;
  color: rgba(255, 255, 255, 0.2) !important;
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .intro__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature:nth-child(2n) {
    border-right: none;
  }

  .feature:nth-child(3) {
    border-right: 1px solid var(--sand);
  }

  .feature:nth-child(n+5) {
    border-bottom: none;
  }

  .gallery__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .gallery__item {
    grid-column: span 3;
  }

  .gallery__item--wide {
    grid-column: span 6;
  }

  .gallery__item--tall {
    grid-row: span 1;
  }

  .story__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

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

  .discover__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    background-color: var(--aegean-deep);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    transition: right var(--duration) var(--ease-out);
    z-index: 999;
  }

  .nav__links.open {
    right: 0;
  }

  .nav__links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
  }

  .nav__toggle {
    display: flex;
    z-index: 1001;
  }

  .hero__title {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

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

  .feature {
    border-right: none !important;
    border-bottom: 1px solid var(--sand) !important;
  }

  .feature:last-child {
    border-bottom: none !important;
  }

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

  .gallery__item,
  .gallery__item--wide,
  .gallery__item--tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery__img {
    min-height: 200px;
  }

  .gallery__caption {
    opacity: 1;
    transform: translateY(0);
  }

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

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

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

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

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

  .platforms__links {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }

  .footer__links {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .terrace {
    min-height: 70vh;
  }

  .photo-break--tall { height: 40vh; }
  .photo-break--medium { height: 35vh; }
  .photo-break--short { height: 28vh; }
}

@media (max-width: 480px) {
  .hero__scroll {
    display: none;
  }
}


/* ═══════════════════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════════════════ */

.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox__content {
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox__content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}
