/* ============================================
   DUKAGJINI RESORT - Design System & Styles
   ============================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  /* Colors */
  --color-primary: #1a1a1a;
  --color-secondary: #c9a962;
  --color-accent: #b8954a;
  --color-cream: #f8f5f0;
  --color-light: #faf9f7;
  --color-text: #555;
  --color-text-light: #888;
  --color-white: #ffffff;
  --color-dark-overlay: rgba(0, 0, 0, 0.6);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---------- TYPOGRAPHY ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

.subtitle {
  font-size: 0.875rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-secondary);
  font-weight: 500;
}

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}


/* ---------- PROPERTIES FEATURES ---------- */
#properties-features {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/highlights-bg.jpg') center/cover no-repeat;
  background-attachment: fixed;
  color: var(--color-white);
}

#properties-features h3 {
  color: var(--color-white) !important;
}

/* ---------- ABOUT STATS ---------- */
#about-stats {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/highlights-bg.jpg') center/cover no-repeat;
  background-attachment: fixed;
  color: var(--color-white);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-secondary);
  /* Fallback or accent */
  color: var(--color-white);
  /* Override for dark background */
  margin-bottom: 0.5rem;
}

.section {
  padding: var(--spacing-xl) 0;
}

.section--dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-white);
}


/* ---------- ABOUT STATS ---------- */
#about-stats {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/highlights-bg.jpg') center/cover no-repeat;
  background-attachment: fixed;
  color: var(--color-white);
  padding: var(--spacing-xl) 0;
}

#about-stats h2 {
  color: var(--color-white) !important;
}

#about-stats p {
  color: rgba(255, 255, 255, 0.9);
}

.section--cream {
  background-color: var(--color-cream);
}

.grid {
  display: grid;
  gap: var(--spacing-md);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

/* ---------- PAGE HEADER ---------- */
.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/header-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: calc(var(--spacing-xl) + 80px) 0 var(--spacing-xl);
  text-align: center;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) var(--spacing-md);
  max-width: 1400px;
  margin: 0 auto;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__logo-icon {
  width: 40px;
  height: 40px;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-white);
  transition: color var(--transition-fast);
}

.header__logo-img {
  height: 50px;
  width: auto;
  transition: filter var(--transition-fast);
}

.header.scrolled .header__logo-img {
  filter: invert(1) brightness(0.2);
}

.header.scrolled .header__logo-text {
  color: var(--color-primary);
}

/* Navigation */
.nav__list {
  display: flex;
  gap: var(--spacing-md);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-white);
  padding: 0.5rem 0;
  position: relative;
}

.header.scrolled .nav__link {
  color: var(--color-primary);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width var(--transition-fast);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition-fast);
}

.header.scrolled .nav__toggle span {
  background: var(--color-primary);
}

/* Hamburger to Close Icon Animation */
.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--color-white) !important;
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--color-white) !important;
}

/* Ensure toggle stays visible above the menu and has high z-index */
.nav__toggle {
  z-index: 1100;
  /* Higher than header and nav_list */
  position: relative;
}

/* Contact Info in Header */
.header__contact {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-size: 0.875rem;
  color: var(--color-white);
}

.header.scrolled .header__contact {
  color: var(--color-primary);
}

/* Header Right Section */
.header__right {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

/* Language Switcher Dropdown */
/* Language Switcher - New Figma Style */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switcher__item {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: 2px solid transparent;
  /* Reserve space for active border */
}

.lang-switcher__item svg,
.lang-switcher__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.lang-switcher__item:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.lang-switcher__item.active {
  border-color: var(--color-white);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header.scrolled .lang-switcher__item.active {
  border-color: var(--color-primary);
}

.lang-switcher__option.active:hover {
  background: var(--color-accent);
}

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: var(--spacing-lg);
}

.hero__subtitle {
  margin-bottom: var(--spacing-sm);
  color: var(--color-secondary);
}

.hero__title {
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
}

.hero__description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin-bottom: var(--spacing-md);
}

