/* ============================================
   Hills View Resort Logere - Main Stylesheet
   "Nature. Comfort. Experience."
   ============================================ */

/* ==========================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ========================================== */
:root {
  /* Primary Colors - Nature Inspired (Deepened for Luxury) */
  --primary: #1A3C2B;
  /* Deeper Forest Green */
  --primary-light: #3E6B53;
  --primary-dark: #0D2618;
  --primary-rgb: 26, 60, 43;

  /* Secondary Colors - Antique Gold (Less Yellow, More Metallic) */
  --secondary: #D4AF37;
  /* Metallic Gold */
  --secondary-light: #E5C568;
  --secondary-dark: #AA8C2C;

  /* Neutral Colors (Softened) */
  --dark: #121212;
  --dark-gray: #2C2C2C;
  --gray: #6B6B6B;
  --light-gray: #A0A0A0;
  --lighter-gray: #E0E0E0;
  --light: #FAF9F6;
  /* Off-white / Eggshell */
  --white: #FFFFFF;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Font Sizes - Fluid Typography */
  --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --fs-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --fs-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --fs-md: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
  --fs-lg: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --fs-xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --fs-2xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --fs-3xl: clamp(2.5rem, 2rem + 3vw, 4rem);
  --fs-hero: clamp(3rem, 2.5rem + 4vw, 5rem);

  /* Spacing (Expanded for Luxury) */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  --space-4xl: 10rem;
  --space-5xl: 12rem;

  /* Layout */
  --container-max: 1300px;
  /* Wider container */
  --container-wide: 1500px;
  --container-narrow: 800px;

  /* Effects */
  --radius-sm: 2px;
  /* Sharper corners are more modern/luxury */
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 30px rgba(45, 90, 61, 0.3);

  --transition-fast: 200ms ease;
  --transition-base: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  /* Smoother curve */
  --transition-slow: 700ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-Index Scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-tooltip: 600;
}

/* ==========================================
   CSS RESET & BASE STYLES
   ========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body.no-scroll {
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.8;
  /* Increased line height */
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
  height: 100%;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}

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

ul,
ol {
  list-style: none;
}

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

h1 {
  font-size: var(--fs-3xl);
}

h2 {
  font-size: var(--fs-2xl);
}

h3 {
  font-size: var(--fs-xl);
}

h4 {
  font-size: var(--fs-lg);
}

h5 {
  font-size: var(--fs-md);
}

h6 {
  font-size: var(--fs-base);
}

p {
  margin-bottom: var(--space-md);
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

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

.section {
  padding: var(--space-4xl) 0;
  /* More vertical space */
}

.section-sm {
  padding: var(--space-3xl) 0;
}

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

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

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

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.text-gray {
  color: var(--gray);
}

.text-white {
  color: var(--white);
}

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

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

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

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

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

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-col {
  flex-direction: column;
}

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

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

.gap-xl {
  gap: var(--space-xl);
}

.gap-2xl {
  gap: var(--space-2xl);
}

.grid {
  display: grid;
}

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

/* ==========================================
   SECTION HEADERS
   ========================================== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-subtitle {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--space-md);
  position: relative;
}

.section-subtitle::before,
.section-subtitle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--secondary);
}

.section-subtitle::before {
  right: calc(100% + 15px);
}

.section-subtitle::after {
  left: calc(100% + 15px);
}

.section-title {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-md);
}

.section-description {
  font-size: var(--fs-md);
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 1rem 2.5rem;
  /* Reduced from var(--space-md) var(--space-xl) */
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  /* Slightly lighter weight */
  text-transform: uppercase;
  letter-spacing: 2px;
  /* Wider tracking */
  border: 1px solid transparent;
  /* Thinner border */
  border-radius: 0;
  /* Square buttons are more "luxury" */
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

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

.btn-primary:hover {
  background: transparent;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: none;
}

.btn-secondary {
  background: var(--secondary);
  color: var(--dark);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--fs-base);
}

.btn-sm {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--fs-xs);
  white-space: nowrap;
}

/* Responsive button that stretches on small screens */
.btn-responsive {
  min-width: 120px;
}

.btn-icon {
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* WhatsApp Button */
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background: #128C7E;
  border-color: #128C7E;
  transform: translateY(-2px);
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: var(--shadow-lg);
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: var(--space-lg) 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: var(--space-md) 0;
}

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

.navbar.scrolled .nav-link:hover {
  color: var(--primary);
}

.navbar.scrolled .logo-text {
  color: var(--primary);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.logo-img {
  height: 80px;
  /* Increased from 50px */
  width: auto;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition-base);
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: color var(--transition-base);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--secondary);
}

.nav-cta {
  margin-left: var(--space-lg);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  z-index: 99999 !important;
  /* Above nav-menu */
  /* Ensure it is above everything */
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-base);
}

