/* ==========================================================================
   DESIGN SYSTEM & CUSTOM STYLES: Izviđačka Šumska Akademija (IŠA 2026)
   Forest Adventure Premium Landing Page (Light & Dark Theme supported)
   ========================================================================== */

/* --- Google Fonts Import --- */
/* --- Google Fonts loaded in HTML head via preconnect to optimize loading speed --- */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* ==========================================
     DEFAULT LIGHT THEME VARIABLES
     ========================================== */
  --bg-dark: #f2f6f3;          /* Soft warm light sage canvas */
  --bg-card: #ffffff;          /* Pure crisp white card */
  --bg-card-glass: rgba(255, 255, 255, 0.75); /* Light glassmorphic */
  --primary: #123e2b;          /* Deep forest green */
  --primary-light: #1d573d;    /* Pine green */
  --primary-glow: rgba(18, 62, 43, 0.08);
  --accent: #d97d00;           /* Vibrant campfire amber (readable on light backgrounds) */
  --accent-glow: rgba(217, 125, 0, 0.2);
  --accent-hover: #b86a00;
  --accent-green: #24a153;     /* Leaf green for success/checkmarks */
  
  --text-light: #12221a;       /* Deep slate green/black for high contrast */
  --text-muted: #536b60;       /* Muted sage gray-green */
  --text-dark: #f4fcf7;        /* White text for dark backgrounds */
  
  --border-light: rgba(18, 62, 43, 0.08);
  --border-glow: rgba(217, 125, 0, 0.1);
  
  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(18, 62, 43, 0.04);
  --shadow-md: 0 8px 30px rgba(18, 62, 43, 0.07);
  --shadow-lg: 0 16px 40px rgba(18, 62, 43, 0.12);
  --shadow-glow: 0 0 20px rgba(217, 125, 0, 0.15);
}

/* ==========================================
   DARK THEME VARIABLE OVERRIDES
   ========================================== */
body.dark-theme {
  --bg-dark: #050d09;          /* Deepest forest black */
  --bg-card: #0b1a12;          /* Rich forest night dark */
  --bg-card-glass: rgba(11, 26, 18, 0.65); /* Glassmorphic base */
  --primary: #123e2b;          /* Forest emerald */
  --primary-light: #216347;    /* Bright pine */
  --primary-glow: rgba(33, 99, 71, 0.3);
  --accent: #f29f24;           /* Warm campfire amber */
  --accent-glow: rgba(242, 159, 36, 0.4);
  --accent-hover: #d68411;
  --accent-green: #3cd070;     /* Leaf green */
  
  --text-light: #f4fcf7;       /* Soft warm white */
  --text-muted: #8ca398;       /* Sage gray */
  --text-dark: #1b2621;
  
  --border-light: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(242, 159, 36, 0.15);
  
  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(242, 159, 36, 0.2);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 5px;
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--text-light) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent-text {
  color: var(--accent);
}

.section-padding {
  padding: 100px 0;
}

.glass-card {
  background: var(--bg-card-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(18, 62, 43, 0.2);
  box-shadow: var(--shadow-lg);
}

body.dark-theme .glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: var(--text-dark);
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--accent-glow), var(--shadow-glow);
}

.btn-secondary {
  background: rgba(18, 62, 43, 0.04);
  color: var(--text-light);
  border: 1px solid var(--border-light);
}

