/* ============================================================
   SWAN TOURS — LUXURY TOURISM DESIGN SYSTEM & CORE STYLES
   ============================================================ */

:root {
  /* Color Palette */
  --primary: #061713;
  --primary-light: #0d2e26;
  --accent: #d4af37;
  --accent-light: #f3cf65;
  --accent-dark: #b59026;
  --secondary: #0c4a60;
  --secondary-light: #126582;
  --bg: #f8f6f0;
  --bg-card: #ffffff;
  --bg-dark: #040e0c;
  
  /* Text Colors */
  --text-dark: #121816;
  --text-medium: #3b4d47;
  --text-light: #6e807a;
  --text-white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.75);

  /* Glassmorphism */
  --glass-bg: rgba(6, 23, 19, 0.75);
  --glass-border: rgba(212, 175, 55, 0.2);
  --glass-card: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-serif-sub: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(6, 23, 19, 0.06);
  --shadow-md: 0 10px 30px rgba(6, 23, 19, 0.1);
  --shadow-lg: 0 20px 50px rgba(6, 23, 19, 0.18);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.3);
  --shadow-dark: 0 25px 60px rgba(0, 0, 0, 0.5);

  /* Transitions */
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;
}

/* CSS Reset & Box Model */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-dark);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--accent);
  color: var(--primary);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
}

/* -------------------------------------------------------------
   TYPOGRAPHY
   ------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
}

.heading-xl {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.heading-lg {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  letter-spacing: -0.01em;
}

.heading-md {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-family: var(--font-serif-sub);
  font-weight: 600;
}

.heading-sm {
  font-size: 1.35rem;
  font-weight: 600;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-label::before,
.section-label::after {
  content: '';
  display: inline-block;
  width: 25px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-medium);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.text-gold {
  color: var(--accent) !important;
}

.text-white {
  color: var(--text-white) !important;
}

/* -------------------------------------------------------------
   LAYOUT & CONTAINERS
   ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 900px;
}

.container-lg {
  max-width: 1540px;
}

.section-pad {
  padding: 120px 0;
}

.section-pad-sm {
  padding: 80px 0;
}

.section-dark {
  background-color: var(--primary);
  color: var(--text-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-white);
}

.section-dark .section-subtitle {
  color: var(--text-muted);
}

.section-teal {
  background-color: var(--secondary);
  color: var(--text-white);
}

.section-sand {
  background-color: var(--bg);
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* -------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--accent) 0%, #e5c158 100%);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.45);
  color: var(--primary);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 34px;
  background: transparent;
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--primary);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.btn-dark:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
}

.btn-link i {
  transition: transform 0.3s ease;
}

.btn-link:hover {
  color: var(--accent-light);
}

.btn-link:hover i {
  transform: translateX(6px);
}

/* -------------------------------------------------------------
   LOADING SCREEN
   ------------------------------------------------------------- */
#loading-screen {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-color: #061713;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-logo {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 2rem;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.loader-bar {
  width: 220px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.loader-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, #fff 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* -------------------------------------------------------------
   FLOATING WIDGETS
   ------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  z-index: 900;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse-ring 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.floating-review {
  position: fixed;
  bottom: 104px;
  right: 32px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent) 0%, #e8c84a 100%);
  color: var(--primary) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.45);
  z-index: 900;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  cursor: pointer;
}

.floating-review:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.65);
  color: var(--primary) !important;
}

.floating-review:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.65);
  color: var(--primary) !important;
}

/* -------------------------------------------------------------
   HERO SECTION (CINEMATIC)
   ------------------------------------------------------------- */
.hero-cinematic-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  background-color: var(--primary);
}

.hero-section {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('../../images/gallery/img1.jpg');
  background-size: cover;
  background-position: center center;
  transform-origin: center center;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(
    180deg,
    rgba(6, 23, 19, 0.55) 0%,
    rgba(6, 23, 19, 0.4) 40%,
    rgba(6, 23, 19, 0.85) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-white);
  padding: 0 20px;
  max-width: 950px;
}