.navbar.scrolled .nav-toggle span {
  background: var(--dark);
}

.nav-toggle.active span {
  background: var(--white) !important;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================
   HERO SECTIONS
   ========================================== */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/gallery/resort_overview_u_shape.jpg');
  background-size: cover;
  background-position: center;
  z-index: 2;
  transition: opacity 1.5s ease-in-out;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-bg.loaded {
  opacity: 1;
}

.hero-video-placeholder.hidden {
  opacity: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Subtle uniform overlay to aid text readability without hiding video */
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: var(--space-xl);
  max-width: 1000px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  /* Improve text readability on video */
}

.hero-subtitle {
  font-size: var(--fs-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 6px;
  /* Wider tracking */
  color: var(--secondary);
  margin-bottom: var(--space-lg);
  display: block;
  /* Ensure block level */
  animation: fadeInDown 0.8s ease forwards;
}

.hero-title {
  font-size: var(--fs-hero);
  color: var(--white);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-description {
  font-size: var(--fs-lg);
  opacity: 0.9;
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

/* Page Hero (smaller) */
.page-hero {
  min-height: 60vh;
  height: auto !important;
  /* Override 100dvh from .hero */
  padding-top: 100px;
}

/* Ensure text is readable on static images in subpages */
.page-hero .hero-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
}

/* ==========================================
   EDITORIAL & BROKEN GRID LAYOUTS (Phase 2)
   ========================================== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  margin-bottom: var(--space-4xl);
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse .feature-text {
  order: -1;
}

.feature-img {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  height: 500px;
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.feature-row:hover .feature-img img {
  transform: scale(1.05);
  /* Subtle zoom */
}

.feature-text {
  padding: var(--space-xl);
}

.feature-text h3 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.feature-text p {
  color: var(--gray);
  font-size: var(--fs-md);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

@media (max-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .feature-row.reverse .feature-text {
    order: 0;
  }

  .feature-img {
    height: 350px;
  }
}

.page-hero .hero-title {
  font-size: var(--fs-3xl);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  font-size: var(--fs-sm);
}

.breadcrumb a {
  color: var(--secondary);
  transition: opacity var(--transition-base);
}

.breadcrumb a:hover {
  opacity: 0.8;
}

.breadcrumb span {
  opacity: 0.7;
}

/* ==========================================
   CARDS
   ========================================== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-img img {
  transform: scale(1.1);
}

.card-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--secondary);
  color: var(--dark);
  padding: var(--space-xs) var(--space-md);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.card-body {
  padding: var(--space-xl);
}

.card-title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

.card-text {
  color: var(--gray);
  margin-bottom: var(--space-md);
}

.card-price {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  color: var(--primary);
  font-weight: 700;
}

.card-price span {
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--gray);
}

/* Room Card */
.room-card .card-body {
  padding: var(--space-xl);
}

.room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin: var(--space-md) 0;
  padding: var(--space-md) 0;
  border-top: 1px solid var(--lighter-gray);
  border-bottom: 1px solid var(--lighter-gray);
}

.room-amenity {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-sm);
  color: var(--gray);
}

.room-amenity svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.room-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-lg);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.room-footer .btn {
  flex-shrink: 0;
}

/* Team Card */
.team-card {
  text-align: center;
}

.team-card .card-img {
  aspect-ratio: 1;
  border-radius: var(--radius-full);
  margin: var(--space-xl) auto var(--space-md);
  width: 200px;
  height: 200px;
}

.team-role {
  color: var(--secondary);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.team-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  border-radius: var(--radius-full);
  color: var(--gray);
  transition: all var(--transition-base);
}

.team-social a:hover {
  background: var(--primary);
  color: var(--white);
}

/* ==========================================
   AMENITIES GRID
   ========================================== */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.amenity-card {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--lighter-gray);
  transition: all var(--transition-base);
}

.amenity-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.amenity-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  color: var(--white);
  font-size: 28px;
}

.amenity-card h4 {
  margin-bottom: var(--space-sm);
}