body.dark-theme .btn-secondary {
  background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover {
  background: rgba(18, 62, 43, 0.08);
  transform: translateY(-3px);
  border-color: rgba(18, 62, 43, 0.2);
}

body.dark-theme .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   NAVIGATION BAR (HEADER)
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 12px 0;
  background: rgba(242, 246, 243, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

body.dark-theme header.scrolled {
  background: rgba(5, 13, 9, 0.85);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
}

.logo-subtext {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

@media (max-width: 1100px) {
  .nav-menu {
    gap: 16px; /* Smanjen razmak između stavki na manjim laptopima */
  }
  .logo-text {
    font-size: 1.15rem; /* Blago smanjen naslov logotipa */
  }
  .logo-img {
    height: 40px; /* Blago smanjena visina logotipa */
  }
}

.nav-item a {
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-item a:hover,
.nav-item.active a {
  color: var(--text-light);
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-smooth);
}

.nav-item a:hover::after,
.nav-item.active a::after {
  width: 100%;
}

.nav-btn {
  background: transparent !important;
  color: var(--accent) !important;
  border: 2px solid var(--accent) !important;
  padding: 8px 20px !important;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 30px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.dark-theme .nav-btn {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

.nav-item a.nav-btn::after {
  display: none !important; /* Onemogući donju crtu na hoveru */
}

.nav-item a.nav-btn:hover {
  background: var(--accent) !important;
  color: var(--primary) !important; /* Na svijetloj temi, tekst postaje šumski zelen */
  border-color: var(--accent) !important;
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 4px 15px var(--accent-glow) !important;
  text-decoration: none !important;
}

body.dark-theme .nav-item a.nav-btn:hover {
  background: var(--accent) !important;
  color: #050d09 !important; /* Na tamnoj temi, tekst postaje šumski crn */
}

/* Theme Toggle Button Style */
.theme-toggle-btn {
  background: rgba(18, 62, 43, 0.05);
  border: 1px solid var(--border-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
  color: var(--text-light);
  outline: none;
}

body.dark-theme .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
}

.theme-toggle-btn:hover {
  transform: scale(1.08);
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Hamburger active state */
.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(29, 87, 61, 0.08) 0%, var(--bg-dark) 80%);
  transition: background-color 0.4s ease;
}

body.dark-theme .hero {
  background: radial-gradient(circle at 50% 50%, rgba(20, 70, 48, 0.25) 0%, var(--bg-dark) 80%);
}

/* Decorative forest layer background */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, var(--bg-dark) 0%, rgba(5, 13, 9, 0) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 5;
}

.hero-content {
  max-width: 680px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 62, 43, 0.05);
  border: 1px solid rgba(18, 62, 43, 0.15);
  padding: 8px 16px;
  border-radius: 30px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  animation: pulse 3s infinite;
}

body.dark-theme .badge {
  background: rgba(33, 99, 71, 0.2);
  border: 1px solid rgba(33, 99, 71, 0.4);
  color: var(--accent-green);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(33, 99, 71, 0.2); }
  70% { box-shadow: 0 0 0 10px rgba(33, 99, 71, 0); }
  100% { box-shadow: 0 0 0 0 rgba(33, 99, 71, 0); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  margin-bottom: 15px;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  /* Prevent flex "stretch" from distorting the neighbor button on desktop */
  align-items: flex-end;
  margin-bottom: 48px;
}

/* ============================================================================
   CTA LINK HINT (ARROW PNG)
   ============================================================================ */
.cta-with-hint {
  position: relative;
  display: inline-flex;
  /* Reserve vertical space so the hint never overlaps surrounding text */
  padding-top: 64px;
}

.cta-with-hint--center {
  justify-content: center;
}

.cta-link-hint {
  position: absolute;
  pointer-events: none;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  z-index: 5;
  white-space: nowrap;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* More breathing room between label and arrow on larger screens */
@media (min-width: 577px) {
  .cta-link-hint {
    gap: 8px;
  }
}

.cta-link-hint-text {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cta-link-hint-arrow {
  width: 70px;
  height: auto;
  opacity: 0.9;
  /* Arrow PNG is white; force black in light theme */
  filter: brightness(0) drop-shadow(0 10px 18px rgba(18, 62, 43, 0.18));
}

body.dark-theme .cta-link-hint-arrow {
  opacity: 0.85;
  /* Keep arrow white in dark theme */
  filter: brightness(0) invert(1) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

/* ── HERO: hint iznad + malo desno od centra dugmeta ── */
.cta-link-hint--hero {
  /* Shift right so the arrowhead lands on the button center */
  left: 71%;
  transform: translateX(-50%);
  gap: 10px;
}

.cta-link-hint--hero .cta-link-hint-arrow {
  width: 50px;
  transform: rotate(95deg);
}

/* ── SIGNUP CENTER: hint iznad dugmeta, strelica pokazuje dolje ── */
.cta-link-hint--center {
  /* inherits centering */
}

.cta-link-hint--center .cta-link-hint-arrow {
  width: 55px;
  transform: rotate(90deg);
}

/* ── MOBILE ── */
@media (max-width: 576px) {
  .cta-with-hint {
    padding-top: 56px;
  }

  .cta-link-hint {
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px !important;
  }

  .cta-link-hint-arrow {
    width: 45px !important;
    /* keep per-variant rotation so it still points to the right button */
  }

  .cta-with-hint {
    flex-direction: column;
    align-items: center;
  }
}

.hero-info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  border-top: 1px solid var(--border-light);
  padding-top: 32px;
}

.info-tag {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-tag-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 62, 43, 0.03);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
}

body.dark-theme .info-tag-icon {
  background: rgba(255, 255, 255, 0.02);
}

.info-tag-text p:first-child {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  font-weight: 500;
}

.info-tag-text p:last-child {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-light);
}

/* Floating Logo Visual on right side */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-logo-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
  margin-top: -16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(18, 62, 43, 0.08) 0%, rgba(0,0,0,0) 70%);
  animation: float 6s ease-in-out infinite;
}

