/* ============================================================
   DOUGLAS LUXURY APARTMENTS — Enhanced Stylesheet
   ============================================================ */

:root {
  --gold: #aa8453;
  --gold-light: #c9a97a;
  --gold-dark: #8a6a3e;
  --dark: #1b1b1b;
  --mid: #3c3a38;
  --soft: #f5f2ee;
  --muted: #767370;
  --white: #ffffff;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Barlow', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.02em;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; }

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--gold);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: padding 0.4s var(--ease-out),
              background 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out);
}

/* Transparent state — over hero */
.navbar:not(.scrolled) {
  background: transparent;
}

/* Scrolled state */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  padding: 12px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  max-width: 1440px;
  margin: 0 auto;
}

/* Logo — dark/light swap */
.logo-img { height: 34px; width: auto; }
.logo { position: relative; display: block; }
.logo-dark { 
  opacity: 0; 
  position: absolute; 
  top: 0; left: 0;
  transition: opacity 0.4s;
}
.logo-light {
  opacity: 1;
  transition: opacity 0.4s;
}
.navbar.scrolled .logo-dark { opacity: 1; }
.navbar.scrolled .logo-light { opacity: 0; }

/* Nav links */
.nav-menu {
  display: flex;
  gap: 36px;
}

.nav-menu a {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.25s;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

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

.navbar.scrolled .nav-menu a {
  color: var(--dark);
}

.nav-menu a:hover {
  color: var(--gold);
}

/* Nav right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Primary button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: background 0.25s, transform 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.nav-cta { display: inline-flex; }

/* Outline button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1.5px solid var(--dark);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s, gap 0.25s;
}
.btn-outline:hover {
  color: var(--gold);
  border-color: var(--gold);
  gap: 14px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: white;
  transition: background 0.4s, transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.navbar.scrolled .hamburger span { background: var(--dark); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(340px, 100%);
  height: 100%;
  background: var(--dark);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px;
  transition: right 0.5s var(--ease-out);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.mobile-menu-close:hover { opacity: 1; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-link {
  color: rgba(255,255,255,0.7);
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.2s;
}
.mobile-link:hover { color: var(--gold); }

.mobile-book {
  margin-top: 32px;
  align-self: flex-start;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   HERO SLIDESHOW
   ============================================================ */
.hero-slideshow {
  height: 100vh;
  min-height: 700px;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s var(--ease-in-out);
  z-index: 1;
  /* Ken Burns */
  animation: kenBurns 12s ease-in-out infinite alternate;
}
.slide.active {
  opacity: 1;
  z-index: 2;
}

@keyframes kenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.15) 40%,
    rgba(0,0,0,0.5) 100%
  );
  z-index: 3;
  pointer-events: none;
}

/* Grain texture */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* Hero content */
.hero-content {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  width: 100%;
  padding: 0 40px;
  text-align: center;
  color: white;
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeIn 0.8s 0.4s var(--ease-out) forwards;
}

/* Split text hero heading */
.hero-heading {
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  line-height: 1.08;
  font-weight: 500;
  margin-bottom: 36px;
  display: block;
}

.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}

.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: wordReveal 0.9s var(--ease-out) forwards;
}

.hero-word--italic {
  font-style: italic;
  color: var(--gold-light);
}

/* Line 1 words */
.hero-line:nth-child(1) .hero-word:nth-child(1) { animation-delay: 0.5s; }
.hero-line:nth-child(1) .hero-word:nth-child(2) { animation-delay: 0.62s; }
.hero-line:nth-child(1) .hero-word:nth-child(3) { animation-delay: 0.74s; }
/* Line 2 */
.hero-line:nth-child(2) .hero-word:nth-child(1) { animation-delay: 0.88s; }

@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-cta-wrap {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 1.15s var(--ease-out) forwards;
  pointer-events: auto;
}

.btn-hero {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 40px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
}
.btn-hero:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Slide dots */
.slide-nav {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  display: flex;
  gap: 10px;
  align-items: center;
}
.slide-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.slide-dot.active {
  background: white;
  transform: scale(1.4);
}

/* Arrows */
.slide-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  z-index: 7;
  display: flex;
  justify-content: space-between;
  padding: 0 28px;
  transform: translateY(-50%);
  pointer-events: none;
}
.slide-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.slide-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.08);
}

