/* ============================================================
   GREEN HOUSE — EFORIE NORD
   Design system: coastal luxury, airy minimalism
   Palette: salt-white, deep ocean, warm sand, soft sage
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --ocean:    #1A2E3B;   /* deep navy — headings, nav */
  --ocean-md: #2C4A5E;   /* mid ocean — cards bg */
  --sage:     #7A9E8E;   /* muted sage — accents, labels */
  --sand:     #C8A97E;   /* warm gold — highlights, lines */
  --cream:    #F8F5EF;   /* warm white — page bg */
  --white:    #FFFFFF;
  --muted:    #8A8A8A;
  --border:   #E8E3DA;
  --shadow:   rgba(26,46,59,.08);

  --font-display: 'Georgia', 'Times New Roman', serif;
  --font-body:    'Helvetica Neue', 'Arial', sans-serif;

  --max-w: 1200px;
  --radius: 4px;
  --transition: .35s cubic-bezier(.4,0,.2,1);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--cream);
  color: var(--ocean);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── CONTAINER ───────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: normal; line-height: 1.25; }
h1 { font-size: clamp(36px, 6vw, 72px); letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 4vw, 48px); letter-spacing: -.015em; }
h3 { font-size: clamp(20px, 2.5vw, 28px); }

.section-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}
.section-title { font-family: var(--font-display); color: var(--ocean); }
.section-title em { font-style: italic; color: var(--sage); }
.section-divider {
  width: 40px; height: 1px;
  background: var(--sand);
  margin: 24px 0;
}

/* ── BUTTON ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--ocean);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn:hover {
  background: transparent;
  color: var(--ocean);
  border-color: var(--ocean);
}
.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: var(--cream);
  color: var(--ocean);
  border-color: var(--cream);
}

/* ── HEADER / NAV ────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: var(--white);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--border);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img { height: 44px; width: auto; }
.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--cream);
  letter-spacing: .04em;
  transition: color var(--transition);
}
.header.scrolled .logo-text { color: var(--ocean); }

.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--sand);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a:hover { color: var(--cream); }
.header.scrolled .nav a { color: var(--muted); }
.header.scrolled .nav a:hover { color: var(--ocean); }

/* Dropdown */
.nav-item { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), top var(--transition);
  box-shadow: 0 8px 32px var(--shadow);
}
.nav-item:hover .dropdown {
  opacity: 1;
  pointer-events: auto;
  top: calc(100% + 12px);
}
.dropdown a {
  display: block;
  padding: 12px 20px;
  font-size: 10px;
  letter-spacing: .15em;
  color: var(--ocean) !important;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--cream); }