/* Video Hero */
.hero--video {
  overflow: hidden;
  background: var(--color-primary);
}

.hero--video::before {
  display: none;
}

.hero__video-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__video {
  /* Force 16:9 Aspect Ratio to cover the screen */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;
  /* 9/16 = 0.5625 */
  min-height: 100vh;
  min-width: 177.77vh;
  /* 16/9 = 1.7777 */
  max-width: none !important;
  max-height: none !important;
}

.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero--video .hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-md);
}

.hero__buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--spacing-md);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--color-white);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
}

.hero__scroll-arrow {
  width: 24px;
  height: 24px;
  margin: 0.5rem auto 0;
  animation: bounceArrow 2s infinite;
}

.hero__scroll-arrow svg {
  width: 100%;
  height: 100%;
}

@keyframes bounceArrow {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(8px);
  }

  60% {
    transform: translateY(4px);
  }
}

/* ---------- BOOKING FORM ---------- */
.booking-form {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-white);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 340px;
  z-index: 10;
}

.booking-form__title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.form-group {
  margin-bottom: var(--spacing-sm);
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-secondary);
}

.btn--secondary {
  background: var(--color-secondary);
  color: var(--color-white);
}

.btn--secondary:hover {
  background: var(--color-accent);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
}

.btn--outline:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

.btn--outline-light {
  background: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
}

.btn--outline-light:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn--full {
  width: 100%;
}

/* ---------- CARDS ---------- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card__image img {
  transform: scale(1.05);
}

.card__content {
  padding: var(--spacing-md);
}

.card__title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card__meta {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-sm);
}

.card__specs {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  font-size: 0.875rem;
}

.card__spec {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ---------- AMENITIES ---------- */
.amenity {
  text-align: center;
  padding: var(--spacing-md);
}

.amenity__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-sm);
  color: var(--color-secondary);
}

.amenity__title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

/* ---------- GALLERY ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-sm);
}

.gallery__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery__item:hover img {
  transform: scale(1.1);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-dark-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox__close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
}

.lightbox__image {
  max-width: 90%;
  max-height: 90vh;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #927974;
  color: rgba(255, 255, 255, 0.7);
  padding: var(--spacing-xl) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  color: rgba(255, 255, 255, 0.7);
}

.footer__link:hover {
  color: var(--color-secondary);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer__bottom {
  background: #6e5955;
  margin-top: var(--spacing-md);
  padding: 0.75rem 0;
  border-radius: 0;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  width: 100%;
}

/* ---------- PAGE HEADER ---------- */
.page-header {
  padding: calc(var(--spacing-xl) + 80px) 0 var(--spacing-xl);
  text-align: center;
}

.page-header__title {
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
}

.page-header__breadcrumb {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.page-header__breadcrumb a {
  color: var(--color-secondary);
}

/* ---------- APARTMENT DETAIL ---------- */
.apartment-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: start;
}

.apartment-detail__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.apartment-detail__specs {
  background: var(--color-cream);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
}

.apartment-detail__spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.apartment-detail__spec-row:last-child {
  border-bottom: none;
}

/* ---------- CONTACT PAGE ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.contact-info {
  background: var(--color-cream);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
}

.contact-form {
  padding: var(--spacing-lg);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.map-container {
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--spacing-lg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

/* Stagger delays for lists */
.stagger-1 {
  animation-delay: 0.1s;
}

.stagger-2 {
  animation-delay: 0.2s;
}

.stagger-3 {
  animation-delay: 0.3s;
}

