/* ── Hero ─────────────────────────────────── */
/* ── Hero Section ─────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

/* Slide Container */
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1.2s ease,
    visibility 1.2s;
  display: flex;
  align-items: center;
}

.hero__slide.active {
  opacity: 1;
  visibility: visible;
}

/* Background Image with Ken Burns effect */
.hero__slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.1); /* Start slightly zoomed */
  transition: transform 8s ease;
  z-index: -1;
}

.hero__slide.active .hero__slide-bg {
  transform: scale(1); /* Zoom out slowly */
}

/* High-Contrast Overlay - Fixed to stay behind text but over image */

/* Content Layering */
.hero .container {
  position: relative;
  z-index: 10; /* Ensure this is higher than overlay and bg */
  width: 100%;
}

.hero__content {
  max-width: 700px;
  color: #ffffff;
}

/* Typography & Elements */
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero__eyebrow::before {
  content: '';
  width: 40px;
  height: 2px;
  background: white;
}

.hero__title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: #fff;
  line-height: 1.08;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease 0.35s both;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Adds extra punch */
}

.hero__title em {
  font-style: italic;
  color: white;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85); /* Slightly brighter for contrast */
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 44px;
  animation: fadeUp 0.8s ease 0.5s both;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.65s both;
}

/* UI Elements (Dots/Progress) */
.hero__dots {
  position: absolute;
  left: 40px;
  bottom: 50px;
  z-index: 20;
  display: flex;
  gap: 8px;
}

.hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.hero__dot.active {
  background: white;
  width: 20px;
  border-radius: 3px;
}

.hero__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 20;
}

.hero__progress-bar {
  height: 100%;
  background: white;
  width: 0%;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ── About Strip ───────────────────────────── */
.about-strip {
  background: var(--cream);
  padding: 100px 0;
}

.about-strip__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-strip__image-wrap {
  position: relative;
}

.about-strip__img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--navy-mid);
}

.about-strip__badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-md);
}

.about-strip__badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.about-strip__badge-text {
  font-size: 0.75rem;
  color: #ccc;
  margin-top: 4px;
}

.about-strip__content h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 12px 0 24px;
}

.about-strip__content p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-strip__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0 40px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature__icon {
  width: 36px;
  height: 36px;
  background: rgba(222, 236, 81, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
}

.about-feature__text {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  line-height: 1.4;
}

/* ── Stats Band ─────────────────────────────── */
.stats-band {
  background: var(--accent);
  padding: 70px 0;
}

.stats-band__inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.stats-band__item {
  padding: 36px 24px;
  text-align: center;
  background: var(--accent-dark);
}

.stats-band__number {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.stats-band__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ccc;
}

/* ── Properties Section ────────────────────── */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.properties-grid .property-card {
  /* height: max-content; */
  min-height: 400px;
}

.properties-grid .property-card__image {
  /* aspect-ratio: 21/9; */
  height: 50%;
  width: 100%;
}

/* ── Services ──────────────────────────────── */
.service-card {
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(10, 22, 40, 0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--navy);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 24px;
}

/* ── Why Us ────────────────────────────────── */
.why-us {
  background: var(--accent);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.why-us__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-us__items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.why-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(222, 236, 81, 0.3);
}

.why-item__num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
}

.why-item__content h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.why-item__content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
}

.why-us__image {
  position: relative;
}

.why-us__img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--navy-light);
}

.why-us__accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  border: 2px solid white;
  border-radius: var(--radius-lg);
  opacity: 0.3;
}

/* ── Testimonials ──────────────────────────── */
/* Container and Wrapper Adjustments */
.testimonials-wrapper {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.testimonials-sidebar {
  max-width: 600px;
}

.testimonial-slider {
  overflow: visible;
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100% !important;
  transform: none !important;
}

/* Individual Card Styling */
.testimonial-card {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card__text {
  flex-grow: 1;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}

/* Responsive Breakpoints */

/* Tablet: 2 Columns */
@media (max-width: 1024px) {
  .testimonial-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 Column */
@media (max-width: 640px) {
  .testimonial-track {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonials-sidebar h2 {
    font-size: 1.75rem;
  }
}

/* Hide slider controls as they are no longer needed for a grid */
.slider-controls,
.slider-dots {
  display: none !important;
}

/* ── CTA Banner ────────────────────────────── */
.cta-banner {
  background: var(--accent);
  padding: 70px 0;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  color: white;
  max-width: 540px;
}

.cta-banner p {
  color: #ccc;
  margin-top: 8px;
  font-size: 0.95rem;
}

.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 9999;
}

.video-modal.active {
  display: block;
}

.video-modal__overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.video-modal__content {
  position: relative;
  width: 90%;
  max-width: 800px;
  margin: 5% auto;
  background: #000;
  padding: 10px;
  border-radius: 8px;
}

.video-modal__close {
  position: absolute;
  top: -30px;
  right: 0;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .about-strip__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-strip__badge {
    bottom: 16px;
    right: 16px;
  }
  .stats-band__inner {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-us__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-us__image {
    display: none;
  }
  .testimonials-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .properties-grid .property-card:first-child {
    grid-column: span 1;
  }
  .properties-grid .property-card:first-child .property-card__image {
    aspect-ratio: 16/10;
  }
}

@media (max-width: 768px) {
  .properties-grid {
    grid-template-columns: 1fr;
  }
  .about-strip__features {
    grid-template-columns: 1fr;
  }
  .stats-band__inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }
  .hero__dots {
    display: none;
  }
}
