/* ============================================================
   MR. WRITE TEA & GIFT SHOP — Custom Styles
   ============================================================
   Color Palette:
     Primary:   #f5d98f (Creamy Yellow)
     Secondary: #cc6818 (Rich Orange)
     Accent 1:  #3158a5 (Deep Ocean Blue)
     Accent 2:  #b5d3ed (Sky Blue)
     Accent 3:  #ea1c29 (Vibrant Red)
     Background:#fffdf5 (Warm White)
   ============================================================ */

/* ----------------------------------------------------------
   CSS CUSTOM PROPERTIES
   ---------------------------------------------------------- */
:root {
  --clr-primary: #f5d98f;
  --clr-secondary: #cc6818;
  --clr-ocean: #3158a5;
  --clr-sky: #b5d3ed;
  --clr-red: #ea1c29;
  --clr-bg: #fffdf5;
  --clr-bg-alt: #fef8e8;
  --clr-text: #2d2a24;
  --clr-text-muted: #6b6560;
  --clr-white: #ffffff;

  --ff-heading: 'Fredoka', sans-serif;
  --ff-body: 'Nunito', sans-serif;

  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lifted: 0 8px 32px rgba(0, 0, 0, 0.10);
  --radius: 1rem;
  --radius-sm: 0.5rem;

  --transition: 0.3s ease;
}

/* This highlights EVERY box on the page */
/* * {
    outline: 1px solid red !important;
} */

/* ----------------------------------------------------------
   RESET & BASE
   ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--ff-body);
  color: var(--clr-text);
  background-color: var(--clr-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--clr-ocean);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--clr-secondary);
}

img {
  max-width: 100%;
  height: auto;
}

/* ----------------------------------------------------------
   UTILITY CLASSES
   ---------------------------------------------------------- */
.highlight {
  color: var(--clr-secondary);
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 6px;
  background: var(--clr-primary);
  border-radius: 3px;
  z-index: -1;
  opacity: 0.7;
}

.section-overline {
  font-family: var(--ff-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--clr-secondary);
  margin-bottom: 0.5rem;
}

.section-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
  color: var(--clr-text);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-body {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  margin-bottom: 1rem;
}

/* ----------------------------------------------------------
   NAVBAR
   ---------------------------------------------------------- */
.navbar {
  transition: all var(--transition);
  background: transparent;
  /* background: rgba(255, 253, 245, 0.95); */
}

.navbar.scrolled {
  background: rgba(255, 253, 245, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  padding: 0.0rem 0;
}

.navbar-brand {
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--clr-white) !important;
  transition: color var(--transition);
  display: flex;
  align-items: center;
}

.navbar-logo {
  max-height: 90px;
  width: auto;
  transition: filter var(--transition), opacity var(--transition);
}

.navbar.scrolled .navbar-logo {
  filter: none;
}

.nav-link {
  font-family: var(--ff-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
}

.navbar.scrolled .nav-link {
  color: var(--clr-text) !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--clr-primary) !important;
  background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--clr-secondary) !important;
  background: rgba(204, 104, 24, 0.08);
}

.navbar-toggler {
  /* border: 2px solid rgba(255, 255, 255, 0.5); */
  padding: 0.4rem 0.6rem;
  cursor: pointer;
}

.navbar-toggler-icon {
  /* filter: brightness(0) invert(1); */
}

.navbar.scrolled .navbar-toggler-icon {
  filter: none;
}

/* ----------------------------------------------------------
   HERO SECTION
   ---------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #3158a5 0%, #1d3d6f 40%, #cc6818 100%);
  overflow: hidden;
}

/* Decorative dots pattern */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(245, 217, 143, 0.12) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 2;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

.hero-text {
  position: relative;
  z-index: 3;
  padding: 2rem 0;
}