.hero-label {
  letter-spacing: 0.4em;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.4rem, 6.5vw, 6.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.8rem;
  color: #ffffff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
  margin: 0 auto 2.8rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.scroll-indicator {
  width: 22px;
  height: 38px;
  border: 1.5px solid rgba(212, 175, 55, 0.6);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 7px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll-bob 2s infinite ease-in-out;
}

@keyframes scroll-bob {
  0% { transform: translate(-50%, 0); opacity: 1; }
  50% { transform: translate(-50%, 14px); opacity: 0.2; }
  100% { transform: translate(-50%, 0); opacity: 1; }
}

/* -------------------------------------------------------------
   STORYTELLING SCENES (5 CINEMATIC SCROLL SCENES)
   ------------------------------------------------------------- */
.story-wrapper {
  position: relative;
  background-color: var(--primary);
}

.story-scene {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transform-origin: center center;
  will-change: transform;
}

.scene-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(6, 23, 19, 0.4) 0%,
    rgba(6, 23, 19, 0.85) 100%
  );
  z-index: 1;
}

.scene-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-white);
  padding: 0 24px;
  max-width: 900px;
}

.scene-num {
  font-family: var(--font-serif-sub);
  font-size: 1.5rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
  display: block;
}

.scene-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.25rem;
}

.scene-line {
  width: 80px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 2rem;
}

.scene-title {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
  margin-bottom: 1.5rem;
}

.scene-desc {
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

/* -------------------------------------------------------------
   DESTINATIONS SECTION
   ------------------------------------------------------------- */
.destination-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  group: 1;
}

.destination-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.destination-card:hover .destination-img {
  transform: scale(1.08);
}

.destination-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(
    180deg,
    rgba(6, 23, 19, 0) 40%,
    rgba(6, 23, 19, 0.9) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: var(--text-white);
  transition: var(--transition);
}

.destination-card:hover .destination-overlay {
  background: linear-gradient(
    180deg,
    rgba(6, 23, 19, 0.1) 0%,
    rgba(6, 23, 19, 0.95) 100%
  );
}

.destination-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.destination-name {
  font-size: 1.7rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.destination-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  transform: translateY(15px);
  transition: var(--transition);
  max-height: 0;
  overflow: hidden;
}

.destination-card:hover .destination-desc {
  opacity: 1;
  transform: translateY(0);
  max-height: 80px;
}

/* -------------------------------------------------------------
   PACKAGE CARDS (HOMEPAGE & PACKAGES PAGE)
   ------------------------------------------------------------- */
.package-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(6, 23, 19, 0.06);
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.3);
}

.package-img-wrapper {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.package-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.package-card:hover .package-img {
  transform: scale(1.06);
}

.package-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: rgba(6, 23, 19, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.package-duration {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.package-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.package-title {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  transition: var(--transition);
}

.package-card:hover .package-title {
  color: var(--secondary);
}

.package-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.package-highlights-list {
  margin-bottom: 1.75rem;
  border-top: 1px solid rgba(6, 23, 19, 0.06);
  padding-top: 1.25rem;
}

.package-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-medium);
  margin-bottom: 0.6rem;
}

.package-highlight-item i {
  color: var(--accent);
  margin-top: 4px;
  font-size: 0.8rem;
}

.package-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(6, 23, 19, 0.06);
}

.package-price {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

/* -------------------------------------------------------------
   WHY CHOOSE US SECTION
   ------------------------------------------------------------- */
.why-item {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.12);
  transition: var(--transition);
}

.why-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
  transform: translateY(-6px);
}

.why-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent);
  transition: var(--transition);
}

.why-item:hover .why-icon {
  background: var(--accent);
  color: var(--primary);
  transform: rotateY(180deg);
}

.why-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.why-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* -------------------------------------------------------------
   FINAL CTA SECTION
   ------------------------------------------------------------- */
.final-cta {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
  text-align: center;
  color: var(--text-white);
}

.cta-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 120%;
  background-image: url('../../images/gallery/img1.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.cta-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(
    135deg,
    rgba(6, 23, 19, 0.9) 0%,
    rgba(12, 74, 96, 0.8) 100%
  );
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
}

/* -------------------------------------------------------------
   PAGE HERO (INNER PAGES)
   ------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 160px 0 90px;
  background-color: var(--primary);
  color: var(--text-white);
  text-align: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.page-hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(6, 23, 19, 0.6) 0%, rgba(6, 23, 19, 0.95) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.25;
  padding: 4px 0;
  overflow: visible;
}

.page-hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

/* -------------------------------------------------------------
   FOOTER STYLES
   ------------------------------------------------------------- */
.site-footer {
  background-color: #040e0c;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-main {
  padding: 90px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-logo span {
  color: var(--accent);
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
  border-color: var(--accent);
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.footer-contact i {
  color: var(--accent);
  margin-top: 5px;
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* -------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   ------------------------------------------------------------- */
@media (max-width: 1200px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-pad {
    padding: 80px 0;
  }
  .hero-title {
    font-size: clamp(2.2rem, 6vw, 3.4rem);
    line-height: 1.15;
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 1.55rem;
  }
  .floating-review {
    bottom: 82px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
  }
  .hero-title {
    font-size: clamp(1.85rem, 7.8vw, 2.75rem);
    line-height: 1.18;
    letter-spacing: normal;
    padding: 0 5px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-label {
    letter-spacing: 0.22em;
    font-size: 0.85rem;
  }
  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.65;
    padding: 0 5px;
  }
  .hero-content-overlay .container {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline {
    width: 100%;
  }
}

/* 3D BOOK SPLIT OPENING HERO STYLES */
.book-viewport-container {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  background-color: var(--primary);
  perspective: 2000px;
  perspective-origin: 50% 50%;
}

/* UNDERNEATH REVEALED CONTENT (100% CRYSTAL SHARP & FULLY INTERACTIVE) */
.book-under-scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  pointer-events: auto;
}

.under-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  filter: none !important;
}

.under-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(6, 23, 19, 0.35) 0%,
    rgba(6, 23, 19, 0.88) 100%
  );
  pointer-events: none;
}

.under-content {
  position: relative;
  z-index: 30;
  text-align: center;
  color: var(--text-white);
  padding: 0 24px;
  max-width: 900px;
  pointer-events: auto;
}

.under-content a,
.under-content .btn-primary,
.under-content .btn-outline {
  position: relative;
  z-index: 50 !important;
  pointer-events: auto !important;
  cursor: pointer;
}

/* SPLIT DOORS / BOOK COVER (NO VISIBLE SEAM OR BORDER) */
.book-split-doors {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
  pointer-events: none;
}

.book-panel {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
  will-change: transform, opacity;
  border: none !important;
  box-shadow: none;
}

.book-panel-left {
  left: 0;
  transform-origin: left center;
  border: none !important;
}

.book-panel-right {
  right: 0;
  transform-origin: right center;
  border: none !important;
}

.book-panel-bg {
  position: absolute;
  top: 0;
  height: 100%;
  width: 200%;
  background-size: cover;
  background-position: center;
}

.book-panel-left .book-panel-bg {
  left: 0;
}

.book-panel-right .book-panel-bg {
  right: 0;
}

.book-panel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(6, 23, 19, 0.55) 0%,
    rgba(6, 23, 19, 0.35) 40%,
    rgba(6, 23, 19, 0.85) 100%
  );
}

.book-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%);
  opacity: 0;
  pointer-events: none;
}

.book-shadow-right {
  background: linear-gradient(-90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%);
}

/* HERO CONTENT OVERLAY */
.hero-content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 25;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-white);
  pointer-events: auto;
}

/* FOOTER ADMIN LINK */
.footer-admin-link {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.footer-admin-link:hover {
  color: var(--accent);
}

.fb-review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-dark);
}
.fb-review-card:hover .fb-hover-overlay {
  opacity: 1 !important;
}
.fb-review-card:hover .fb-review-img {
  transform: scale(1.03);
}


/* -------------------------------------------------------------
   UNIVERSAL IN-PAGE REVIEW LIGHTBOX
   ------------------------------------------------------------- */
.review-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.review-lightbox-modal.active {
  display: flex;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 23, 19, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox-content-box {
  position: relative;
  z-index: 2;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: lightboxPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes lightboxPop {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
.lightbox-content-box img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  object-fit: contain;
  background: #ffffff;
}
.lightbox-close-btn {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent) 0%, #e8c84a 100%);
  color: var(--primary);
  border: 2px solid #ffffff;
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 10;
}
.lightbox-close-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

/* Review Slide Cards */
.review-slider-track-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.review-slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.review-slide-item {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 280px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  cursor: pointer;
}
.review-slide-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(6, 23, 19, 0.12);
}
.review-slide-inner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.review-slide-inner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  transition: transform 0.4s ease;
}
.review-slide-item:hover .review-slide-inner img {
  transform: scale(1.03);
}
.slide-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 4px;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.badge-ta { background: #00aa6c; }
.badge-fb { background: #1877f2; }

@media (max-width: 992px) {
  .review-slide-item {
    flex: 0 0 calc(50% - 10px);
  }
}
@media (max-width: 640px) {
  .review-slide-item {
    flex: 0 0 100%;
    min-width: 100%;
  }
}