.stagger-4 {
  animation-delay: 0.4s;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .booking-form {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin: var(--spacing-md) auto;
    max-width: 500px;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--spacing-xl) + 80px) 0 var(--spacing-lg);
  }

  .apartment-detail {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav__list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-primary);
    flex-direction: column;
    padding: var(--spacing-xl) var(--spacing-md);
    transition: right var(--transition-normal);
  }

  .nav__list.active {
    right: 0;
  }

  /* Force white text in mobile menu even when header is scrolled */
  .nav__link,
  .header.scrolled .nav__link {
    color: var(--color-white) !important;
    font-size: 1rem;
    padding: var(--spacing-sm) 0;
    text-align: left;
    /* Optional: keeps menu items aligned */
  }

  /* Fix footer logo centering on mobile */
  .footer__grid a[href="index.html"] {
    display: flex !important;
    justify-content: center;
    width: 100%;
  }

  .footer__grid a[href="index.html"] img {
    margin: 0 auto;
  }

  .nav__toggle {
    display: flex;
  }

  .header__contact {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__links {
    align-items: center;
  }

  .footer__contact-item {
    justify-content: center;
  }

  .footer__social {
    justify-content: center;
  }

  .section {
    padding: var(--spacing-lg) 0;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }
}

/* ---------- UTILITY CLASSES ---------- */
.text-center {
  text-align: center;
}

.text-gold {
  color: var(--color-secondary);
}

/* Hover Image Effect */
.hover-image {
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  width: 100%;
  display: block;
  object-fit: cover;
}

.hover-image:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.25);
}

.mb-sm {
  margin-bottom: var(--spacing-sm);
}

.mb-md {
  margin-bottom: var(--spacing-md);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.mt-sm {
  margin-top: var(--spacing-sm);
}

.mt-md {
  margin-top: var(--spacing-md);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

/* Lazy loading images */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity var(--transition-normal);
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src*="data:"]) {
  opacity: 1;
}

/* Hidden for screen readers only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- CAROUSEL ---------- */
.carousel {
  position: relative;
  height: 100vh;
  /* Full screen height */
  min-height: 600px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: var(--color-primary);
  /* Fallback */
}

.carousel__track-container {
  height: 100%;
  position: relative;
  overflow: hidden;
  /* min-height removed, controlled by parent */
}

.carousel__track {
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
  height: 100%;
  transition: transform 0.5s ease-in-out;
  display: flex;
}

.carousel__slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Dark overlay for readability */
.carousel__slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.carousel__content {
  position: relative;
  z-index: 2;
  /* Sit above overlay */
  display: grid;
  grid-template-columns: 1fr;
  /* Single column since we hide the image */
  gap: 4rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.carousel__text {
  text-align: center;
  color: var(--color-white);
}

.carousel__text h3 {
  color: var(--color-white);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.carousel__text p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

/* Hide the image in the content since it is now the background */
.carousel__image {
  display: none;
}

.carousel__button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  color: var(--color-white);
  font-size: 1.25rem;
  backdrop-filter: blur(4px);
}

.carousel__button:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.carousel__button--left {
  left: 20px;
}

.carousel__button--right {
  right: 20px;
}

.carousel__nav {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
  gap: 1rem;
  position: absolute;
  bottom: 2rem;
  width: 100%;
  z-index: 10;
}

.carousel__indicator {
  border: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.carousel__indicator.current-slide {
  background: var(--color-white);
}

@media (max-width: 900px) {
  .carousel__text h3 {
    font-size: 2rem;
  }

  .carousel__slide {
    padding-bottom: 0;
  }
}

/* ---------- PROJECT HIGHLIGHTS CUSTOM COLORS ---------- */
#highlights {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/highlights-bg.jpg') center/cover no-repeat;
  background-attachment: fixed;
  color: var(--color-white);
}

#highlights .amenity {
  background-color: #6e5955;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

#highlights .amenity:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ---------- FOOTER SOCIAL ICONS ---------- */
.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--color-white);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.footer__social-link:hover {
  background: var(--color-white);
  color: var(--color-secondary);
  border-color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: all var(--transition-fast);
}

.footer__social-link:hover svg {
  transform: scale(1.1);
  stroke-width: 2.5;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}