.amenity-card p {
  color: var(--gray);
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

/* ==========================================
   gallery
   ========================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.filter-btn {
  padding: var(--space-sm) var(--space-lg);
  background: var(--light);
  border: none;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(45, 90, 61, 0.8) 0%,
      transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 1;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay span {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 20px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-size: 24px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.lightbox-close:hover {
  background: var(--secondary);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-size: 20px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.lightbox-nav:hover {
  background: var(--secondary);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* ==========================================
   CONTACT FORM
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info-card {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-lg);
}

.contact-info-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 24px;
}

.contact-info-content h4 {
  margin-bottom: var(--space-xs);
}

.contact-info-content p {
  color: var(--gray);
  margin-bottom: 0;
}

.contact-info-content a {
  color: var(--primary);
  transition: color var(--transition-base);
}

.contact-info-content a:hover {
  color: var(--secondary);
}

.contact-form {
  background: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 500;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--lighter-gray);
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  transition: all var(--transition-base);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand .logo-text {
  color: var(--white);
  font-size: var(--fs-xl);
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: var(--light-gray);
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--white);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--secondary);
  color: var(--dark);
}

.footer-title {
  font-size: var(--fs-lg);
  color: var(--white);
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-md);
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary);
}

.footer-links li {
  margin-bottom: var(--space-md);
}

.footer-links a {
  color: var(--light-gray);
  transition: color var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-contact li {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  color: var(--light-gray);
}

.footer-contact svg {
  width: 20px;
  height: 20px;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  color: var(--light-gray);
  margin: 0;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
  position: relative;
  padding: var(--space-5xl) 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  text-align: center;
  color: var(--white);
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-content p {
  font-size: var(--fs-lg);
  opacity: 0.9;
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================
   ABOUT PAGE FEATURES
   ========================================== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  aspect-ratio: 4/3;
}

/* Decorative accent behind the image */
.about-img::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.3;
  transition: all var(--transition-base);
}

.about-img:hover::before {
  top: 25px;
  left: 25px;
  opacity: 0.4;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-base);
}

.about-img:hover img {
  transform: scale(1.02);
}

.about-img-badge {
  position: absolute;
  bottom: var(--space-xl);
  right: var(--space-xl);
  background: var(--secondary);
  color: var(--dark);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  text-align: center;
}

.about-img-badge .number {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1;
}