/* Scroll indicator — lives inside .hero-content, flows under the button */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 44px;
  opacity: 0;
  animation: fadeIn 1s 1.5s var(--ease-out) forwards;
  pointer-events: none;
}

/* Mouse outline */
.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  position: relative;
}

/* The traveling dot */
.scroll-wheel {
  width: 3px;
  height: 7px;
  background: white;
  border-radius: 2px;
  animation: wheelDrop 2.2s cubic-bezier(0.45, 0, 0.55, 1) 2s infinite;
  transform-origin: top center;
}

@keyframes wheelDrop {
  0%   { opacity: 1; transform: translateY(0); }
  60%  { opacity: 0; transform: translateY(13px); }
  61%  { opacity: 0; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(0); }
}

.scroll-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
  background: var(--dark);
  color: rgba(255,255,255,0.55);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.marquee-track {
  display: inline-block;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  margin-right: 24px;
}
.marquee-track .dot {
  color: var(--gold);
  margin-right: 24px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-animate="fade-up"] {
  transform: translateY(40px);
}
[data-animate="fade-left"] {
  transform: translateX(-40px);
}
[data-animate="fade-right"] {
  transform: translateX(40px);
}
[data-animate="reveal-up"] {
  transform: translateY(60px);
}

[data-animate].in-view {
  opacity: 1;
  transform: none;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: var(--soft);
  padding: 140px 0;
  overflow: hidden;
}
.about-container {
  max-width: 1244px;
  margin: 0 auto;
  padding: 0 40px;
}
.about-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}
.about-left-col {
  flex: 1;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 52px;
}
.about-heading-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-heading {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.3;
  color: var(--dark);
}
.about-img-left {
  width: 80%;
  aspect-ratio: 1 / 1.02;
  border-radius: 6px;
  overflow: hidden;
}
.about-img-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.about-img-left:hover img { transform: scale(1.04); }

.about-right-col {
  flex: 1;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.about-img-right {
  width: 100%;
  aspect-ratio: 0.92 / 1;
  border-radius: 6px;
  overflow: hidden;
}
.about-img-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.about-img-right:hover img { transform: scale(1.04); }
.about-text-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.about-paragraph {
  font-size: 18px;
  line-height: 1.7;
  color: var(--mid);
  font-weight: 400;
}

/* ============================================================
   LOCATIONS SECTION
   ============================================================ */
.locations-section {
  background: var(--dark);
}
.locations-header {
  margin-bottom: 52px;
}
.locations-lead {
  color: rgba(255,255,255,0.55);
  font-size: 16px;
  max-width: 580px;
  line-height: 1.7;
  margin-top: 16px;
}

.section-subtitle {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
}
.section-title.light { color: var(--white); }
.section-header { margin-bottom: 56px; }

/* Editorial location cards */
.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.location-card {
  position: relative;
  height: 560px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.8s var(--ease-out);
  will-change: transform;
}
.location-card:hover .card-bg {
  transform: scale(1.07);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.4) 50%,
    rgba(0,0,0,0.1) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  color: white;
  transition: background 0.4s;
}

.card-tag {
  align-self: flex-start;
  background: var(--gold);
  border: none;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 20px;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.location-name {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 8px;
  color: white;
}

.location-address {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.location-address i { color: var(--gold); }

/* Content that reveals on hover */
.card-hover-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease-out), opacity 0.35s ease, margin-top 0.5s var(--ease-out);
  margin-top: 0;
}
.location-card:hover .card-hover-content {
  max-height: 300px;
  opacity: 1;
  margin-top: 20px;
}

.geo-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.geo-info span {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 8px;
}
.geo-info i { color: var(--gold); width: 14px; }

