/* ==========================================================================
   ASTARTE SIFNOS — Main Stylesheet
   A luxury boutique theme for Sifnos, Greece
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */

:root {
  /* Core palette */
  --color-dark:       #1A1A2E;
  --color-mid:        #2D2D44;
  --color-sand:       #E8DFD1;
  --color-cream:      #F5F0EB;
  --color-gold:       #C9A96E;
  --color-white:      #FFFFFF;
  --color-vanilla:    #F3E5C8;

  /* Text */
  --color-text:       #2C2C2C;
  --color-text-light: rgb(107, 106, 103);
  --color-accent:     rgb(172, 161, 107);
  --color-text-sand:  #E8DFD1;

  /* Typography */
  --font-heading: 'Source Serif 4', serif;
  --font-body:    'Fira Code', monospace;

  --font-hero:    clamp(4.5rem, 9vw, 8rem);
  --font-h1:      clamp(2.2rem, 4vw, 3.5rem);
  --font-h2:      clamp(1.6rem, 3vw, 2.5rem);
  --font-h3:      clamp(1.2rem, 2vw, 1.6rem);
  --font-body-size: clamp(0.95rem, 1.1vw, 1.1rem);
  --font-small:   clamp(0.8rem, 0.9vw, 0.9rem);
  --font-label:   0.7rem;

  /* Spacing */
  --space-section:  clamp(100px, 12vw, 160px);
  --space-block:    clamp(40px, 5vw, 70px);
  --space-element:  clamp(16px, 2vw, 24px);
  --content-max:    1200px;
  --content-narrow: 720px;
  --page-gutter:    clamp(24px, 5vw, 80px);

  /* Header */
  --header-height: 96px;

  /* Background pattern — transparent paper texture overlay */
  --bg-pattern: url('../images/pattern.png');

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
}


/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-body-size);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-cream);
  background-image: var(--bg-pattern);
  background-repeat: repeat;
  background-position: top left;
  background-size: auto;
  background-attachment: scroll;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background-color: var(--color-gold);
  color: var(--color-white);
}


/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-accent);
}

h1 { font-size: var(--font-h1); }
h2 { font-size: var(--font-h2); }
h3 { font-size: var(--font-h3); }

p {
  margin-bottom: 1.2em;
}

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

.section-label {
  font-family: var(--font-body);
  font-size: var(--font-label);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
  display: block;
}

.heading-italic {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
}


/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */

.container {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

.container--narrow {
  max-width: var(--content-narrow);
}

.container--wide {
  max-width: 1400px;
}

.section-padding {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.text-center {
  text-align: center;
}


/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */

.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--font-label);
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  background: transparent;
  padding: 14px 36px;
  transition: all 0.35s ease;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

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

.btn-primary--white {
  color: var(--color-white);
  border-color: var(--color-white);
}

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

/* Outlined CTA — matches the hero NEXT button.
   On cream/paper backgrounds the default is terracotta outline + text; on
   dark/image backgrounds apply .btn-secondary--light for cream outline + text.
   Both flip to filled terracotta with cream text on hover. */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  box-sizing: border-box;
  min-width: 120px;
  height: 46px;
  padding: 0 16px;
  border: 1px solid rgb(204, 116, 78);
  border-radius: 6px;
  background: transparent;
  color: rgb(204, 116, 78);
  font-family: "Fira Code", monospace;
  font-size: 17px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: rgb(204, 116, 78);
  border-color: rgb(204, 116, 78);
  color: rgb(255, 252, 235);
}

.btn-secondary--light {
  border-color: rgb(255, 252, 235);
  color: rgb(255, 252, 235);
}

.btn-secondary--light:hover,
.btn-secondary--light:focus-visible {
  background-color: rgb(204, 116, 78);
  border-color: rgb(204, 116, 78);
  color: rgb(255, 252, 235);
}


/* --------------------------------------------------------------------------
   6. Header — Transparent fixed header (Verina-style)
   -------------------------------------------------------------------------- */

/*
 * Layout:
 *   [ Sifnos | Astarte ]  [ Book Now ]  [ Apartments Ailia Villa Gallery Contact ]
 *
 * Behaviour:
 *   - Transparent background at page top (over hero), white text
 *   - On scroll: dark text (over cream content), still no solid background
 *   - Smooth color transitions between states
 */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 981;
  height: var(--header-height);
  background: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  color: var(--color-white);
  /* JS drives translateY directly on hero pages — no CSS transition on transform */
  will-change: transform;
}