.about-img-badge .text {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content h2 {
  margin-bottom: var(--space-lg);
}

.about-content p {
  color: var(--gray);
}

.features-list {
  margin-top: var(--space-xl);
}

.feature-item {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.feature-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  border-radius: var(--radius-md);
  color: var(--primary);
  font-size: 20px;
}

.feature-text h4 {
  margin-bottom: var(--space-xs);
}

.feature-text p {
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

/* Stats */
.stats-section {
  background: var(--light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stat-item {
  text-align: center;
  padding: var(--space-xl);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: var(--fs-sm);
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Experience Cards */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.experience-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.experience-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.experience-card:hover img {
  transform: scale(1.1);
}

.experience-card-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
  color: var(--white);
}

.experience-card h4 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.experience-card p {
  font-size: var(--fs-sm);
  opacity: 0.9;
  margin-bottom: 0;
}

/* ==========================================
   MAP
   ========================================== */
.map-container {
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
  }

  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }

  50% {
    transform: scale(1.05);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

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

@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 5px rgba(45, 90, 61, 0.2), 0 0 10px rgba(45, 90, 61, 0.1);
  }

  50% {
    box-shadow: 0 0 20px rgba(45, 90, 61, 0.4), 0 0 30px rgba(45, 90, 61, 0.2);
  }
}

@keyframes borderGlow {

  0%,
  100% {
    border-color: var(--primary);
  }

  50% {
    border-color: var(--secondary);
  }
}

@keyframes textGlow {

  0%,
  100% {
    text-shadow: 0 0 10px rgba(196, 163, 90, 0.3);
  }

  50% {
    text-shadow: 0 0 20px rgba(196, 163, 90, 0.6), 0 0 30px rgba(196, 163, 90, 0.4);
  }
}

@keyframes parallaxFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-5px) rotate(0.5deg);
  }

  75% {
    transform: translateY(5px) rotate(-0.5deg);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-scale-in {
  animation: scaleIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-bounce-in {
  animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.animate-glow {
  animation: glowPulse 2s ease-in-out infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-text-glow {
  animation: textGlow 2s ease-in-out infinite;
}

/* Scroll Reveal - items start hidden */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal for children */
.reveal-stagger>*:nth-child(1) {
  transition-delay: 0.1s;
}

.reveal-stagger>*:nth-child(2) {
  transition-delay: 0.2s;
}

.reveal-stagger>*:nth-child(3) {
  transition-delay: 0.3s;
}

.reveal-stagger>*:nth-child(4) {
  transition-delay: 0.4s;
}

.reveal-stagger>*:nth-child(5) {
  transition-delay: 0.5s;
}

.reveal-stagger>*:nth-child(6) {
  transition-delay: 0.6s;
}

/* Enhanced hover effects */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hover-glow {
  transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 30px rgba(45, 90, 61, 0.3);
}

.hover-scale {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Shimmer effect for loading or emphasis */
.shimmer {
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.2) 50%,
      transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* Parallax effect class */
.parallax-element {
  animation: parallaxFloat 6s ease-in-out infinite;
}

/* Gradient text animation */
.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* Magnetic button effect */
.btn-magnetic {
  position: relative;
  overflow: hidden;
}

.btn-magnetic::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-magnetic:hover::before {
  width: 300px;
  height: 300px;
}

/* Card 3D tilt effect on hover */
.card-3d {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.card-3d:hover {
  transform: perspective(1000px) rotateY(5deg) rotateX(5deg) translateY(-10px);
  box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.15);
}

/* Image zoom on container hover */
.img-zoom-container {
  overflow: hidden;
}

.img-zoom-container img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.img-zoom-container:hover img {
  transform: scale(1.1);
}

/* Underline animation for links */
.animated-underline {
  position: relative;
}

.animated-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animated-underline:hover::after {
  width: 100%;
}

/* Icon spin on hover */
.icon-spin:hover svg {
  animation: spin 0.6s ease;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Border gradient animation */
.border-gradient {
  position: relative;
  border: none !important;
}

.border-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--primary));
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: shimmer 3s linear infinite;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Tablet */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: rgba(26, 60, 43, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 140px var(--space-2xl) var(--space-2xl);
    gap: var(--space-md);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: 99998 !important;
    /* Just below toggle */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu .nav-link,
  .navbar.scrolled .nav-menu .nav-link {
    color: var(--white) !important;
    font-size: var(--fs-lg);
    padding: var(--space-sm) 0;
    width: 100%;
    text-align: center;
  }

  .nav-menu .nav-cta {
    margin-left: 0;
    margin-top: var(--space-lg);
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

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

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

  .about-intro {
    grid-template-columns: 1fr;
  }

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

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

/* Mobile */
@media (max-width: 576px) {
  .container {
    padding: 0 var(--space-md);
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  /* Fix logo text on mobile */
  .logo-text {
    display: none;
  }

  .logo-img {
    height: 85px;
    /* Maximum visibility */
    width: auto;
  }

  .hero-title {
    font-size: var(--fs-2xl);
  }

  .hero-buttons {
    flex-direction: column;
    gap: var(--space-md);
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .section-subtitle::before,
  .section-subtitle::after {
    display: none;
  }

  /* Fix room card footer on mobile */
  .room-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .room-footer .card-price {
    text-align: center;
    margin-bottom: var(--space-md);
  }

  .room-footer .btn {
    width: 100%;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-social,
  .footer-links a {
    justify-content: center;
  }

  .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .stat-item {
    padding: var(--space-md);
  }

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

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

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

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: 10px;
  }

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

/* Medium mobile - show logo text but smaller */
@media (min-width: 400px) and (max-width: 576px) {
  .logo-text {
    display: block;
    font-size: 0.9rem;
  }
}

/* Small tablets - fix card layout */
@media (min-width: 576px) and (max-width: 768px) {
  .room-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .room-footer .card-price {
    text-align: center;
    margin-bottom: var(--space-md);
  }

  .room-footer .btn {
    width: 100%;
  }
}

/* Hover Effects - Disable on Touch Devices */
@media (hover: none) {
  .card:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }

  .gallery-item:hover img {
    transform: none;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

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

  html {
    scroll-behavior: auto;
  }
}

/* ==========================================
   QUICK WIN ENHANCEMENTS
   ========================================== */

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: var(--z-fixed);
  box-shadow: var(--shadow-lg);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
}

/* Animated Counters */
.stat-number {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-number.counting {
  transition: none;
}

/* Testimonials Section */
.testimonials-section {
  background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
  padding: var(--space-5xl) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 80px;
  color: var(--secondary);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-content {
  font-style: italic;
  color: var(--gray);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: var(--fs-lg);
}

.testimonial-info h5 {
  font-size: var(--fs-base);
  margin-bottom: 2px;
  font-family: var(--font-body);
}

.testimonial-info span {
  font-size: var(--fs-sm);
  color: var(--secondary);
}

.testimonial-stars {
  color: var(--secondary);
  margin-bottom: var(--space-md);
  display: flex;
  gap: 2px;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark);
  color: var(--white);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-tooltip);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  max-width: 90vw;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.toast.success {
  background: linear-gradient(135deg, #10b981, #059669);
}

.toast.error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.toast svg {
  flex-shrink: 0;
}

/* Form Validation Styles */
.form-control.error {
  border-color: #ef4444;
  background-color: rgba(239, 68, 68, 0.05);
}

.form-control.success {
  border-color: #10b981;
  background-color: rgba(16, 185, 129, 0.05);
}

.form-error-message {
  color: #ef4444;
  font-size: var(--fs-xs);
  margin-top: var(--space-xs);
  display: none;
}

.form-control.error+.form-error-message {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 90px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

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

  .testimonial-card {
    padding: var(--space-xl);
  }
}

/* ==========================================
   MICRO-INTERACTIONS & ANIMATIONS (Phase 3)
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  /* Ultra smooth ease */
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays if children have reveal */
.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.reveal:nth-child(4) {
  transition-delay: 0.3s;
}

/* ==========================================
   MOBILE NAVBAR STYLES
   ========================================== */