.hero-tagline {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--clr-primary);
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-headline {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero-headline .highlight {
  color: var(--clr-primary);
}

.hero-headline .highlight::after {
  background: var(--clr-secondary);
  opacity: 0.5;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-cta {
  animation: fadeInUp 0.8s ease-out 0.45s both;
}

.hero-cta .btn-primary {
  background: var(--clr-secondary);
  border-color: var(--clr-secondary);
  font-family: var(--ff-heading);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}

.hero-cta .btn-primary:hover {
  background: #b55a14;
  border-color: #b55a14;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204, 104, 24, 0.4);
}

.hero-cta .btn-outline-light {
  font-family: var(--ff-heading);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  border-width: 2px;
  cursor: pointer;
  transition: all var(--transition);
}

.hero-cta .btn-outline-light:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: var(--clr-text) !important;
  transform: translateY(-2px);
}

/* ----------------------------------------------------------
   STEAMING CUP ANIMATION
   ---------------------------------------------------------- */
.teacup-wrapper {
  position: relative;
  z-index: 3;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.steam-container {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: -8px;
}

.steam {
  width: 8px;
  height: 50px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  animation: steamRise 2.5s ease-in-out infinite;
}

.steam-1 { animation-delay: 0s; }
.steam-2 { animation-delay: 0.4s; height: 60px; }
.steam-3 { animation-delay: 0.8s; }

@keyframes steamRise {
  0% {
    opacity: 0;
    transform: translateY(0) scaleX(1);
  }
  15% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.3;
    transform: translateY(-30px) scaleX(1.5);
  }
  100% {
    opacity: 0;
    transform: translateY(-60px) scaleX(2);
  }
}

.teacup-body {
  width: 160px;
  height: 110px;
  background: var(--clr-primary);
  border-radius: 8px 8px 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: inset 0 -20px 40px rgba(204, 104, 24, 0.2);
}

.teacup-logo {
  max-height: 50px;
  width: auto;
  margin-top: -10px;
  /* filter: sepia(1) saturate(3) hue-rotate(-10deg) brightness(0.6); */
}

.teacup-handle {
  position: absolute;
  right: 6px;
  top: 18px;
  width: 36px;
  height: 50px;
  border: 6px solid var(--clr-primary);
  border-left: none;
  border-radius: 0 25px 25px 0;
}

.teacup {
  position: relative;
  display: inline-block;
}

.teacup-saucer {
  width: 200px;
  height: 16px;
  background: var(--clr-primary);
  border-radius: 0 0 50% 50%;
  margin: -2px auto 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  left: -20px;
}

/* Gentle wobble for the cup */
.teacup-wrapper {
  animation: gentleFloat 4s ease-in-out infinite, fadeInUp 1s ease-out 0.5s both;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

/* ----------------------------------------------------------
   ABOUT SECTION
   ---------------------------------------------------------- */
.section-about {
  padding: 6rem 0;
  background: var(--clr-bg);
}

.about-image-stack {
  position: relative;
  min-height: 350px;
}

.illustrated-card {
  width: 260px;
  height: 300px;
  background: linear-gradient(145deg, var(--clr-primary), #f0c96e);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lifted);
  transition: transform var(--transition);
}

.illustrated-card:hover {
  transform: rotate(-2deg) scale(1.03);
}

.illustrated-card-inner {
  text-align: center;
  color: var(--clr-secondary);
}

.illustrated-card-inner i {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
}

.illustrated-card-inner p {
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0;
}

.about-img-accent {
  position: absolute;
  bottom: -20px;
  right: 20px;
}

.illustrated-card-small {
  width: 160px;
  height: 180px;
  background: linear-gradient(145deg, var(--clr-sky), #93c4e8);
  transform: rotate(5deg);
}

.illustrated-card-small:hover {
  transform: rotate(2deg) scale(1.05);
}

.illustrated-card-small .illustrated-card-inner i {
  font-size: 2.5rem;
  color: var(--clr-ocean);
}

.illustrated-card-small .illustrated-card-inner p {
  font-size: 0.9rem;
  color: var(--clr-ocean);
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

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

.stat-number {
  display: block;
  font-family: var(--ff-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-secondary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ----------------------------------------------------------
   EVENTS SECTION
   ---------------------------------------------------------- */
.section-events {
  padding: 6rem 0;
  background: var(--clr-bg-alt);
  position: relative;
}

/* Subtle top pattern */
.section-events::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--clr-primary) 0px,
    var(--clr-primary) 20px,
    var(--clr-secondary) 20px,
    var(--clr-secondary) 40px,
    var(--clr-ocean) 40px,
    var(--clr-ocean) 60px,
    var(--clr-red) 60px,
    var(--clr-red) 80px
  );
}

.event-card {
  background: var(--clr-white);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

/* Decorative corner */
.event-card::before {
  content: '☕';
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 5rem;
  opacity: 0.06;
  transform: rotate(15deg);
}

.event-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: var(--clr-white);
}

.event-card-date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--clr-ocean);
  color: var(--clr-white);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.event-day {
  font-family: var(--ff-heading);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.event-num {
  font-family: var(--ff-heading);
  font-size: 2rem;
  font-weight: 700;
}

.event-month {
  font-family: var(--ff-heading);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.event-card-title {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: var(--clr-text);
}

.event-card-desc {
  color: var(--clr-text-muted);
  font-size: 1rem;
  max-width: 450px;
  margin: 0 auto 1rem;
}

.event-card-time {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-secondary);
  background: rgba(204, 104, 24, 0.08);
  padding: 0.4rem 1rem;
  border-radius: 50px;
}

.btn-calendar {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-white);
  background: var(--clr-ocean);
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-calendar:hover {
  background: var(--clr-secondary);
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(204, 104, 24, 0.3);
}

/* Carousel controls styling */

/* ----------------------------------------------------------
   PEEK CAROUSEL — 3-card view with active card centred
   ---------------------------------------------------------- */
.peek-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 60px;
}

.peek-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  position: relative;
  min-height: 380px;
}

/* Individual event card in the peek track */
.peek-card {
  flex: 0 0 auto;
  width: 100%;
  max-width: 480px;
  position: absolute;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* Centre / active card */
.peek-card.peek-active {
  position: relative;
  z-index: 3;
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* Previous card — peeking from the left */
.peek-card.peek-left {
  z-index: 1;
  transform: translateX(-75%) scale(0.82);
  opacity: 0.45;
  filter: blur(1px);
}

/* Next card — peeking from the right */
.peek-card.peek-right {
  z-index: 1;
  transform: translateX(75%) scale(0.82);
  opacity: 0.45;
  filter: blur(1px);
}

/* Cards further away — hidden */
.peek-card.peek-hidden {
  z-index: 0;
  transform: scale(0.7);
  opacity: 0;
  pointer-events: none;
}

/* Event card inner styling stays the same */
.event-card {
  transition: all 0.5s ease;
}

/* Navigation arrows */
.peek-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--clr-ocean);
  border: none;
  border-radius: 50%;
  color: var(--clr-white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 5;
  opacity: 0.9;
}

.peek-nav:hover {
  opacity: 1;
  background: var(--clr-secondary);
}

.peek-prev { left: 0; }
.peek-next { right: 0; }

/* Indicators */
.peek-indicators {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
}

.peek-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(204, 104, 24, 0.3);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.peek-dot.active {
  background: var(--clr-secondary);
  width: 32px;
  border-radius: 6px;
}

/* Mobile: stack single card, no peek */
@media (max-width: 768px) {
  .peek-carousel {
    padding: 0 1rem;
  }

  .btn-calendar {
    margin-top: 1rem;
  }

  .peek-card.peek-left,
  .peek-card.peek-right {
    display: none;
  }

  .peek-nav {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .peek-prev { left: -0.25rem; }
  .peek-next { right: -0.25rem; }
}

/* ----------------------------------------------------------
   BOOKING SECTION
   ---------------------------------------------------------- */
.section-booking {
  padding: 6rem 0;
  background: var(--clr-bg);
}

.section-booking .section-overline {
  color: var(--clr-secondary);
}

.section-booking .section-heading {
  color: var(--clr-text);
  margin-bottom: 0.5rem;
}

.section-booking .section-subtitle {
  color: var(--clr-text-muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.btn-booking {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-white);
  background: var(--clr-ocean);
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
}

.btn-booking:hover {
  background: var(--clr-secondary);
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(204, 104, 24, 0.3);
}


/* ----------------------------------------------------------
   TEA-O-METER SECTION
   ---------------------------------------------------------- */
.section-teaometer {
  padding: 6rem 0;
  background: var(--clr-bg-alt);
}

.teaometer-widget {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.mood-prompt {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--clr-text);
  text-align: center;
  margin-bottom: 1.5rem;
}

.mood-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 576px) {
  .mood-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .navbar-logo {
    max-height: 50px;
  }
}

.mood-btn {
  background: var(--clr-white);
  border: 2px solid #eee;
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.mood-btn:hover {
  border-color: var(--clr-secondary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lifted);
}

.mood-btn:active {
  transform: translateY(-2px) scale(0.97);
}

.mood-emoji {
  font-size: 2.5rem;
  line-height: 1;
}

.mood-label {
  font-family: var(--ff-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-text);
}

/* Tea Result Card */
.tea-result {
  display: none;
}

.tea-result.show {
  display: block;
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tea-result-card {
  background: linear-gradient(145deg, var(--clr-white), var(--clr-bg-alt));
  border: 2px solid var(--clr-primary);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-lifted);
}

.tea-result-emoji {
  font-size: 4rem;
  margin-bottom: 0.75rem;
  animation: bounce 0.6s ease 0.3s;
}

.tea-result-name {
  font-size: 1.6rem;
  color: var(--clr-secondary);
  margin-bottom: 0.5rem;
}

.tea-result-desc {
  color: var(--clr-text-muted);
  font-size: 1rem;
  max-width: 450px;
  margin: 0 auto;
}

#tryAgainBtn {
  font-family: var(--ff-heading);
  font-weight: 600;
  border-color: var(--clr-ocean);
  color: var(--clr-ocean);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}

#tryAgainBtn:hover {
  background: var(--clr-ocean);
  color: var(--clr-white);
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* ----------------------------------------------------------
   GALLERY SECTION — Scrapbook style
   ---------------------------------------------------------- */
.section-gallery {
  padding: 6rem 0;
  background: var(--clr-bg);
}

/* Scrapbook card — thick border, shadow, slight random tilt */
.gallery-card {
  border-radius: 4px;
  overflow: hidden;
  background: var(--clr-white);
  border: 10px solid var(--clr-white);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.08),
    0 6px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

/* Tilt classes applied by JS with random rotation */
.gallery-card.tilt-1  { transform: rotate(-2deg); }
.gallery-card.tilt-2  { transform: rotate(1.5deg); }
.gallery-card.tilt-3  { transform: rotate(-1deg); }
.gallery-card.tilt-4  { transform: rotate(2deg); }
.gallery-card.tilt-5  { transform: rotate(-0.5deg); }
.gallery-card.tilt-6  { transform: rotate(1deg); }

/* Hover: straighten + lift + scale */
.gallery-card:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.03) !important;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.gallery-card-img {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
}

.gallery-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

/* Placeholder icon — shown when no images loaded yet */
.gallery-placeholder-icon {
  font-size: 3.5rem;
  color: rgba(0, 0, 0, 0.15);
  transition: all var(--transition);
}

.gallery-card:hover .gallery-placeholder-icon {
  transform: scale(1.15);
  color: rgba(0, 0, 0, 0.25);
}

.gallery-card-body {
  padding: 1rem 0.75rem 0.75rem;
}

.gallery-card-body h5 {
  font-family: var(--ff-heading);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  color: var(--clr-text);
}

.gallery-card-body p {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  margin: 0;
}

/* External link badge on cards */
.gallery-link-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: var(--clr-ocean);
  color: var(--clr-white);
  font-family: var(--ff-heading);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 3;
}

/* Image count badge */
.gallery-count-badge {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.55);
  color: var(--clr-white);
  font-family: var(--ff-heading);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 50px;
  z-index: 3;
}

/* Gallery error fallback */
.gallery-error {
  padding: 3rem;
  color: var(--clr-text-muted);
  font-family: var(--ff-heading);
}

.gallery-error i {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--clr-secondary);
}