.dropdown a::after { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--cream);
  transition: all var(--transition);
}
.header.scrolled .nav-toggle span { background: var(--ocean); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--ocean);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 99;
  }
  .nav.open { display: flex; }
  .nav a { font-size: 12px; color: var(--cream) !important; }
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: center;
  }
  .dropdown a { color: rgba(255,255,255,.6) !important; font-size: 10px; }
  .dropdown a:hover { background: transparent; color: var(--cream) !important; }
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;

    background:
    linear-gradient(
        180deg,
        rgba(18,32,44,.20) 0%,
        rgba(18,32,44,.10) 35%,
        rgba(18,32,44,.45) 75%,
        rgba(18,32,44,.75) 100%
    ),
    url("/../assets/img/hero-bg.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,22,30,.55) 0%, rgba(10,22,30,.3) 50%, rgba(10,22,30,.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--cream);
  padding: 0 20px;
}
.hero-eyebrow {
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 20px;
  font-weight: 600;
}
.hero-content h1 {
  color: var(--cream);
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: -.02em;
}
.hero-tagline {
  margin-top: 16px;
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(248,245,239,.7);
  letter-spacing: .1em;
  font-family: var(--font-display);
  font-style: italic;
}
.hero-line {
  width: 1px; height: 60px;
  background: rgba(200,169,126,.5);
  margin: 28px auto;
}
.hero-cta { margin-top: 0; }
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(248,245,239,.5);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  z-index: 1;
}
.scroll-line {
  width: 1px; height: 40px;
  background: rgba(200,169,126,.4);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── PAGE HERO (inner pages) ──────────────────────────────── */
.page-hero {
  padding: 160px 0 80px;
  background: var(--ocean);
  color: var(--cream);
}
.page-hero .section-title { color: var(--cream); }
.page-hero .section-divider { background: var(--sand); }
.page-hero .section-label { color: var(--sand); }

/* ── PROPERTIES SECTION (home) ─────────────────────────────── */
.properties-section { padding: 100px 0; }
.properties-intro { text-align: center; margin-bottom: 70px; }
.properties-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
@media (max-width: 768px) {
  .properties-grid { grid-template-columns: 1fr; }
}
.property-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.property-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--ocean-md);
  transition: transform .6s ease;
}
.property-card:hover .property-card-img { transform: scale(1.04); }
.property-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,30,.9) 0%, rgba(10,22,30,.2) 60%);
}
.property-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px 40px;
  color: var(--cream);
}
.property-number {
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 10px;
}
.property-card-content h2 {
  font-size: clamp(24px, 3vw, 36px);
  color: var(--cream);
  margin-bottom: 12px;
}
.property-card-content p {
  font-size: 14px;
  color: rgba(248,245,239,.7);
  max-width: 300px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.property-features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.property-feature {
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(248,245,239,.5);
  padding: 6px 12px;
  border: 1px solid rgba(248,245,239,.2);
}

/* ── ABOUT ────────────────────────────────────────────────── */
.about { padding: 100px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-image {
  aspect-ratio: 4/5;
  background: var(--ocean-md);
  background-size: cover;
  background-position: center;
}

/* ── LOCATION PAGE ────────────────────────────────────────── */
.location-hero {
  height: 70vh;
  min-height: 500px;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.location-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--ocean-md);
}
.location-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,30,.85) 0%, rgba(10,22,30,.1) 60%);
}
.location-hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 0;
  color: var(--cream);
}
.location-hero-content h1 { color: var(--cream); }

.location-section { padding: 100px 0; }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 768px) { .location-grid { grid-template-columns: 1fr; gap: 40px; } }
.location-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.location-feature {
  padding: 24px;
  border: 1px solid var(--border);
}
.location-feature-icon {
  font-size: 22px;
  margin-bottom: 10px;
}
.location-feature h4 {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.location-feature p { font-size: 13px; color: var(--muted); }

/* ── ROOMS ────────────────────────────────────────────────── */
.rooms-section { padding: 80px 0; }
.location-group { margin-bottom: 80px; }
.location-group-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.location-group-header h2 { font-size: clamp(22px, 3vw, 32px); }
.location-badge {
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: var(--ocean);
  color: var(--cream);
}
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
@media (max-width: 900px) { .rooms-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .rooms-grid { grid-template-columns: 1fr; } }
.room-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--shadow);
}
.room-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: var(--ocean-md);
}
.room-content { padding: 28px; }
.room-tag {
  display: inline-block;
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--cream);
  color: var(--sage);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}
.room-content h3 { font-size: 18px; margin-bottom: 10px; }
.room-content p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ── GALLERY ──────────────────────────────────────────────── */
.gallery-section { padding: 80px 0; }
.gallery-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.gallery-tab {
  padding: 14px 32px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--transition), border-color var(--transition);
  background: none;
  border-top: none; border-left: none; border-right: none;
  font-family: var(--font-body);
}
.gallery-tab.active { color: var(--ocean); border-bottom-color: var(--sand); }
.gallery-tab:hover { color: var(--ocean); }
.gallery-panel { display: none; }
.gallery-panel.active { display: block; }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .gallery { grid-template-columns: 1fr; } }
.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
}
.gallery img:hover { opacity: .9; transform: scale(1.02); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.96);
  z-index: 300;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 32px; right: 40px;
  font-size: 9px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(248,245,239,.5);
  cursor: pointer;
}
.lightbox-close:hover { color: var(--cream); }

/* ── BOOKING ──────────────────────────────────────────────── */
.booking-section { padding: 80px 0 100px; }
.booking-location-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 60px;
}
@media (max-width: 600px) { .booking-location-selector { grid-template-columns: 1fr; } }
.booking-loc-btn {
  padding: 40px 32px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
  position: relative;
}
.booking-loc-btn::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--sand);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.booking-loc-btn.active::after, .booking-loc-btn:hover::after { transform: scaleX(1); }
.booking-loc-btn.active { background: var(--ocean); }
.booking-loc-btn.active .bloc-num,
.booking-loc-btn.active .bloc-name,
.booking-loc-btn.active .bloc-desc { color: var(--cream) !important; }
.bloc-num { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-bottom: 8px; }
.bloc-name { font-family: var(--font-display); font-size: 22px; color: var(--ocean); margin-bottom: 6px; }
.bloc-desc { font-size: 12px; color: var(--muted); }
.booking-frame {
  border: 1px solid var(--border);
  overflow: hidden;
}
.booking-frame iframe {
  width: 100%;
  height: 700px;
  border: none;
  display: block;
}
.booking-info-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
@media (max-width: 700px) { .booking-info-grid { grid-template-columns: 1fr; } }
.booking-info-cell {
  padding: 32px;
  border: 1px solid var(--border);
}
.booking-info-cell .section-label { margin-bottom: 8px; }
.booking-info-cell p { font-family: var(--font-display); font-size: 18px; }

.booking-frame-panel {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.booking-frame-panel.active {
    visibility: visible;
    opacity: 1;
    height: auto;
    overflow: visible;
}

/* ── CONTACT ──────────────────────────────────────────────── */
.contact-section { padding: 80px 0 100px; }
.contact-locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
@media (max-width: 768px) { .contact-locations-grid { grid-template-columns: 1fr; } }
.contact-location-card {
  border: 1px solid var(--border);
  overflow: hidden;
}
.contact-location-header {
  padding: 28px 32px;
  background: var(--ocean);
  color: var(--cream);
}
.contact-location-header h3 { font-size: 20px; color: var(--cream); margin-top: 8px; }
.contact-location-body { padding: 32px; }
.contact-detail { margin-bottom: 20px; }
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail label {
  display: block;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 4px;
}
.contact-detail p { font-family: var(--font-display); font-size: 16px; }
.maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
@media (max-width: 768px) { .maps-grid { grid-template-columns: 1fr; } }
.map-wrapper { position: relative; }
.map-wrapper label {
  display: block;
  padding: 12px 20px;
  background: var(--ocean);
  color: var(--cream);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.map-wrapper iframe {
  width: 100%;
  height: 360px;
  border: none;
  display: block;
}

/* ── CONTACT INFO STRIP ─────────────────────────────────── */
.contact-info { padding: 80px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 0;
}
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-box {
  padding: 40px 32px;
  border: 1px solid var(--border);
}
.contact-box h3 {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}
.contact-box p { font-family: var(--font-display); font-size: 18px; }
.map {
  margin-top: 2px;
}
.map iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ── CTA SECTION ──────────────────────────────────────────── */
.cta-section {
  padding: 100px 0;
  background: var(--ocean);
  text-align: center;
}
.cta-section .section-label { color: var(--sand); }
.cta-section h2 { color: var(--cream); margin-bottom: 20px; }
.cta-section p { color: rgba(248,245,239,.6); max-width: 480px; margin: 0 auto 40px; }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--ocean);
  padding: 80px 0 0;
  color: rgba(248,245,239,.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }
.footer h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--cream);
  margin-bottom: 12px;
}
.footer h4 {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 20px;
}
.footer a {
  display: block;
  color: rgba(248,245,239,.5);
  font-size: 13px;
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer a:hover { color: var(--cream); }
.footer p { font-size: 13px; line-height: 1.8; }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: .05em;
}
@media (max-width: 600px) { .footer-bottom { flex-direction: column; gap: 8px; } }

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── UTILITIES ───────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mb-60 { margin-bottom: 60px; }