.card-actions {
  display: flex;
  gap: 10px;
}
.btn-card {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 16px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  background: var(--gold);
  color: white;
  transition: background 0.25s, transform 0.2s;
  text-align: center;
}
.btn-card:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}
.btn-card-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  flex: 0 0 auto;
  padding: 11px 18px;
}
.btn-card-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-1px);
}
.card-description {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   AMENITIES
   ============================================================ */
.amenities-section { background: var(--soft); }

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(0,0,0,0.06);
  border-radius: 8px;
  overflow: hidden;
}
.amenity-item {
  background: var(--soft);
  text-align: center;
  padding: 40px 24px;
  transition: background 0.3s;
}
.amenity-item:hover {
  background: var(--white);
}
.amenity-icon {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 16px;
  transition: transform 0.3s var(--ease-out);
}
.amenity-item:hover .amenity-icon {
  transform: translateY(-4px);
}
.amenity-item h4 {
  font-size: 16px;
  font-family: var(--font-serif);
  margin-bottom: 8px;
  color: var(--dark);
}
.amenity-item p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--dark);
  padding: 130px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(170,132,83,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-heading {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}
.cta-subtext {
  color: rgba(255,255,255,0.5);
  font-size: 17px;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #111;
  color: rgba(255,255,255,0.6);
  padding: 90px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-logo {
  height: 36px;
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.footer-col h6 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.footer-col ul { list-style: none; }
.footer-col li {
  margin-bottom: 12px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col li i { color: var(--gold); width: 14px; font-size: 12px; }
.footer-col a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.footer-award {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.social-icons {
  display: flex;
  gap: 12px;
}
.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  transition: border-color 0.25s, color 0.25s, transform 0.2s;
}
.social-icons a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.footer-powered {
  color: #ddd9d6;
}

.footer-powered a {
  color: #aa8453;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-powered a:hover {
  color: #c29b6d;
  text-decoration: underline;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.py-100 { padding: 100px 0; }
.bg-soft { background: var(--soft); }
.gold { color: var(--gold) !important; }

/* Keyframes */
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }

  .location-grid {
    grid-template-columns: 1fr;
  }
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-flex {
    flex-direction: column;
    gap: 40px;
  }
  .about-left-col, .about-right-col {
    max-width: 100%;
  }
  .about-img-left { width: 100%; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .about-container { padding: 0 24px; }
  .nav-container { padding: 0 24px; }
  .about-section { padding: 80px 0; }

  .location-grid {
    grid-template-columns: 1fr;
  }
  .location-card { height: 480px; }

  /* Always show hover content on mobile */
  .card-hover-content {
    max-height: 300px;
    opacity: 1;
    margin-top: 16px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .cta-section { padding: 80px 24px; }
  .hero-heading { font-size: clamp(2.6rem, 11vw, 4rem); }

  .section-title { font-size: 2rem; }
}

@media (max-width: 480px) {
  .amenities-grid {
    grid-template-columns: 1fr;
  }
  .slide-arrows { padding: 0 14px; }
}

/* ============================================================
   8.4 TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 48px 40px;
}

.trust-bar-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.trust-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 0 24px;
}

.trust-number {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--dark);
  line-height: 1;
  letter-spacing: -0.02em;
}

.trust-plus {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold);
  line-height: 1;
  font-weight: 500;
}

.trust-award {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--gold);
  line-height: 1;
}

.trust-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.trust-divider {
  width: 1px;
  height: 48px;
  background: rgba(0,0,0,0.1);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .trust-bar { padding: 36px 20px; }
  .trust-bar-inner {
    flex-wrap: wrap;
    gap: 28px 0;
  }
  .trust-stat { flex: 0 0 50%; }
  .trust-divider { display: none; }
}

/* ============================================================
   8.3 CARD PRICE BADGE
   ============================================================ */
.card-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.card-price {
  background: rgba(0,0,0,0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.card-price strong {
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 700;
}

.card-price span {
  color: rgba(255,255,255,0.55);
  font-size: 11px;
}

/* ============================================================
   8.5 GALLERY SECTION
   ============================================================ */
.gallery-section {
  background: var(--white);
  padding: 100px 0;
}

.gallery-header {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
  margin-bottom: 48px;
}

.gallery-header .section-subtitle { color: var(--gold); }
.gallery-header .section-title { color: var(--dark); }

/*
  Explicit 3×3 grid — all 9 cells filled, zero orphans:

  col1     col2 (tall)   col3
  [1]      [2]           [3]    ← row 1 (300px)
  [4]      [2 cont]      [5]    ← row 2 (260px)
  [6]      [7 ─────────────]   ← row 3 (280px)
*/
.gallery-masonry {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 300px 260px 280px;
  gap: 6px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Explicit placement */
.gallery-item:nth-child(1) { grid-column: 1; grid-row: 1; }
.gallery-item:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; } /* TALL */
.gallery-item:nth-child(3) { grid-column: 3; grid-row: 1; }
.gallery-item:nth-child(4) { grid-column: 1; grid-row: 2; }
.gallery-item:nth-child(5) { grid-column: 3; grid-row: 2; }
.gallery-item:nth-child(6) { grid-column: 1; grid-row: 3; }
.gallery-item:nth-child(7) { grid-column: 2 / span 2; grid-row: 3; } /* WIDE */

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--soft);
  border-radius: 4px;
}

/* Image fills its cell completely */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s var(--ease-out), filter 0.4s;
  filter: brightness(0.9);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

.gallery-item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  color: rgba(255,255,255,0.9);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
}

.gallery-item:hover .gallery-item-label {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox overlay */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.gallery-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.gallery-lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 26px;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}
.lightbox-close:hover { color: white; }

/* Mobile: 2×2 auto-flow, reset all placements */
@media (max-width: 768px) {
  .gallery-masonry {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px 200px;
    padding: 0 24px;
  }
  /* Reset explicit placement so items flow naturally */
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(6),
  .gallery-item:nth-child(7) {
    grid-column: auto;
    grid-row: auto;
  }
  .gallery-header { padding: 0 24px; }
}

@media (max-width: 480px) {
  .gallery-masonry {
    grid-template-rows: 160px 160px 160px 160px;
    gap: 4px;
  }
}

/* ============================================================
   8.1 TESTIMONIALS — single card, centered, full redesign
   ============================================================ */
.testimonials-section {
  background: var(--white);   /* was var(--soft) */
  padding: 100px 0;
}

.testimonials-header {
  margin-bottom: 64px;
}

.testimonials-header .section-subtitle { color: var(--gold); }

/* Single-card stage */
.testimonial-stage {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 0 72px; /* space for arrows */
}

/* The cards sit stacked; only .active is visible */
.testimonial-card {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  animation: tCardIn 0.55s var(--ease-out) forwards;
}

.testimonial-card.active {
  display: flex;
}

@keyframes tCardIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Decorative open-quote */
.testimonial-quote-mark {
  font-family: var(--font-serif);
  font-size: 100px;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.25;
  margin-bottom: 28px;
  -webkit-user-select: none;
  user-select: none;
  font-style: normal;
}

/* Stars */
.testimonial-stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 4px;
  margin-bottom: 28px;
}

/* Quote body */
.testimonial-text {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-style: italic;
  line-height: 1.7;
  color: var(--mid);
  margin: 0 0 40px;
  font-weight: 400;
}

/* Divider line */
.testimonial-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
  margin: 0 auto 32px;
}

/* Author row */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.testimonial-info {
  text-align: left;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
}

.testimonial-property {
  font-size: 12px;
  color: var(--gold);
  margin-top: 3px;
  font-weight: 500;
}

/* Platform logo */
.testimonial-platform {
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(0,0,0,0.1);
}

/* Arrow controls */
.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.12);
  background: var(--white);
  color: var(--dark);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.testimonial-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
  transform: translateY(-50%) scale(1.08);
}

.testimonial-prev { left: 0; }
.testimonial-next { right: 0; }

/* Dot indicators */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
}

.testimonial-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.testimonial-dot.active {
  background: var(--gold);
  transform: scale(1.4);
}

@media (max-width: 600px) {
  .testimonial-stage { padding: 0 56px; }
  .testimonial-text  { font-size: 1.05rem; }
  .testimonial-arrow { width: 40px; height: 40px; font-size: 13px; }
  .testimonial-quote-mark { font-size: 72px; }
}

@media (max-width: 380px) {
  .testimonial-stage { padding: 0 44px; }
}

/* ============================================================
   8.2 WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 32px;
  z-index: 800;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,0.55);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Pulsing ring */
.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: waPulse 2.5s ease-out infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.7; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Tooltip */
.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateX(8px) translateY(-50%);
  background: var(--dark);
  color: white;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  letter-spacing: 0.02em;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--dark);
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 70px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 24px;
  }
  .whatsapp-tooltip { display: none; }
}