body.dark-theme .hero-logo-wrapper {
  background: radial-gradient(circle, rgba(33, 99, 71, 0.15) 0%, rgba(0,0,0,0) 70%);
}

.hero-logo-wrapper::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px dashed rgba(18, 62, 43, 0.15);
  animation: rotate 20s linear infinite;
}

body.dark-theme .hero-logo-wrapper::after {
  border-color: rgba(242, 159, 36, 0.15);
}

.hero-logo-big {
  width: 85%;
  height: 85%;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(18, 62, 43, 0.15));
}

body.dark-theme .hero-logo-big {
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5));
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   SECTION HEADER (UNIVERSAL)
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-subtitle {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  display: block;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 18px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

/* Custom grids used on "O odredu & kampu" page */
.about-grid-custom-1 {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
}

.about-grid-custom-2 {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
}

.about-card-sticky {
  position: sticky;
  top: 120px;
  align-self: start;
  padding: 32px;
}

.about-card-simple {
  padding: 32px;
}

@media (max-width: 1100px) {
  .about-grid-custom-1,
  .about-grid-custom-2 {
    grid-template-columns: 1fr;
  }

  .about-card-sticky {
    position: static;
  }
}

.about-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.about-visual:hover .about-img {
  transform: scale(1.03);
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(242, 246, 243, 0.95) 10%, rgba(242, 246, 243, 0) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  z-index: 2;
}

body.dark-theme .about-overlay {
  background: linear-gradient(to top, rgba(5, 13, 9, 0.9) 10%, rgba(5, 13, 9, 0) 60%);
}

.about-tagline {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-light);
  line-height: 1.2;
}

.about-subtagline {
  font-size: 0.85rem;
  color: var(--accent);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.about-feature-card {
  padding: 24px;
  display: flex;
  gap: 20px;
}

.about-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(18, 62, 43, 0.04);
  border: 1px solid rgba(18, 62, 43, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.4rem;
  flex-shrink: 0;
}

body.dark-theme .about-feature-icon {
  background: rgba(33, 99, 71, 0.15);
  border: 1px solid rgba(33, 99, 71, 0.3);
}

.about-feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-light);
}

.about-feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   DAILY SCHEDULE (DNEVNI PROGRAM)
   ========================================================================== */
.schedule-tabs-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Tabs list styling */
.schedule-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  background: rgba(18, 62, 43, 0.03);
  padding: 8px;
  border-radius: 50px;
  border: 1px solid var(--border-light);
  max-width: 900px;
  margin: 0 auto;
}

body.dark-theme .schedule-tabs {
  background: rgba(255, 255, 255, 0.02);
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 12px 24px;
  border-radius: 40px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  color: var(--text-light);
  background: rgba(18, 62, 43, 0.06);
}

body.dark-theme .tab-btn:hover {
  background: rgba(255, 255, 255, 0.04);
}

.tab-btn.active {
  color: var(--text-dark);
  background: var(--accent);
  box-shadow: 0 4px 12px var(--accent-glow);
}

/* Content block */
.schedule-content {
  position: relative;
}

.schedule-day-panel {
  display: none;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 32px;
  animation: fadeIn 0.5s ease;
}

