/* ==========================================
   Musgraph Photography - Custom Styling
   Deep Botanical Luxury Aesthetic + Muted Botanical Cream-Green (#E2ECE9)
   ========================================== */

:root {
  --bg-dark: #021710;
  --bg-wave-emerald: #073123;
  --bg-card: #08281d;
  --bg-card-hover: #0c3628;

  /* Muted Botanical Cream-Green Palette (#E2ECE9) */
  --bg-light-mint: #e2ece9;
  --text-dark-mint: #021710;
  --text-muted-dark: #083325;
  --card-light-bg: #ffffff;
  --border-light-mint: rgba(2, 23, 16, 0.12);

  /* 3-Color Wave Layer Palette */
  --wave-layer-mint: rgba(52, 211, 153, 0.25);
  --wave-layer-teal: #0c4633;
  --wave-layer-emerald: #073123;

  --border-mint: rgba(52, 211, 153, 0.2);
  --accent-mint: #34d399;
  --accent-mint-bright: #39e5a5;
  --text-main: #f0f7f4;
  --text-muted: #94b3a5;
  --text-silver: #a3c2b5;
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Universal Mobile Viewport Safety */
img, svg, iframe, video {
  max-width: 100% !important;
}

body, html {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography Helpers */
.font-serif {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.text-mint {
  color: var(--accent-mint) !important;
}

.text-silver {
  color: var(--text-silver) !important;
}

/* Sharp & High Contrast Hero Text Utility (No Blurry Shadow Smudges) */
.hero-title-shadow {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-text-shadow {
  color: #f0f7f4 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Navbar Customization */
.navbar-luxury {
  background-color: rgba(2, 23, 16, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: none !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.navbar-brand-text {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--accent-mint);
  letter-spacing: -0.02em;
  font-weight: 600;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(74%) sepia(35%) saturate(735%) hue-rotate(104deg) brightness(96%) contrast(88%);
  transition: var(--transition-smooth);
}

.brand-logo-img:hover {
  filter: brightness(0) saturate(100%) invert(80%) sepia(40%) saturate(800%) hue-rotate(104deg) brightness(102%) contrast(92%) drop-shadow(0 0 8px rgba(52, 211, 153, 0.4));
}

/* Nav Link High Contrast Styling */
.nav-link-custom {
  color: #d1e7dd !important;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.55rem 1rem !important;
  border-radius: 8px;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link-custom:hover,
.nav-link-custom:focus,
.nav-link-custom:active,
.nav-link-custom.active {
  color: var(--accent-mint) !important;
  background-color: rgba(52, 211, 153, 0.15) !important;
}

.nav-link-custom.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background-color: var(--accent-mint);
  border-radius: 2px;
}

/* Hide any legacy Bootstrap dropdown containers on mobile screens */
@media (max-width: 991.98px) {
  .navbar-collapse:not(.d-lg-flex) {
    display: none !important;
  }
}

/* ==========================================================================
   SIDE SLIDING MOBILE NAV MENU WITH ENTRANCE ANIMATION (RIGHT-SIDE DRAWER)
   FULL VIEWPORT DYNAMIC HEIGHT (100% TOP-TO-BOTTOM FULLY COVERED)
   ========================================================================== */
.mobile-nav-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--text-main);
  background: none;
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 8px;
  padding: 6px 12px;
  line-height: 1;
  z-index: 1005;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), color 0.3s ease;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus {
  color: var(--accent-mint);
  border-color: var(--accent-mint);
  box-shadow: 0 0 15px rgba(52, 211, 153, 0.35);
}

.mobile-nav-menu {
  display: flex !important;
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 85vw !important;
  max-width: 350px !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(2, 23, 16, 0.98) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(52, 211, 153, 0.25) !important;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.85) !important;
  padding: 1.5rem !important;
  z-index: 999999 !important;
  overflow-y: auto !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transform: translateX(100%) !important;
  opacity: 0 !important;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease !important;
  pointer-events: none;
  visibility: hidden;
}

.mobile-nav-menu.active {
  transform: translateX(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

/* Staggered Item Entrance Animation for Nav Links */
.mobile-nav-menu.active .mobile-nav-list li {
  animation: sideNavLinkSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.mobile-nav-menu.active .mobile-nav-list li:nth-child(1) { animation-delay: 0.10s; }
.mobile-nav-menu.active .mobile-nav-list li:nth-child(2) { animation-delay: 0.16s; }
.mobile-nav-menu.active .mobile-nav-list li:nth-child(3) { animation-delay: 0.22s; }
.mobile-nav-menu.active .mobile-nav-list li:nth-child(4) { animation-delay: 0.28s; }
.mobile-nav-menu.active .mobile-nav-list li:nth-child(5) { animation-delay: 0.34s; }

@keyframes sideNavLinkSlideIn {
  0% {
    opacity: 0;
    transform: translateX(35px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Staggered Entrance for Mobile CTA Footer Button */
.mobile-nav-menu.active .mobile-nav-footer {
  animation: sideNavFooterPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}

@keyframes sideNavFooterPop {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dark Overlay Backdrop Behind Side Menu */
.mobile-nav-backdrop {
  display: block;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 999998 !important;
  opacity: 0 !important;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.38s ease, visibility 0.38s ease !important;
}

.mobile-nav-backdrop.active {
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

body.mobile-nav-active {
  overflow: hidden !important;
}

.mobile-nav-close-btn {
  background: transparent;
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--text-main);
  font-size: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.mobile-nav-close-btn:hover {
  background: var(--accent-mint);
  color: var(--bg-dark);
  border-color: var(--accent-mint);
}

.mobile-nav-link {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 16px 12px;
  color: rgba(240, 247, 244, 0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(52, 211, 153, 0.12);
  transition: var(--transition-smooth);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--accent-mint);
  padding-left: 18px;
  background: rgba(52, 211, 153, 0.08);
  border-radius: 8px;
}

/* ==========================================================================
   ENHANCED INTERSECTION OBSERVER SCROLL REVEAL & STAGGER ANIMATIONS
   Smooth Fade & Slide-Up Reveal as user scrolls down on any page
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: none !important;
}

/* Staggered Column Reveals */
.row > [class*="col-"]:nth-child(1) .reveal-on-scroll { transition-delay: 0.05s; }
.row > [class*="col-"]:nth-child(2) .reveal-on-scroll { transition-delay: 0.18s; }
.row > [class*="col-"]:nth-child(3) .reveal-on-scroll { transition-delay: 0.30s; }
.row > [class*="col-"]:nth-child(4) .reveal-on-scroll { transition-delay: 0.42s; }

/* Gentle Floating Animation for Hero Badge */
.badge-mint-tag {
  animation: heroBadgeFloat 4s ease-in-out infinite alternate;
}

@keyframes heroBadgeFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

/* Interactive Card Elevate & Icon Rotate Effects */
.card-luxury {
  background-color: var(--bg-card);
  border: 1px solid var(--border-mint);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s ease, 
              background-color 0.35s ease, 
              border-color 0.35s ease;
  word-break: break-word;
}

.card-luxury:hover {
  background-color: var(--bg-card-hover);
  border-color: rgba(52, 211, 153, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(2, 23, 16, 0.6), 0 0 20px rgba(52, 211, 153, 0.15);
}

.card-luxury:hover i.bi {
  transform: scale(1.1) rotate(4deg);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-light-luxury {
  background-color: var(--card-light-bg);
  border: 1.5px solid rgba(2, 23, 16, 0.15);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(2, 23, 16, 0.06);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s ease, 
              border-color 0.35s ease;
  color: var(--text-dark-mint);
  word-break: break-word;
}

.card-light-luxury:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(2, 23, 16, 0.14);
  border-color: rgba(2, 23, 16, 0.3);
}

/* Button Interactive Motion & Arrow Animation */
.btn-mint-solid,
.btn-mint-outline,
.btn-dark-emerald,
.btn-dark-outline {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s ease, 
              background-color 0.3s ease, 
              color 0.3s ease;
}

.btn-mint-solid i.bi,
.btn-mint-outline i.bi,
.btn-dark-emerald i.bi,
.btn-dark-outline i.bi {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-mint-solid:hover i.bi,
.btn-mint-outline:hover i.bi,
.btn-dark-emerald:hover i.bi,
.btn-dark-outline:hover i.bi {
  transform: translateX(4px);
}

.btn-mint-outline {
  border: 1px solid var(--accent-mint);
  color: var(--accent-mint);
  background: transparent;
  padding: 0.55rem 1.75rem;
  border-radius: 50px;
  font-size: 0.825rem;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.btn-mint-outline:hover,
.btn-mint-outline:focus,
.btn-mint-outline:active {
  background: var(--accent-mint);
  color: var(--bg-dark);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.35);
  transform: translateY(-3px);
}

.btn-mint-solid {
  background: var(--accent-mint);
  color: var(--bg-dark);
  border: 1px solid var(--accent-mint);
  padding: 0.65rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.btn-mint-solid:hover,
.btn-mint-solid:focus,
.btn-mint-solid:active {
  background: var(--accent-mint-bright);
  box-shadow: 0 0 25px rgba(52, 211, 153, 0.45);
  transform: translateY(-3px);
}

/* Dark Emerald Button for Light Sections */
.btn-dark-emerald {
  background-color: #021710;
  color: #ffffff;
  border: 1px solid #021710;
  padding: 0.6rem 1.8rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.btn-dark-emerald:hover {
  background-color: #073123;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(2, 23, 16, 0.3);
  transform: translateY(-3px);
}

.btn-dark-outline {
  border: 1.5px solid #021710;
  color: #021710;
  background: transparent;
  padding: 0.55rem 1.75rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.btn-dark-outline:hover {
  background: #021710;
  color: #ffffff;
  transform: translateY(-3px);
}

.card-luxury-popular {
  border: 1.5px solid var(--accent-mint);
  box-shadow: 0 0 30px rgba(52, 211, 153, 0.12);
  background-color: #0c3628;
}

.card-light-popular {
  border: 2px solid #021710;
  box-shadow: 0 12px 35px rgba(2, 23, 16, 0.15);
  background-color: #ffffff;
}

/* Isolated Green Ambient Gradient Cards specifically for Package Pricing Cards on paket.html */
.card-pkg-green {
  position: relative;
  background: 
    radial-gradient(circle at 90% 12%, rgba(52, 211, 153, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 10% 88%, rgba(12, 70, 51, 0.6) 0%, transparent 50%),
    linear-gradient(145deg, #093426 0%, #041d15 100%);
  border: 1.5px solid var(--border-mint);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(2, 23, 16, 0.25);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s ease, 
              border-color 0.35s ease;
  color: var(--text-main);
  word-break: break-word;
}

.card-pkg-green::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.32) 0%, rgba(57, 229, 165, 0.08) 50%, transparent 75%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.card-pkg-green:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(2, 23, 16, 0.38), 0 0 25px rgba(52, 211, 153, 0.2);
  border-color: rgba(52, 211, 153, 0.55);
}

.card-pkg-popular {
  position: relative;
  background: 
    radial-gradient(circle at 92% 8%, rgba(52, 211, 153, 0.38) 0%, transparent 48%),
    radial-gradient(circle at 8% 92%, rgba(15, 80, 58, 0.7) 0%, transparent 55%),
    linear-gradient(145deg, #0c4331 0%, #052319 100%);
  border: 2px solid var(--accent-mint);
  box-shadow: 0 16px 42px rgba(2, 23, 16, 0.35), 0 0 30px rgba(52, 211, 153, 0.22);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  color: var(--text-main);
  word-break: break-word;
}

.card-pkg-popular::before {
  content: '';
  position: absolute;
  top: -45px;
  right: -45px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.42) 0%, rgba(57, 229, 165, 0.12) 55%, transparent 75%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.card-pkg-popular::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.card-pkg-popular:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(2, 23, 16, 0.45), 0 0 35px rgba(52, 211, 153, 0.35);
}

/* White Card for Reservation Form with Soft Luxury Shadow */
.card-booking-white {
  background-color: #ffffff !important;
  border: 1.5px solid rgba(2, 23, 16, 0.12) !important;
  border-radius: 18px !important;
  box-shadow: 0 16px 45px rgba(2, 23, 16, 0.12) !important;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.card-booking-white:hover {
  box-shadow: 0 20px 55px rgba(2, 23, 16, 0.16) !important;
}

/* Campus Filter Buttons Styling */
.btn-campus-filter {
  background-color: #ffffff;
  color: #021710;
  border: 1.5px solid rgba(2, 23, 16, 0.18);
  padding: 0.55rem 1.25rem;
  border-radius: 50rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(2, 23, 16, 0.05);
}

.btn-campus-filter:hover {
  background-color: #042419;
  color: #34d399;
  border-color: #042419;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(2, 23, 16, 0.15);
}

.btn-campus-filter.active {
  background-color: #021710;
  color: #34d399;
  border-color: #021710;
  box-shadow: 0 4px 18px rgba(2, 23, 16, 0.25);
}

/* Section Badges */
.badge-mint-tag {
  background: rgba(52, 211, 153, 0.1);
  color: var(--accent-mint);
  border: 1px solid rgba(52, 211, 153, 0.22);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.35em 0.85em;
  border-radius: 4px;
}

.badge-dark-tag {
  background: rgba(2, 23, 16, 0.08);
  color: #021710;
  border: 1px solid rgba(2, 23, 16, 0.2);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.35em 0.85em;
  border-radius: 4px;
}

/* HERO SECTION BACKGROUND WITH USER'S HERO-2.WEBP IMAGE */
.hero-section {
  position: relative;
  min-height: 85vh;
  background: linear-gradient(180deg, rgba(2, 23, 16, 0.48) 0%, rgba(7, 49, 35, 0.55) 55%, rgba(2, 23, 16, 0.85) 100%),
              url('../img/hero-2.webp') center center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  padding-top: 110px;
}

/* ================= ORGANIC WAVY SECTION CONTAINERS ================= */
.wavy-section-container {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
}

/* Emerald Dark Banner (#073123) */
.wavy-banner-emerald {
  background-color: var(--bg-wave-emerald);
  color: var(--text-main);
  margin: 0;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

/* Muted Botanical Cream-Green Banner (#E2ECE9) */
.wavy-banner-light-mint {
  background-color: var(--bg-light-mint);
  color: var(--text-dark-mint);
  margin: 0;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.wavy-banner-light-mint h1,
.wavy-banner-light-mint h2,
.wavy-banner-light-mint h3,
.wavy-banner-light-mint h4,
.wavy-banner-light-mint .h4,
.wavy-banner-light-mint .h5 {
  color: var(--text-dark-mint);
}

.wavy-banner-light-mint p,
.wavy-banner-light-mint .text-silver,
.wavy-banner-light-mint .accordion-body {
  color: var(--text-muted-dark);
}

/* EXPLICIT CTA CARD OVERRIDES FOR LIGHT MINT CONTAINERS */
.wavy-banner-light-mint .card-luxury h1,
.wavy-banner-light-mint .card-luxury h2,
.wavy-banner-light-mint .card-luxury h3,
.wavy-banner-light-mint .card-luxury h4,
.wavy-banner-light-mint .card-luxury .h3,
.wavy-banner-light-mint .card-luxury .display-5 {
  color: #f0f7f4 !important;
}

.wavy-banner-light-mint .card-luxury p,
.wavy-banner-light-mint .card-luxury .text-silver {
  color: #a3c2b5 !important;
}

.wavy-banner-light-mint .card-luxury .badge-mint-tag {
  color: #34d399 !important;
  background: rgba(52, 211, 153, 0.1) !important;
  border: 1px solid rgba(52, 211, 153, 0.22) !important;
}

/* ANTI-GAP SUBPIXEL STYLING FOR MOBILE SVG WAVY DIVIDERS */
.wave-svg-top,
.wave-svg-bottom {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -2px;
  margin-bottom: -2px;
  padding: 0;
  position: relative;
  z-index: 3;
}

.wave-svg-top svg,
.wave-svg-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 2px);
  height: 120px;
  margin: 0;
  transform: scaleY(1.04);
  transform-origin: center center;
  shape-rendering: geometricPrecision;
}

/* 3-Color Wave Layer Fills */
.layer-mint-glow {
  fill: var(--wave-layer-mint);
}

.layer-teal {
  fill: var(--wave-layer-teal);
}

.layer-light-mint-glow {
  fill: rgba(52, 211, 153, 0.25);
}

.layer-light-mint-teal {
  fill: #b8d4c8;
}

.fill-emerald {
  fill: var(--bg-wave-emerald);
}

.fill-dark {
  fill: var(--bg-dark);
}

.fill-light-mint {
  fill: var(--bg-light-mint);
}

/* Gallery Grid & Interactive Lightbox Hover Overlay */
.gallery-img-wrapper {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-img-wrapper.vertical {
  aspect-ratio: 3 / 4;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Interactive Gallery Hover Overlay for Pop-up Lightbox */
.gallery-hover-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(2, 23, 16, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.gallery-hover-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 18px 40px rgba(2, 23, 16, 0.22);
}

.gallery-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 23, 16, 0.1) 0%, rgba(2, 23, 16, 0.85) 100%);
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
}

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

.gallery-hover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Dark Input Controls */
.form-dark-control {
  background-color: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--border-mint) !important;
  color: var(--text-main) !important;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.form-dark-control:focus {
  border-color: var(--accent-mint) !important;
  box-shadow: 0 0 15px rgba(52, 211, 153, 0.25) !important;
  transform: translateY(-1px);
}

.form-dark-control::placeholder {
  color: #617a70;
}

/* Light Input Controls for #E2ECE9 Sections */
.form-light-control {
  background-color: #ffffff !important;
  border: 1.5px solid rgba(2, 23, 16, 0.22) !important;
  color: #021710 !important;
  font-weight: 500;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-light-control:focus {
  border-color: #021710 !important;
  box-shadow: 0 0 0 3px rgba(2, 23, 16, 0.12) !important;
  transform: none;
}

.form-light-control::placeholder {
  color: #4f6c61;
}

/* Accordion Custom Styling (Dark & Light) */
.accordion-luxury .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-mint);
  transition: var(--transition-smooth);
}

.accordion-luxury .accordion-button {
  background: transparent;
  color: var(--text-main);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  padding: 1.35rem 0;
  box-shadow: none;
  transition: var(--transition-smooth);
}

.accordion-luxury .accordion-button:not(.collapsed) {
  color: var(--accent-mint);
  background: transparent;
}

.accordion-luxury .accordion-button::after {
  filter: invert(72%) sepia(45%) saturate(541%) hue-rotate(106deg) brightness(97%) contrast(92%);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.accordion-luxury .accordion-body {
  color: var(--text-silver);
  padding: 0 0 1.35rem 0;
  font-size: 0.95rem;
}

/* Light Accordion Styling */
.accordion-light .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(2, 23, 16, 0.18);
  transition: var(--transition-smooth);
}

.accordion-light .accordion-button {
  background: transparent;
  color: var(--text-dark-mint);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  padding: 1.35rem 0;
  box-shadow: none;
  transition: var(--transition-smooth);
}

.accordion-light .accordion-button:not(.collapsed) {
  color: #021710;
  font-weight: 700;
  background: transparent;
}

.accordion-light .accordion-body {
  color: var(--text-muted-dark);
  padding: 0 0 1.35rem 0;
  font-size: 0.95rem;
}

/* Social Icon Buttons */
.social-icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-mint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-mint);
  transition: var(--transition-smooth);
  text-decoration: none;
  font-size: 1.1rem;
}

.social-icon-btn:hover {
  background: var(--accent-mint);
  color: var(--bg-dark);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.4);
}

.social-icon-btn-light {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(2, 23, 16, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #021710;
  transition: var(--transition-smooth);
  text-decoration: none;
  font-size: 1.1rem;
}

.social-icon-btn-light:hover {
  background: #021710;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(2, 23, 16, 0.25);
}

/* Footer Styling */
footer {
  border-top: none !important;
}

/* ==========================================================================
   PERFECT ALL-DEVICE MOBILE RESPONSIVENESS AUDIT & FIXES
   Prevents any text clipping, card overflow, or element cut-offs on all mobile viewports
   ========================================================================== */

/* Breadcrumb Mobile & Desktop Custom Styling */
.breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 0.4rem 1.1rem;
  margin: 0 auto;
  border-radius: 50rem;
  background: rgba(2, 23, 16, 0.65);
  border: 1px solid rgba(196, 215, 209, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.breadcrumb-item {
  font-size: 0.8125rem;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.breadcrumb-item a {
  color: var(--text-silver);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--accent-mint);
}

/* Remove default Bootstrap ::before separator to prevent orphan leading slashes on wrapped lines */
.breadcrumb-item + .breadcrumb-item::before {
  display: none !important;
  content: none !important;
}

/* Add separator AFTER each non-last item so slashes stay attached to the preceding item */
.breadcrumb-item:not(:last-child)::after {
  content: "/";
  display: inline-block;
  color: rgba(196, 215, 209, 0.45);
  padding: 0 0.5rem;
  font-size: 0.8125rem;
}

.breadcrumb-item.active {
  font-weight: 500;
  color: var(--accent-mint) !important;
}

/* Tablet & iPad Adjustments (<991.98px) */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: 70vh;
    padding-top: 105px;
    padding-bottom: 1rem;
  }

  .wave-svg-top svg,
  .wave-svg-bottom svg {
    height: 70px;
  }

  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .p-5 {
    padding: 2.25rem !important;
  }
}

/* Mobile Devices (<767.98px) */
@media (max-width: 767.98px) {
  .display-3 {
    font-size: 2.1rem !important;
    line-height: 1.25;
  }

  .display-4 {
    font-size: 1.75rem !important;
    line-height: 1.3;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .display-5 {
    font-size: 1.65rem !important;
    line-height: 1.3;
  }

  .display-6 {
    font-size: 1.35rem !important;
  }

  .hero-section {
    min-height: auto;
    padding-top: 95px;
    padding-bottom: 1.5rem;
  }

  .wave-svg-top svg,
  .wave-svg-bottom svg {
    height: 50px;
  }

  .card-luxury,
  .card-light-luxury {
    border-radius: 14px;
  }

  .p-5 {
    padding: 1.75rem 1.25rem !important;
  }

  .py-5 {
    padding-top: 2.25rem !important;
    padding-bottom: 2.25rem !important;
  }

  .accordion-luxury .accordion-button,
  .accordion-light .accordion-button {
    font-size: 1.1rem !important;
    padding: 1rem 0 !important;
  }

  .badge-mint-tag,
  .badge-dark-tag {
    white-space: normal;
    text-align: center;
    max-width: 100%;
    font-size: 0.725rem !important;
    padding: 0.35rem 0.75rem !important;
  }

  /* Breadcrumb Mobile Tuning */
  .breadcrumb {
    padding: 0.35rem 0.85rem;
    max-width: 100%;
  }

  .breadcrumb-item {
    font-size: 0.75rem;
  }

  .breadcrumb-item:not(:last-child)::after {
    padding: 0 0.35rem;
    font-size: 0.75rem;
  }

  /* Article Content Mobile Fine-tuning */
  .article-content {
    font-size: 0.9375rem !important;
    line-height: 1.7 !important;
  }

  .article-content .fs-5 {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
  }

  .article-content h2 {
    font-size: 1.3rem !important;
    margin-top: 2.25rem !important;
    margin-bottom: 0.85rem !important;
  }

  .table-responsive table {
    font-size: 0.8125rem;
  }

  .table-responsive th,
  .table-responsive td {
    padding: 0.5rem 0.6rem;
  }
}

/* Small Smartphone Devices (<575.98px - e.g. iPhone SE, compact Androids) */
@media (max-width: 575.98px) {
  .display-3 {
    font-size: 1.75rem !important;
    line-height: 1.25;
  }

  .display-4 {
    font-size: 1.45rem !important;
    line-height: 1.35;
  }

  .display-5 {
    font-size: 1.35rem !important;
  }

  .display-6 {
    font-size: 1.15rem !important;
  }

  .hero-section {
    padding-top: 90px;
    padding-bottom: 1rem;
  }

  .hero-section .fs-5 {
    font-size: 0.95rem !important;
  }

  .btn-mint-solid,
  .btn-mint-outline,
  .btn-dark-emerald,
  .btn-dark-outline {
    width: 100% !important;
    text-align: center !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.85rem !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .wave-svg-top svg,
  .wave-svg-bottom svg {
    height: 38px;
  }

  .p-5 {
    padding: 1.5rem 1rem !important;
  }

  .p-4 {
    padding: 1.25rem 1rem !important;
  }

  .modal-dialog {
    margin: 0.5rem;
  }

  .gallery-hover-card {
    border-radius: 12px;
  }

  /* Breadcrumb Small Mobile Truncation & Padding */
  .breadcrumb {
    padding: 0.3rem 0.75rem;
    font-size: 0.725rem;
    border-radius: 20px;
  }

  .breadcrumb-item {
    font-size: 0.725rem;
    white-space: nowrap;
  }

  .breadcrumb-item:not(:last-child)::after {
    padding: 0 0.25rem;
    font-size: 0.725rem;
  }

  .breadcrumb-item.active {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}