/* Scrolled state — subtle paper-matching background + dark text */
.site-header--scrolled {
  background: rgba(245, 240, 235, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  color: var(--color-text);
}

/* Creamy pattern background always — every page, every state */
.site-header {
  background-color: rgb(245, 240, 235);
  background-image: var(--bg-pattern);
  background-repeat: repeat;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  color: var(--color-text);
}

/* Skirt: extends cream bg a few px below the header to hide any sub-pixel
   gap between the header's bottom and the hero boundary during the slide. */
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 4px;
  background-color: rgb(245, 240, 235);
  background-image: var(--bg-pattern);
  background-repeat: repeat;
  pointer-events: none;
}

.site-header__logo {
  color: var(--color-text);
}

.site-header__nav-link {
  color: rgb(153, 152, 148);
}

.site-header__nav-link:hover {
  color: rgb(204, 116, 78);
}


.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  padding: 0 var(--page-gutter);
  max-width: 100%;
  gap: 24px;
}

/* Left group: Sifnos link + Astarte logo */
.site-header__left {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-self: start;
}

/* Astarte text logo */
.site-header__logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 300;
  letter-spacing: 0.5em;
  color: var(--color-text);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  padding-left: 0.5em; /* optical balance for tracking */
  transition: color 0.4s ease;
}

.site-header--scrolled .site-header__logo {
  color: var(--color-text);
}

/* Center: Book Now button */
.site-header__book-btn {
  position: relative;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Fira Code", monospace;
  font-size: 15px;
  line-height: 15px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: uppercase;
  color: rgb(204, 116, 78);
  padding: 11px 28px;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  border: 0;
}

.site-header__book-circle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.site-header__book-btn-label {
  position: relative;
  z-index: 1;
}

.site-header__book-btn:hover .site-header__book-circle {
  transform: scale(1.04);
}

.site-header--scrolled .site-header__book-btn,
.home.is-front-page .site-header__book-btn {
  color: rgb(204, 116, 78);
}

/* Navigation links */
.site-header__nav {
  display: none;
  align-items: center;
  justify-self: end;
  height: 100%;
  gap: 0;
}

.site-header__nav-link {
  font-family: "Fira Code", monospace;
  font-size: 15px;
  line-height: 15px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: uppercase;
  color: rgb(153, 152, 148);
  text-decoration: none;
  padding: 3px 13px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.site-header__nav-link:hover {
  color: rgb(204, 116, 78);
}

.site-header__lang {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-left: 1.5rem;
  font-family: "Fira Code", monospace;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-header__lang-link {
  color: rgb(153, 152, 148);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header__lang-link:hover {
  color: rgb(204, 116, 78);
}

.site-header__lang-link.is-active {
  color: rgb(204, 116, 78);
  font-weight: 500;
}

.site-header__lang-sep {
  color: rgba(153, 152, 148, 0.5);
}

.site-header--scrolled .site-header__nav-link {
  color: rgb(153, 152, 148);
}

.site-header--scrolled .site-header__nav-link:hover {
  color: rgb(204, 116, 78);
}

/* Dropdown container (for Apartments) */
.site-header__nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.site-header__nav-item--dropdown > .site-header__nav-link::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.3s ease;
  opacity: 0.6;
}

.site-header__nav-item--dropdown:hover > .site-header__nav-link::after,
.site-header__nav-item--dropdown:focus-within > .site-header__nav-link::after {
  transform: translateY(1px) rotate(225deg);
  opacity: 1;
}

/* Dropdown panel */
.site-header__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(245, 240, 235, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  border-top: 1px solid rgba(201, 169, 110, 0.4);
}

.site-header__nav-item--dropdown:hover .site-header__dropdown,
.site-header__nav-item--dropdown:focus-within .site-header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Drop-UP when menu sits at hero bottom (JS adds .site-header--hero-bottom) */
.site-header--hero-bottom .site-header__dropdown {
  top: auto;
  bottom: 100%;
  transform: translateX(-50%) translateY(-8px);
  border-top: none;
  border-bottom: 1px solid rgba(201, 169, 110, 0.4);
  box-shadow: 0 -14px 40px rgba(0, 0, 0, 0.12);
}

.site-header--hero-bottom .site-header__nav-item--dropdown:hover .site-header__dropdown,
.site-header--hero-bottom .site-header__nav-item--dropdown:focus-within .site-header__dropdown {
  transform: translateX(-50%) translateY(0);
}

/* Flip the arrow indicator upward */
.site-header--hero-bottom .site-header__nav-item--dropdown > .site-header__nav-link::after {
  transform: translateY(2px) rotate(225deg);
}

.site-header--hero-bottom .site-header__nav-item--dropdown:hover > .site-header__nav-link::after,
.site-header--hero-bottom .site-header__nav-item--dropdown:focus-within > .site-header__nav-link::after {
  transform: translateY(-1px) rotate(45deg);
}

.site-header__dropdown-link {
  display: block;
  padding: 11px 28px;
  font-family: "Fira Code", monospace;
  font-size: 15px;
  line-height: 15px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: uppercase;
  color: rgb(153, 152, 148);
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease, background-color 0.3s ease;
}

.site-header__dropdown-link:hover {
  color: rgb(204, 116, 78);
  padding-left: 34px;
  background-color: rgba(204, 116, 78, 0.08);
}

/* Hamburger (mobile/tablet) */
.site-header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  gap: 6px;
  justify-self: end;
}

.site-header__hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: all 0.3s ease;
}