.schedule-day-panel.active {
  display: grid;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.day-info-card {
  padding: 40px;
  width: 100%;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.day-badge {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.8rem;
  background: var(--primary);
  color: var(--text-dark);
  padding: 6px 14px;
  border-radius: 30px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body.dark-theme .day-badge {
  background: var(--primary-light);
  color: var(--text-light);
}

.day-info-card h3 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.day-theme {
  font-family: var(--font-headings);
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.day-quote {
  font-style: italic;
  font-size: 1rem;
  color: var(--text-muted);
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin-bottom: 32px;
  line-height: 1.5;
}

.day-rhythm-summary {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

.day-rhythm-summary h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: var(--text-light);
}

.rhythm-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 576px) {
  .rhythm-list {
    grid-template-columns: 1fr;
  }
}

.rhythm-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rhythm-list li::before {
  content: '✦';
  color: var(--accent);
  font-size: 0.7rem;
}

/* Timeline/Timeline Items inside Day panel */
.day-timeline-wrapper {
  position: relative;
  padding-left: 20px;
}

.day-timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-light), var(--border-light) 80%, rgba(0,0,0,0));
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timeline-item {
  position: relative;
  padding-left: 24px;
}

.timeline-dot {
  position: absolute;
  top: 6px;
  left: -20px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--primary-light);
  z-index: 5;
  transition: var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.timeline-item-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.timeline-time {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--accent);
  font-size: 1rem;
  white-space: nowrap;
}

.timeline-title {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-light);
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Detail cards for games / educational talks */
.timeline-extra {
  margin-top: 10px;
  background: rgba(18, 62, 43, 0.02);
  border: 1px dashed var(--border-light);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.dark-theme .timeline-extra {
  background: rgba(255, 255, 255, 0.02);
}

.timeline-extra-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-green);
}