/* ----------------------------------------------------------
   LIGHTBOX MODAL
   ---------------------------------------------------------- */
.lightbox-content {
  background: transparent;
  border: none;
  box-shadow: none;
}

.lightbox-close {
  position: absolute;
  top: -2rem;
  right: 0;
  z-index: 10;
  filter: invert(1);
  opacity: 0.8;
  cursor: pointer;
  transition: opacity var(--transition);
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-body {
  padding: 0;
  position: relative;
  text-align: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-sm);
  border: 8px solid var(--clr-white);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  object-fit: contain;
}

.lightbox-caption {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--clr-white);
  margin-top: 1rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Lightbox nav arrows */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--clr-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 10;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

.lightbox-counter {
  font-family: var(--ff-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
}

@media (max-width: 991px) {
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }

  .lightbox-nav {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* ----------------------------------------------------------
   CONTACT SECTION
   ---------------------------------------------------------- */
.section-contact {
  padding: 6rem 0;
  background: var(--clr-bg-alt);
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item i {
  font-size: 1.4rem;
  color: var(--clr-secondary);
  margin-top: 4px;
  flex-shrink: 0;
}

.contact-item a {
  color: var(--clr-ocean);
}

.contact-item a:hover {
  color: var(--clr-secondary);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--clr-ocean);
  color: var(--clr-white) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--clr-secondary);
  color: var(--clr-white) !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(204, 104, 24, 0.3);
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lifted);
  height: 100%;
  min-height: 350px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
}

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */
.site-footer {
  background: var(--clr-text);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 0;
}

.footer-brand {
  display: inline-block;
}

.footer-logo {
  max-height: 50px;
  width: auto;
  /* filter: brightness(0) invert(1); */
  opacity: 0.85;
}

.footer-tagline {
  font-family: var(--ff-heading);
  font-size: 0.9rem;
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
}

.footer-socials a:hover {
  background: var(--clr-secondary);
  border-color: var(--clr-secondary);
  color: var(--clr-white) !important;
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 0.85rem;
  margin: 0;
}

.footer-location {
  font-size: 0.8rem;
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.4);
}

/* ----------------------------------------------------------
   BACK TO TOP BUTTON
   ---------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--clr-secondary);
  color: var(--clr-white);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(204, 104, 24, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.back-to-top:hover {
  background: var(--clr-ocean);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(49, 88, 165, 0.4);
}

/* ----------------------------------------------------------
   ANIMATIONS
   ---------------------------------------------------------- */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-triggered fade-in */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------------
   RESPONSIVE OVERRIDES
   ---------------------------------------------------------- */
@media (max-width: 991px) {
  .navbar {
    background: rgba(255, 253, 245, 0.95);
  }

  .navbar.scrolled {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lifted);
  }

  .navbar-collapse .nav-link {
    color: var(--clr-text) !important;
  }

  .hero-section {
    min-height: auto;
    padding: 8rem 0 5rem;
  }

  .hero-headline {
    font-size: 2.2rem;
  }

  .about-image-stack {
    display: flex;
    justify-content: center;
    gap: 1rem;
    min-height: auto;
    margin-bottom: 2rem;
  }

  .about-img-accent {
    position: static;
  }
}

@media (max-width: 576px) {
  .event-card {
    padding: 2rem 1.25rem;
  }

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

  .illustrated-card {
    width: 180px;
    height: 200px;
  }

  .illustrated-card-small {
    width: 120px;
    height: 140px;
  }
}

/* ----------------------------------------------------------
   CTA SECTION — styling to match site hierarchy and zebra pattern
   ---------------------------------------------------------- */
.booking-section {
  background: var(--clr-bg-alt);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.booking-section .section-overline {
  color: var(--clr-secondary);
}

.booking-section .section-heading {
  color: var(--clr-text);
  margin-bottom: 0.5rem;
}

.booking-section .section-subtitle {
  color: var(--clr-text-muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.btn-booking {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-white);
  background: var(--clr-ocean);
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
}

.btn-booking:hover {
  background: var(--clr-secondary);
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(204, 104, 24, 0.3);
}

.btn-booking:active {
  transform: translateY(-2px) scale(0.995);
  box-shadow: 0 6px 18px rgba(49,88,165,0.12);
}