.site-header__hamburger--open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.site-header__hamburger--open span:nth-child(2) {
  opacity: 0;
}

.site-header__hamburger--open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Mobile: header becomes a BOTTOM bar (Verina-style) -------------- */
/* Hero content: drop the optical-centering pull on any viewport that's too
   narrow or short to absorb it without clipping the title off the top. */
@media (max-width: 1023px), (max-height: 820px) {
  .hero__content {
    transform: none !important;
  }
  .hero__next {
    margin-top: 1.25rem !important;
  }
}

@media (max-width: 1023px) {
  .site-header {
    position: fixed;
    top: auto;
    bottom: 0;
    height: 60px;
    background-color: var(--color-cream);
    background-image: var(--bg-pattern);
    color: var(--color-text);
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.08);
    transition: none;
    transform: none !important; /* override hero-bottom offset on mobile */
  }

  /* On mobile the scroll state is irrelevant — bar is always cream */
  .site-header--scrolled {
    background-color: var(--color-cream);
    background-image: var(--bg-pattern);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: var(--color-text);
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.08);
  }

  .site-header__inner {
    display: flex;
    grid-template-columns: none;
    height: 100%;
    padding: 0;
    gap: 0;
    align-items: stretch;
  }

  .site-header__left {
    display: flex;
    align-items: center;
    padding: 0 18px;
    border-left: 1px solid rgba(0, 0, 0, 0.15);
    margin-left: 16px;
    gap: 0;
  }

  .site-header__logo {
    color: var(--color-text);
    font-size: 1.05rem;
    letter-spacing: 0.35em;
    padding-left: 0;
  }

  .site-header__book-btn {
    display: flex;
    align-items: center;
    border: none;
    border-left: 1px solid rgba(0, 0, 0, 0.15);
    padding: 0 20px;
    color: var(--color-gold);
    background: transparent;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    line-height: 1;
  }

  .site-header__book-btn:hover {
    background: transparent;
    color: var(--color-gold);
    border-color: rgba(0, 0, 0, 0.15);
  }

  /* Hide the desktop nav entirely on mobile */
  .site-header__nav {
    display: none !important;
  }

  .site-header__hamburger {
    margin-left: auto;
    margin-right: 16px;
    color: var(--color-text);
    align-self: center;
  }

  /* Add bottom padding so content/footer isn't hidden behind the fixed bar */
  body {
    padding-bottom: 60px;
  }
}


/* --------------------------------------------------------------------------
   7. Mobile Menu
   -------------------------------------------------------------------------- */

/* Full-screen cream overlay menu (Verina-style) */
.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: var(--color-cream);
  background-image: var(--bg-pattern);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 0;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-smooth);
  overflow-y: auto;
}

.mobile-menu--open {
  transform: translateY(0);
}

.mobile-menu__overlay {
  display: none; /* full-screen menu, no separate overlay needed */
}

/* Top bar — mirrors the bottom bar when menu is closed */
.mobile-menu__topbar {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  height: 60px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.mobile-menu__logo {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-text);
  padding-left: 18px;
  padding-right: 18px;
  border-left: 1px solid rgba(0, 0, 0, 0.15);
  text-decoration: none;
  line-height: 60px;
}

.mobile-menu__book {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  padding: 0 20px;
  border-left: 1px solid rgba(0, 0, 0, 0.15);
  line-height: 60px;
  text-decoration: none;
  align-self: stretch;
}

.mobile-menu__close {
  justify-self: end;
  font-size: 2rem;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 8px 12px;
  font-family: inherit;
}

.mobile-menu__close:hover {
  color: var(--color-gold);
}

/* Language switcher */
.mobile-menu__lang {
  display: flex;
  gap: 28px;
  padding: 40px 28px 8px;
  flex-shrink: 0;
}

.mobile-menu__lang-link {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(44, 44, 44, 0.4);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-menu__lang-link--active,
.mobile-menu__lang-link:hover {
  color: var(--color-text);
}

/* Vertical nav list */
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 28px;
  flex-grow: 1;
}

.mobile-menu__link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6b6a67;
  text-decoration: none;
  padding: 18px 0 18px 20px;
  border-left: 1px solid rgba(0, 0, 0, 0.18);
  margin-left: 4px;
  transition: color 0.3s ease, border-color 0.3s ease, padding-left 0.3s ease;
}

.mobile-menu__link:hover,
.mobile-menu__link:focus {
  color: var(--color-gold);
  border-left-color: var(--color-gold);
  padding-left: 26px;
}

/* Contact footer */
.mobile-menu__contact {
  padding: 24px 28px 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-menu__contact a {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-menu__contact a:hover {
  color: var(--color-gold);
}


/* --------------------------------------------------------------------------
   8. Hero Sections
   -------------------------------------------------------------------------- */

/* Full-screen hero (homepage) — header overlays the top */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__bg picture,
.hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 46, 0.45) 0%,
    rgba(26, 26, 46, 0.35) 40%,
    rgba(26, 26, 46, 0.6) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-vanilla);
  padding: 0 var(--page-gutter);
  transform: translateY(calc(-1 * var(--header-height) / 2));
}

.hero__title {
  font-family: "Italiana", serif;
  font-size: var(--font-hero);
  font-weight: 400;
  letter-spacing: 12px;
  text-transform: uppercase;
  color: var(--color-vanilla);
  margin-bottom: 2rem;
}

.hero__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero__link {
  font-family: 'Rock Salt', cursive;
  font-size: clamp(0.75rem, 1vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--color-vanilla);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.hero__link:hover {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

.hero__tagline {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(243, 229, 200, 0.85);
  margin-bottom: 0;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  text-decoration: none;
  animation: bounce 2s ease infinite;
}

.hero__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  box-sizing: border-box;
  min-width: 120px;
  height: 46px;
  margin-top: 13.5rem;
  padding: 0 16px;
  border: 1px solid rgb(255, 252, 235);
  border-radius: 6px;
  background: transparent;
  color: rgb(255, 252, 235);
  font-family: "Fira Code", monospace;
  font-size: 17px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.hero__next svg {
  display: block;
}

.hero__next:hover,
.hero__next:focus-visible {
  background-color: rgb(204, 116, 78);
  border-color: rgb(204, 116, 78);
  color: rgb(255, 252, 235);
}

.hero__scroll-text {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.hero__scroll-arrow {
  font-size: 1.2rem;
  display: block;
}

.hero__location {
  position: absolute;
  top: 30px;
  left: var(--page-gutter);
  z-index: 2;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(243, 229, 200, 0.7);
}

/* Page hero (sub-pages, 70vh) */
.page-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Header sits at the hero's bottom on desktop (see main.js); reserve that
   space so flex-centering matches the *visible* area above the header. */
@media (min-width: 1024px) {
  .page-hero {
    padding-bottom: var(--header-height);
  }
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 46, 0.1) 0%,
    rgba(26, 26, 46, 0.6) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--page-gutter);
  width: 100%;
}

.page-hero__label {
  font-family: var(--font-body);
  font-size: var(--font-label);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
  display: block;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5.5vw, 4.75rem);
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: 0;
}

.page-hero__subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.75rem;
}


/* --------------------------------------------------------------------------
   9. Welcome / Text Sections
   -------------------------------------------------------------------------- */

.welcome {
  text-align: center;
}

.welcome h2 {
  margin-bottom: var(--space-element);
}

.welcome p {
  color: var(--color-text-light);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   10. Property Cards (Home Page)
   -------------------------------------------------------------------------- */

.property-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-block);
  align-items: center;
}

.property-card__image {
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.property-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-card:hover .property-card__image img {
  transform: none;
}

.property-card__content {
  padding: 0;
}

.property-card__title {
  font-size: var(--font-h2);
  margin-bottom: 0.5rem;
}

.property-card__subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-style: italic;
  font-weight: 300;
  color: var(--color-text-light);
  margin-bottom: var(--space-element);
}

.property-card__text {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: var(--space-element);
}

.property-card__link {
  display: inline-flex;
}


/* --------------------------------------------------------------------------
   11. Mood Strip
   -------------------------------------------------------------------------- */

.mood-strip {
  width: 100%;
  height: 50vh;
  min-height: 300px;
  overflow: hidden;
  position: relative;
  --mood-fade: clamp(40px, 9vh, 90px);
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 var(--mood-fade),
    #000 calc(100% - var(--mood-fade)),
    transparent 100%
  );
          mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 var(--mood-fade),
    #000 calc(100% - var(--mood-fade)),
    transparent 100%
  );
}

.mood-strip__bg {
  width: 100%;
  height: 120%;
  position: absolute;
  top: -10%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* --------------------------------------------------------------------------
   12. Quote Section
   -------------------------------------------------------------------------- */

.quote-section {
  text-align: center;
}

.quote-section__line {
  width: 60px;
  height: 1px;
  background: var(--color-gold);
  margin: 0 auto 2rem;
}

.quote-section__text {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--color-text);
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

.quote-section__author {
  font-family: var(--font-body);
  font-size: var(--font-small);
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--color-text-light);
}


/* --------------------------------------------------------------------------
   13. Suite Grid (Apartments Overview)
   -------------------------------------------------------------------------- */

.suite-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-block);
}

.suite-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.suite-card__image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin-bottom: var(--space-element);
}

.suite-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s var(--ease-smooth);
}

/* Per-suite framing: when the source image's subject sits in the lower third,
   pin the crop to the bottom so the pergola/window frame doesn't dominate. */
.suite-card--pyxis-iii .suite-card__image img,
.suite-card--vela-v .suite-card__image img {
  object-position: center bottom !important;
}

.suite-card:hover .suite-card__image img {
  transform: scale(1.05);
}

.suite-card__name {
  font-size: var(--font-h3);
  margin-bottom: 0.4rem;
}

.suite-card__tagline {
  font-family: var(--font-heading);
  font-size: var(--font-small);
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: 0.8rem;
}

.suite-card__link {
  display: inline-flex;
}


/* --------------------------------------------------------------------------
   14. Amenities
   -------------------------------------------------------------------------- */

.amenities-list {
  columns: 1;
  gap: 2rem;
}

.amenities-list li {
  font-size: var(--font-body-size);
  color: var(--color-text-light);
  padding: 0.5em 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  break-inside: avoid;
}


/* --------------------------------------------------------------------------
   15. CTA Section
   -------------------------------------------------------------------------- */

.cta-section {
  background-color: #6b6a67;
  background-image: url('../images/footer-pattern.png');
  background-repeat: repeat;
  text-align: center;
  padding: var(--space-block) var(--page-gutter);
}

.cta-section__heading {
  font-size: var(--font-h2);
  color: #fffceb;
  margin-bottom: var(--space-element);
}

/* Book Now button — matches the hero NEXT button spec
   (cream outline + text on dark/pattern bg, terracotta on hover). */
.cta-section .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  box-sizing: border-box;
  min-width: 120px;
  height: 46px;
  padding: 0 16px;
  border: 1px solid rgb(255, 252, 235);
  border-radius: 6px;
  background: transparent;
  color: rgb(255, 252, 235);
  font-family: "Fira Code", monospace;
  font-size: 17px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.cta-section .btn-primary:hover,
.cta-section .btn-primary:focus-visible {
  background-color: rgb(204, 116, 78);
  border-color: rgb(204, 116, 78);
  color: rgb(255, 252, 235);
}


/* --------------------------------------------------------------------------
   16. Suite Detail Page
   -------------------------------------------------------------------------- */

.suite-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.suite-gallery__item {
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.suite-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
}

.suite-gallery__item:hover img {
  transform: scale(1.05);
}

.suite-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-element);
}

.suite-nav__item {
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.suite-nav__image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.suite-nav__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
}

.suite-nav__item:hover .suite-nav__image img {
  transform: scale(1.05);
}

.suite-nav__name {
  font-family: var(--font-heading);
  font-size: var(--font-h3);
  font-weight: 300;
}


/* --------------------------------------------------------------------------
   17. Sifnos Page
   -------------------------------------------------------------------------- */

.island-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-block);
  align-items: center;
}

.island-section__image {
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.island-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
}

.island-section:hover .island-section__image img {
  transform: scale(1.03);
}

.island-section__content h3 {
  margin-bottom: 0.75rem;
}

.island-section__content p {
  color: var(--color-text-light);
  line-height: 1.8;
}


/* --------------------------------------------------------------------------
   18. Gallery Page
   -------------------------------------------------------------------------- */

.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: var(--space-block);
  flex-wrap: wrap;
}

.gallery-filter {
  font-family: var(--font-body);
  font-size: var(--font-label);
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-light);
  background: none;
  border: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-filter:hover,
.gallery-filter--active {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.gallery-grid__item {
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 2;
  transition: opacity 0.4s ease;
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
}

.gallery-grid__item:hover img {
  transform: scale(1.05);
}

.gallery-grid__item--hidden {
  display: none;
}


/* --------------------------------------------------------------------------
   19. Lightbox
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
}

.lightbox__image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox__close:hover {
  color: var(--color-gold);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  padding: 20px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox__nav:hover {
  color: var(--color-gold);
}

.lightbox__nav--prev {
  left: 10px;
}

.lightbox__nav--next {
  right: 10px;
}

.lightbox__spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--color-gold, #c9a96a);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lightbox--loading .lightbox__spinner {
  opacity: 1;
  visibility: visible;
  animation: lightbox-spin 0.9s linear infinite;
}

.lightbox--loading .lightbox__image {
  opacity: 0.25;
  transition: opacity 0.2s ease;
}

@keyframes lightbox-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox--loading .lightbox__spinner {
    animation: none;
  }
}


/* --------------------------------------------------------------------------
   20. Contact Page
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-block);
}

.contact-form label {
  display: block;
  font-size: var(--font-label);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 0;
  font-size: var(--font-body-size);
  font-weight: 300;
  color: var(--color-text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-sand);
  outline: none;
  transition: border-color 0.3s ease;
  margin-bottom: 2rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--color-gold);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__message {
  font-size: var(--font-small);
  margin-top: 1rem;
  padding: 10px 0;
}

.contact-form__message--success {
  color: #5a8a5a;
}

.contact-form__message--error {
  color: #a85a5a;
}

.contact-info h3 {
  margin-bottom: var(--space-element);
}

.contact-info__item {
  margin-bottom: 1.5rem;
}

.contact-info__label {
  font-size: var(--font-label);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.3rem;
  display: block;
}

.contact-info__value {
  color: var(--color-text-light);
  line-height: 1.6;
}

.contact-info__value a {
  transition: color 0.3s ease;
}

.contact-info__value a:hover {
  color: var(--color-gold);
}

.contact-map {
  width: 100%;
  height: 300px;
  margin-top: var(--space-block);
  filter: saturate(0.4) contrast(1.1);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/* --------------------------------------------------------------------------
   21. Footer
   -------------------------------------------------------------------------- */

.site-footer__quote {
  background-color: var(--color-cream);
  background-image: var(--bg-pattern);
  background-repeat: repeat;
  text-align: center;
  padding: var(--space-section) var(--page-gutter);
}

.site-footer__quote-line {
  width: 60px;
  height: 1px;
  background: var(--color-gold);
  margin: 0 auto 2rem;
}

.site-footer__quote-text {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--color-text);
  max-width: 650px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}

.site-footer__quote-author {
  font-family: var(--font-body);
  font-size: var(--font-small);
  color: var(--color-text-light);
  letter-spacing: 0.1em;
}

.site-footer__main {
  position: relative;
  background-color: #6b6a67;
  background-image: url('../images/footer-pattern.png');
  background-repeat: repeat;
  color: #fffceb;
  padding: 110px var(--page-gutter) 40px;
  font-family: 'Fira Code', monospace;
  font-size: 15px;
  line-height: 1.4;
}

.site-footer__inner {
  max-width: 1550px;
  margin: 0 auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.site-footer__col--info {
  max-width: 280px;
}

.site-footer__logo {
  font-family: 'Source Serif 4', serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 6px;
  color: #fffceb;
  text-transform: uppercase;
  display: block;
  margin-bottom: 28px;
  text-decoration: none;
}

.site-footer__bold {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.site-footer__line {
  margin-bottom: 4px;
}

.site-footer__line a,
.site-footer__address a {
  color: #fffceb;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-footer__line a:hover,
.site-footer__address a:hover {
  opacity: 0.65;
}

.site-footer__address {
  margin-top: 14px;
  line-height: 1.5;
}

.site-footer__heading {
  font-family: 'Source Serif 4', serif;
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
  color: #fffceb;
  text-transform: none;
  margin: 0 0 20px;
}

.site-footer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.site-footer__menu a {
  color: #fffceb;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-footer__menu a:hover {
  opacity: 0.65;
}

.site-footer__reviews {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.site-footer__stars {
  position: relative;
  display: inline-block;
  font-size: 22px;
  letter-spacing: 4px;
  line-height: 1;
  width: max-content;
}

.site-footer__stars-bg {
  color: rgba(255, 252, 235, 0.25);
}

.site-footer__stars-fg {
  color: var(--color-gold);
  position: absolute;
  inset: 0;
  overflow: hidden;
  white-space: nowrap;
}

.site-footer__rating-value {
  font-weight: 700;
  letter-spacing: 0.05em;
}

.site-footer__rating-count {
  font-weight: 400;
  opacity: 0.7;
  margin-left: 4px;
}

.site-footer__review-cta {
  display: inline-block;
  margin-top: 4px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 252, 235, 0.5);
  color: #fffceb;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.site-footer__review-cta:hover,
.site-footer__review-cta:focus-visible {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: #2a2a2a;
}

.site-footer__bottom-area {
  margin-top: 60px;
}

.site-footer__copy {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-footer__small {
  font-size: 13px;
  margin: 10px 0;
  color: #fffceb;
}

.site-footer__legal {
  font-size: 13px;
  opacity: 0.7;
}

.site-footer__legal a {
  color: #fffceb;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-footer__legal a:hover {
  opacity: 1;
  text-decoration: underline;
}


/* --------------------------------------------------------------------------
   22. Scroll Animations
   -------------------------------------------------------------------------- */

/* Motion fully disabled per user preference — no scroll/entrance animations.
   Hover/focus transitions on buttons and links are kept (user-initiated). */

.reveal,
.reveal--delay-1,
.reveal--delay-2,
.reveal--delay-3,
.reveal--delay-4 {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

/* Breathing room between stacked reveal blocks in content sections */
.section-padding .reveal + .reveal,
.section-padding > .reveal + .reveal {
  margin-top: var(--space-block);
}

/* Generous cushion between the page hero and the first content section */
.page-hero + .section-padding,
.page-hero + section.section-padding {
  padding-top: calc(var(--space-section) + var(--space-block));
}

/* Elementor entrance animations — keep elements visible, kill keyframes */
.elementor-invisible {
  visibility: visible !important;
  opacity: 1 !important;
}

.elementor-element.animated,
.elementor-element[data-settings*="animation"] {
  animation: none !important;
  animation-name: none !important;
  animation-duration: 0s !important;
}

/* Hero scroll-down bounce */
.hero__next,
.hero__scroll,
.hero__scroll-text {
  animation: none !important;
}

/* Mood-strip parallax (overrides inline JS transform) */
.mood-strip__bg {
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__scroll {
    animation: none;
  }

  .mood-strip__bg {
    position: relative;
    top: 0;
    height: 100%;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}


/* --------------------------------------------------------------------------
   23. Keyframes
   -------------------------------------------------------------------------- */

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-8px);
  }
  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}


/* --------------------------------------------------------------------------
   24. Villa Details
   -------------------------------------------------------------------------- */

.villa-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-element);
  margin: var(--space-block) 0;
}

.villa-detail {
  padding: var(--space-element);
  background: var(--color-sand);
}

.villa-detail__label {
  font-size: var(--font-label);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  display: block;
}

.villa-detail__value {
  font-family: var(--font-heading);
  font-size: var(--font-h3);
  font-weight: 300;
}


/* --------------------------------------------------------------------------
   25. Responsive — Tablet (768px+)
   -------------------------------------------------------------------------- */

@media (min-width: 768px) {
  .site-header__location {
    display: inline;
  }

  .property-card {
    grid-template-columns: 1.2fr 1fr;
  }

  .property-card--reverse {
    direction: rtl;
  }

  .property-card--reverse > * {
    direction: ltr;
  }

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

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

  .suite-nav {
    grid-template-columns: repeat(4, 1fr);
  }

  .island-section {
    grid-template-columns: 1fr 1fr;
  }

  .island-section--reverse {
    direction: rtl;
  }

  .island-section--reverse > * {
    direction: ltr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .amenities-list {
    columns: 2;
  }

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

  .site-footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .villa-details {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-map {
    height: 400px;
  }
}


/* --------------------------------------------------------------------------
   26. Responsive — Desktop (1024px+)
   -------------------------------------------------------------------------- */

@media (min-width: 1024px) {
  .site-header__nav {
    display: flex;
  }

  .site-header__hamburger {
    display: none;
  }

  .property-card {
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(40px, 6vw, 80px);
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .site-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.1fr 1fr;
  }
}


/* --------------------------------------------------------------------------
   27. Responsive — Wide (1400px+)
   -------------------------------------------------------------------------- */

@media (min-width: 1400px) {
  .hero__title {
    letter-spacing: 16px;
  }
}


/* --------------------------------------------------------------------------
   28. Utility Classes
   -------------------------------------------------------------------------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.bg-dark {
  background-color: var(--color-dark);
  color: var(--color-text-sand);
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3 {
  color: var(--color-white);
}

.bg-sand {
  background-color: var(--color-sand);
}

/* WordPress alignment classes */
.alignwide {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}


/* --------------------------------------------------------------------------
   29. Elementor Integration
   -------------------------------------------------------------------------- */

/* Remove Elementor default spacing on Astarte full-width widgets */
.elementor-widget-astarte-hero .elementor-widget-container,
.elementor-widget-astarte-page-hero .elementor-widget-container,
.elementor-widget-astarte-mood-strip .elementor-widget-container,
.elementor-widget-astarte-cta-banner .elementor-widget-container {
  padding: 0;
  margin: 0;
}

/* Ensure Elementor sections don't add unwanted padding for full-width widgets */
.elementor-section-full_width > .elementor-container {
  max-width: 100%;
}

/* Elementor page — no extra spacing on main content area */
.elementor-page .site-main {
  padding: 0;
}

/* Allow hero/mood/CTA to break out of boxed Elementor sections */
.elementor-widget-astarte-hero .hero,
.elementor-widget-astarte-page-hero .page-hero,
.elementor-widget-astarte-mood-strip .mood-strip,
.elementor-widget-astarte-cta-banner .cta-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  position: relative;
}

/* Boxed content widgets — respect container max-width */
.elementor-section-boxed .elementor-widget-astarte-section-heading,
.elementor-section-boxed .elementor-widget-astarte-property-card,
.elementor-section-boxed .elementor-widget-astarte-island-section,
.elementor-section-boxed .elementor-widget-astarte-quote-block,
.elementor-section-boxed .elementor-widget-astarte-suite-grid,
.elementor-section-boxed .elementor-widget-astarte-gallery-grid,
.elementor-section-boxed .elementor-widget-astarte-amenities-list,
.elementor-section-boxed .elementor-widget-astarte-villa-details,
.elementor-section-boxed .elementor-widget-astarte-contact-form,
.elementor-section-boxed .elementor-widget-astarte-contact-info {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

/* Elementor editor — show reveal elements without animation */
.elementor-editor-active .reveal {
  opacity: 1;
  transform: none;
}


/* --------------------------------------------------------------------------
   Brand typography — global overrides (theme + Elementor)
   Headings: Source Serif 4, rgb(172, 161, 107)
   Body:    Fira Code,    rgb(107, 106, 103)
   -------------------------------------------------------------------------- */

body,
p,
li,
blockquote,
.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.elementor-widget-heading .elementor-heading-title + p {
  font-family: "Fira Code", monospace;
  color: rgb(107, 106, 103);
}

.elementor-heading-title,
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3,
.elementor-widget-heading h4,
.elementor-widget-heading h5,
.elementor-widget-heading h6 {
  font-family: "Source Serif 4", serif !important;
  color: rgb(172, 161, 107) !important;
}

/* Gallery filter / mini nav: any "Inter" or Helvetica Neue usage → Fira Code */
.gallery-filter,
.gallery-filter *,
.filter,
.filter * {
  font-family: "Fira Code", monospace !important;
}

/* Justify descriptive paragraph copy site-wide (skip hero taglines & labels) */
.site-main p,
.elementor-widget-text-editor p {
  text-align: justify;
  hyphens: auto;
}

.hero__tagline,
.page-hero__subtitle,
.section-label,
.site-main .section-label,
.site-main p.hero__tagline,
.site-main p.page-hero__subtitle {
  text-align: center;
}


/* --------------------------------------------------------------------------
   28. Booking Modal
   -------------------------------------------------------------------------- */

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.booking-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  cursor: pointer;
}

.booking-modal__panel {
  position: relative;
  max-width: 460px;
  width: 100%;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 36px 40px 32px;
  background-color: rgb(245, 240, 235);
  background-image: var(--bg-pattern);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  text-align: center;
  color: var(--color-text);
  transform: translateY(12px);
  transition: transform 0.25s ease;
}

.booking-modal.is-open .booking-modal__panel {
  transform: translateY(0);
}

.booking-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.booking-modal__close:hover,
.booking-modal__close:focus-visible {
  opacity: 1;
}

.booking-modal__brand {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 300;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1;
  padding-left: 0.5em;
  margin-bottom: 18px;
}

.booking-modal__title {
  font-family: "Italiana", serif;
  font-size: clamp(2rem, 4vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--color-text);
  margin: 0 0 4px;
}

.booking-modal__subtitle {
  font-family: "Fira Code", monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.55);
  margin: 0 0 14px;
}

.booking-modal__stone {
  display: block;
  margin: 0 auto 22px;
  width: auto;
  height: 70px;
  object-fit: contain;
}

.booking-modal__section {
  margin-top: 18px;
}

.booking-modal__section:first-of-type {
  margin-top: 6px;
}

.booking-modal__label {
  display: block;
  font-family: "Fira Code", monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 12px;
}

.booking-modal__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.booking-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 100px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid rgb(204, 116, 78);
  border-radius: 6px;
  background: transparent;
  color: rgb(204, 116, 78);
  font-family: "Fira Code", monospace;
  font-size: 15px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.booking-modal__btn:hover,
.booking-modal__btn:focus-visible {
  background-color: rgb(204, 116, 78);
  color: rgb(255, 252, 235);
}

@media (max-width: 480px) {
  .booking-modal__panel {
    padding: 30px 22px 26px;
  }
  .booking-modal__btn {
    min-width: 90px;
    height: 38px;
    font-size: 13px;
    padding: 0 12px;
  }
}