.btn-game-rules {
  background: transparent;
  border: none;
  color: var(--accent);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-game-rules:hover {
  text-decoration: underline;
  color: var(--text-light);
}

/* Game Modal Styling */
.game-modal {
  position: fixed;
  inset: 0;
  background: rgba(18, 62, 43, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

body.dark-theme .game-modal {
  background: rgba(5, 13, 9, 0.9);
}

.game-modal-card {
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.game-modal.open .game-modal-card {
  transform: translateY(0);
}

.game-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.game-modal-author {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.game-modal-close {
  background: rgba(18, 62, 43, 0.04);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

body.dark-theme .game-modal-close {
  background: rgba(255, 255, 255, 0.05);
}

.game-modal-close:hover {
  background: rgba(18, 62, 43, 0.1);
  transform: scale(1.05);
}

body.dark-theme .game-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.game-modal-body h4 {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-top: 16px;
  margin-bottom: 8px;
}

.game-modal-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.game-modal-body ul {
  list-style: none;
  margin-bottom: 16px;
}

.game-modal-body ul li {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
}

.game-modal-body ul li::before {
  content: '➔';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

/* ==========================================================================
   LEADERS SECTION (VOĐE KAMPA)
   ========================================================================== */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.leader-card {
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.leader-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-light) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 2.2rem;
  margin-bottom: 24px;
  border: 2px solid rgba(18, 62, 43, 0.1);
  box-shadow: 0 8px 16px rgba(18, 62, 43, 0.08);
  transition: var(--transition-smooth);
}

body.dark-theme .leader-avatar {
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.leader-card:hover .leader-avatar {
  transform: scale(1.08);
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
}

.leader-card h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--text-light);
}

.leader-role {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.leader-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ==========================================================================
   GALLERY SECTION (GALERIJA)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(242, 246, 243, 0.9) 0%, rgba(242, 246, 243, 0.2) 60%, rgba(242, 246, 243, 0) 100%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 5;
}

body.dark-theme .gallery-overlay {
  background: linear-gradient(to top, rgba(5, 13, 9, 0.8) 0%, rgba(5, 13, 9, 0.2) 60%, rgba(5, 13, 9, 0) 100%);
}

.gallery-item:hover .gallery-thumb {
  transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-light);
}

.gallery-category {
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* Lightbox overlay styling */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(242, 246, 243, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
}

body.dark-theme .lightbox {
  background: rgba(5, 13, 9, 0.95);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(18, 62, 43, 0.1);
}

body.dark-theme .lightbox-img {
  border-color: rgba(255,255,255,0.05);
}

.lightbox-caption {
  text-align: center;
  color: var(--text-light);
  margin-top: 16px;
  font-family: var(--font-headings);
  font-size: 1.1rem;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(18, 62, 43, 0.04);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

body.dark-theme .lightbox-nav {
  background: rgba(255, 255, 255, 0.05);
}

.lightbox-nav:hover {
  background: rgba(18, 62, 43, 0.1);
}

body.dark-theme .lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lightbox-prev {
  left: -64px;
}

.lightbox-next {
  right: -64px;
}

/* ==========================================================================
   PACKING LIST CHECKLIST
   ========================================================================== */
.packing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.packing-card {
  padding: 40px;
}

.packing-title-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.packing-title-box h3 {
  font-size: 1.3rem;
  color: var(--text-light);
}

.packing-reset {
  background: transparent;
  border: none;
  color: var(--accent);
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.8rem;
  cursor: pointer;
}

.packing-reset:hover {
  text-decoration: underline;
}

.packing-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.packing-item {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  padding: 6px 0;
}

.packing-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.packing-checkmark {
  height: 22px;
  width: 22px;
  background-color: rgba(18, 62, 43, 0.04);
  border: 1.5px solid var(--border-light);
  border-radius: 6px;
  margin-right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

body.dark-theme .packing-checkmark {
  background-color: rgba(255, 255, 255, 0.04);
}

.packing-checkmark::after {
  content: "";
  display: none;
  width: 5px;
  height: 10px;
  border: solid var(--bg-dark);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) translateY(-1px);
}

body.dark-theme .packing-checkmark::after {
  border-color: #050d09;
}

.packing-item:hover .packing-checkmark {
  border-color: var(--accent);
}

.packing-checkbox:checked ~ .packing-checkmark {
  background-color: var(--accent);
  border-color: var(--accent);
}

.packing-checkbox:checked ~ .packing-checkmark::after {
  display: block;
}

.packing-item-text {
  font-size: 0.95rem;
  color: var(--text-light);
  transition: var(--transition-fast);
}

.packing-checkbox:checked ~ .packing-item-text {
  color: var(--text-muted);
  text-decoration: line-through;
}

.packing-info-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.packing-progress-bar {
  background: rgba(18, 62, 43, 0.06);
  height: 6px;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 12px;
}

body.dark-theme .packing-progress-bar {
  background: rgba(255, 255, 255, 0.05);
}

.packing-progress-fill {
  background: var(--accent-green);
  height: 100%;
  width: 0%;
  transition: width 0.3s ease;
}

.packing-progress-text {
  font-family: var(--font-headings);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  display: block;
  text-align: right;
}

/* ==========================================================================
   REGISTRATION BLOCK & GOOGLE FORMS LINK
   ========================================================================== */
.signup-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(217, 125, 0, 0.05) 0%, rgba(0,0,0,0) 60%),
              radial-gradient(circle at 10% 80%, rgba(18, 62, 43, 0.05) 0%, rgba(0,0,0,0) 60%);
}

body.dark-theme .signup-section {
  background: radial-gradient(circle at 80% 20%, rgba(242, 159, 36, 0.07) 0%, rgba(0,0,0,0) 60%),
              radial-gradient(circle at 10% 80%, rgba(33, 99, 71, 0.1) 0%, rgba(0,0,0,0) 60%);
}

.signup-card {
  padding: 60px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.signup-card h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.signup-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 36px auto;
}

/* ==========================================================================
   FOOTER (PODNOŽJE)
   ========================================================================== */
footer {
  background: #e6eae6;
  border-top: 1px solid var(--border-light);
  padding: 60px 0 30px 0;
  transition: background-color 0.4s ease;
}

body.dark-theme footer {
  background: #020704;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-info {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 40px;
  width: auto;
}

.footer-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(18, 62, 43, 0.04);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

body.dark-theme .social-btn {
  background: rgba(255,255,255,0.03);
}

.social-btn:hover {
  background: var(--accent);
  color: var(--text-dark);
  border-color: var(--accent);
}

.footer-links-title {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 24px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links-list a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-contact-icon {
  color: var(--accent);
  font-size: 1.1rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Tablet width */
@media (max-width: 991px) {
  .section-padding {
    padding: 80px 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-info-tags {
    justify-content: center;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-visual {
    order: 2;
  }
  
  .about-img {
    height: 380px;
  }
  
  .schedule-day-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .packing-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .footer-info {
    grid-column: span 2;
    max-width: 100%;
  }
}

/* Tablet/Mobile hamburger trigger to prevent navigation overflow on small screens */
@media (max-width: 991px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    border-left: 1px solid var(--border-light);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px 32px;
    gap: 24px;
    transition: var(--transition-smooth);
    z-index: 1005;
  }
  
  body.dark-theme .nav-menu {
    background: #07130d;
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-menu .nav-btn {
    width: 100%;
    margin-top: 12px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .lightbox-prev,
  .lightbox-next {
    display: none !important;
  }
  
  .lightbox-close {
    top: -40px;
    right: 12px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-info {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-logo-wrapper {
    width: 220px;
    height: 220px;
  }
  
  .about-img {
    height: 280px;
  }
  
  .day-info-card {
    padding: 24px;
  }
  
  .timeline-item-header {
    flex-direction: column;
    gap: 4px;
  }
  
  .packing-card {
    padding: 24px;
  }
  
  .signup-card {
    padding: 32px 20px;
  }
}

/* ==========================================================================
   CAROUSEL LEADERS STYLES
   ========================================================================== */
.leaders-carousel-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 50px;
}

.leaders-carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.leaders-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 30px;
  padding: 10px 0;
}

.leaders-carousel-track .leader-card {
  flex: 0 0 calc((100% - 60px) / 3); /* 3 cards on desktop */
  margin: 0;
  min-height: 400px;
}

@media (max-width: 991px) {
  .leaders-carousel-track .leader-card {
    flex: 0 0 calc((100% - 30px) / 2); /* 2 cards on tablet */
  }
  .leaders-carousel-container {
    padding: 0 40px;
  }
}

@media (max-width: 576px) {
  .leaders-carousel-track .leader-card {
    flex: 0 0 100%; /* 1 card on mobile */
  }
  .leaders-carousel-container {
    padding: 0 10px;
  }
}

/* Custom Avatar Style with Image */
.leader-avatar-wrapper {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin-bottom: 24px;
  border: 3px solid rgba(18, 62, 43, 0.1);
  box-shadow: 0 8px 16px rgba(18, 62, 43, 0.08);
  transition: var(--transition-smooth);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, var(--primary-light) 0%, var(--primary) 100%);
}

body.dark-theme .leader-avatar-wrapper {
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.leader-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-card:hover .leader-avatar-wrapper {
  transform: scale(1.08);
  border-color: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow);
}

.monogram-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--accent);
  background: radial-gradient(circle, var(--primary-light) 0%, var(--primary) 100%);
}

.educatori-card {
  border: 1px dashed var(--accent);
}

/* Carousel Control Buttons */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-card-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.2rem;
  transition: var(--transition-smooth);
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

.carousel-control:hover {
  background: var(--accent);
  color: var(--text-dark);
  border-color: var(--accent);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.carousel-control.prev {
  left: -5px;
}

.carousel-control.next {
  right: -5px;
}

@media (max-width: 576px) {
  .carousel-control {
    display: none !important; /* Hide arrows on mobile for swipe ease */
  }
}

/* Dots Navigation */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(18, 62, 43, 0.15);
  cursor: pointer;
  transition: var(--transition-fast);
}

body.dark-theme .carousel-dot {
  background: rgba(255, 255, 255, 0.15);
}

.carousel-dot.active {
  background: var(--accent);
  width: 20px;
  border-radius: 4px;
  box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   MOBILE GALLERY SWIPEABLE STRIP
   ========================================================================== */
@media (max-width: 768px) {
  .gallery-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 16px !important;
    padding-bottom: 20px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none; /* Hide scrollbar in Firefox */
  }
  
  .gallery-grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar in Safari/Chrome */
  }
  
  .gallery-item {
    flex: 0 0 85% !important;
    scroll-snap-align: center !important;
    aspect-ratio: 4 / 3 !important;
  }
  
  .gallery-overlay {
    opacity: 1 !important; /* Always visible on mobile since there is no hover */
    background: linear-gradient(to top, rgba(242, 246, 243, 0.95) 0%, rgba(242, 246, 243, 0.35) 60%, rgba(242, 246, 243, 0) 100%) !important;
  }
  
  body.dark-theme .gallery-overlay {
    background: linear-gradient(to top, rgba(5, 13, 9, 0.9) 0%, rgba(5, 13, 9, 0.3) 60%, rgba(5, 13, 9, 0) 100%) !important;
  }
}

/* ==========================================================================
   HERO LOGO OPTIMIZATION FOR MOBILE
   ========================================================================== */
@media (max-width: 991px) {
  .hero-logo-wrapper {
    display: none !important; /* Hide large hero logo on tablets and phones to save space */
  }
  
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 40px;
  }
}

/* ==========================================================================
   PACKING CHECKLIST DASHBOARD
   ========================================================================== */
.packing-global-header {
  padding: 30px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.packing-progress-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.packing-progress-info h3 {
  font-size: 1.2rem;
  font-family: var(--font-headings);
  color: var(--text-light);
  margin-bottom: 0;
}

.packing-progress-info .packing-progress-text {
  text-align: left;
  margin-top: 0;
  font-size: 0.95rem;
  font-family: var(--font-headings);
  font-weight: 500;
  color: var(--text-muted);
}

.packing-progress-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-grow: 1;
  max-width: 600px;
}

.packing-progress-wrapper .packing-progress-bar {
  flex-grow: 1;
  margin-top: 0;
}

.packing-progress-wrapper .packing-reset {
  background: rgba(18, 62, 43, 0.04);
  border: 1px solid var(--border-light);
  padding: 10px 20px;
  border-radius: 30px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent);
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

body.dark-theme .packing-progress-wrapper .packing-reset {
  background: rgba(255, 255, 255, 0.03);
}

.packing-progress-wrapper .packing-reset:hover {
  background: var(--accent);
  color: var(--text-dark);
  border-color: var(--accent);
  text-decoration: none;
  transform: translateY(-2px);
}

.packing-bottom-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 24px;
  font-style: italic;
}

@media (max-width: 768px) {
  .packing-global-header {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 16px;
  }
  .packing-progress-wrapper {
    max-width: 100%;
    gap: 16px;
  }
}

/* ==========================================================================
   HERO DETAILS INTEGRATED PANEL
   ========================================================================== */
.hero-details-container {
  margin-top: 36px;
  width: 100%;
  text-align: left;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

.hero-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.hero-details-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--bg-card-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.hero-details-card:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 62, 43, 0.2);
  box-shadow: var(--shadow-sm);
}

body.dark-theme .hero-details-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.hero-details-card.highlights {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(217, 125, 0, 0.05);
}

.hero-details-card.highlights:hover {
  box-shadow: 0 0 15px var(--accent-glow);
}

.hero-details-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.hero-details-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-details-label {
  font-family: var(--font-headings);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.hero-details-val {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-light);
}

.badge-sve-uklj {
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--accent);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-left: 4px;
}

body.dark-theme .badge-sve-uklj {
  color: #050d09;
}

.hero-details-inclusions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  background: rgba(18, 62, 43, 0.02);
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

body.dark-theme .hero-details-inclusions {
  background: rgba(255, 255, 255, 0.01);
}

.incl-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  width: 100%;
  margin-bottom: 2px;
}

.incl-item {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

.incl-item span.check-icon {
  color: var(--accent-green);
  font-weight: 800;
  font-size: 0.95rem;
}

.hero-details-note {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.4;
  margin-top: 8px;
}

@media (max-width: 991px) {
  .hero-details-container {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 576px) {
  .hero-details-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-details-inclusions {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ==========================================================================
   RESPONSIVE MAP CONTAINER
   ========================================================================== */
.map-iframe-container {
  border-radius: 16px;
  overflow: hidden;
  height: 450px;
  width: 100%;
  transition: var(--transition-smooth);
}

@media (max-width: 576px) {
  .map-iframe-container {
    height: 320px;
  }
}

/* ==========================================================================
   PREMIUM SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Delays for staggered card reveals */
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }




