@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- BRAND DESIGN TOKENS --- */
:root {
  /* Color Palette */
  --primary-teal: #365F63;
  --primary-teal-rgb: 54, 95, 99;
  --primary-teal-dark: #233e41;
  --primary-teal-light: #4c8287;
  
  --secondary-mint: #82B2A7;
  --secondary-mint-rgb: 130, 178, 167;
  --secondary-mint-dark: #5b8e83;
  --secondary-mint-light: #a9cdc5;
  
  --accent-sand: #C5A58E;
  --accent-sand-rgb: 197, 165, 142;
  --accent-sand-light: #decbbe;
  
  --bg-cream: #F7FAFA;
  --bg-cream-dark: #edf2f2;
  --text-dark: #1E2D2F;
  --text-muted: #5E7173;
  
  --white: #ffffff;
  --white-trans-10: rgba(255, 255, 255, 0.1);
  --white-trans-20: rgba(255, 255, 255, 0.2);
  --white-trans-60: rgba(255, 255, 255, 0.6);
  --white-trans-80: rgba(255, 255, 255, 0.8);
  
  --black-trans-5: rgba(0, 0, 0, 0.05);
  --black-trans-15: rgba(0, 0, 0, 0.15);

  /* Typography */
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px var(--black-trans-5), 0 2px 4px -1px var(--black-trans-5);
  --shadow-md: 0 10px 15px -3px var(--black-trans-15), 0 4px 6px -2px var(--black-trans-5);
  --shadow-lg: 0 20px 25px -5px var(--black-trans-15), 0 10px 10px -5px var(--black-trans-5);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.06);

  /* Borders & Border Radius */
  --border-glass: 1px solid rgba(255, 255, 255, 0.4);
  --border-glass-dark: 1px solid rgba(54, 95, 99, 0.15);
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  /* Transition Curves */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-cream-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary-mint);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-cream);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-teal);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

button, input, textarea {
  font-family: inherit;
  outline: none;
}

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

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 7.5rem 0;
  position: relative;
}

/* --- PREMIUM UTILITIES & EFFECTS --- */
.glass-panel {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: var(--border-glass);
  box-shadow: var(--shadow-glass);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-md);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-mint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-teal);
  background-color: var(--white-trans-80);
  border: 1px solid var(--secondary-mint-light);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-light) 100%);
  box-shadow: 0 4px 15px rgba(54, 95, 99, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-mint) 0%, var(--primary-teal) 100%);
  z-index: -1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(54, 95, 99, 0.4);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  color: var(--primary-teal);
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px solid var(--primary-teal);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: var(--primary-teal);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(54, 95, 99, 0.2);
}

/* --- HEADER / NAVBAR --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 1.5rem 0;
}

header.scrolled {
  padding: 0.8rem 0;
  background: rgba(247, 250, 250, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: var(--border-glass-dark);
  box-shadow: var(--shadow-sm);
}

/* --- TRANSPARENT HEADER TOP STATE OVERRIDES (Dark Background Contrast) --- */
header:not(.scrolled) .logo-text {
  color: var(--white);
}

@media (min-width: 769px) {
  header:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.85);
  }
  
  header:not(.scrolled) .nav-link:hover {
    color: var(--white);
  }
  
  header:not(.scrolled) .nav-link.active {
    color: var(--secondary-mint);
  }
}

header:not(.scrolled) .hamburger-lines,
header:not(.scrolled) .hamburger-lines::before,
header:not(.scrolled) .hamburger-lines::after {
  background: var(--white);
}

.nav-menu.active ~ .mobile-nav-toggle .hamburger-lines::before,
.nav-menu.active ~ .mobile-nav-toggle .hamburger-lines::after {
  background: var(--primary-teal) !important;
}

header:not(.scrolled) .lang-switcher-container {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

header:not(.scrolled) .lang-btn {
  color: rgba(255, 255, 255, 0.7);
}

body.lang-de header:not(.scrolled) .lang-btn-de,
body.lang-en header:not(.scrolled) .lang-btn-en {
  color: var(--white) !important;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-teal);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--secondary-mint);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-dark);
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

.nav-link.active {
  color: var(--primary-teal);
  font-weight: 600;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger-lines {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--primary-teal);
  position: relative;
  transition: var(--transition-smooth);
}

.hamburger-lines::before,
.hamburger-lines::after {
  content: '';
  position: absolute;
  height: 2px;
  width: 24px;
  background: var(--primary-teal);
  left: 0;
  transition: var(--transition-smooth);
}

.hamburger-lines::before {
  top: -8px;
}

.hamburger-lines::after {
  top: 8px;
}

/* --- HERO SECTION --- */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
  background-color: var(--primary-teal-dark);
}

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

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  filter: brightness(0.8) contrast(1.02);
  transform-origin: center center;
  will-change: transform;
}

.hero-slide:nth-child(1) img {
  animation: kenburns-1 40s ease-in-out infinite;
}

.hero-slide:nth-child(2) img {
  animation: kenburns-2 40s ease-in-out infinite;
}

.hero-slide:nth-child(3) img {
  animation: kenburns-3 40s ease-in-out infinite;
}

.hero-slide:nth-child(4) img {
  animation: kenburns-4 40s ease-in-out infinite;
}

.hero-slide:nth-child(5) img {
  animation: kenburns-5 40s ease-in-out infinite;
}

.hero-slide:nth-child(6) img {
  animation: kenburns-6 40s ease-in-out infinite;
}

.hero-slide:nth-child(7) img {
  animation: kenburns-7 40s ease-in-out infinite;
}

@keyframes kenburns-1 {
  0% { transform: scale(1.03) translate(0, 0); }
  50% { transform: scale(1.11) translate(-1%, -0.5%); }
  100% { transform: scale(1.03) translate(0, 0); }
}

@keyframes kenburns-2 {
  0% { transform: scale(1.05) translate(0, 0); }
  50% { transform: scale(1.13) translate(1%, 0.5%); }
  100% { transform: scale(1.05) translate(0, 0); }
}

@keyframes kenburns-3 {
  0% { transform: scale(1.03) translate(0, 0); }
  50% { transform: scale(1.11) translate(-0.5%, 1%); }
  100% { transform: scale(1.03) translate(0, 0); }
}

@keyframes kenburns-4 {
  0% { transform: scale(1.05) translate(0, 0); }
  50% { transform: scale(1.13) translate(0.5%, -0.5%); }
  100% { transform: scale(1.05) translate(0, 0); }
}

@keyframes kenburns-5 {
  0% { transform: scale(1.04) translate(0, 0); }
  50% { transform: scale(1.12) translate(-0.5%, -1%); }
  100% { transform: scale(1.04) translate(0, 0); }
}

@keyframes kenburns-6 {
  0% { transform: scale(1.06) translate(0, 0); }
  50% { transform: scale(1.14) translate(0.5%, 1%); }
  100% { transform: scale(1.06) translate(0, 0); }
}

@keyframes kenburns-7 {
  0% { transform: scale(1.03) translate(0, 0); }
  50% { transform: scale(1.11) translate(-1%, 0.5%); }
  100% { transform: scale(1.03) translate(0, 0); }
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(30, 45, 47, 0.25) 0%, rgba(30, 45, 47, 0.55) 80%, var(--bg-cream) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  color: var(--white);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 4rem;
}

.hero-logo-mark {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.25));
  animation: float 6s ease-in-out infinite;
}

.hero-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-sub {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent-sand-light);
  margin-bottom: 1rem;
  font-weight: 600;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.2s;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.4s;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.6s;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.8s;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.scroll-indicator:hover {
  color: var(--primary-teal);
}

.scroll-indicator .mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: var(--radius-full);
  position: relative;
}

.scroll-indicator:hover .mouse {
  border-color: var(--primary-teal);
}

.scroll-indicator .wheel {
  width: 4px;
  height: 8px;
  background-color: var(--text-muted);
  border-radius: var(--radius-full);
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollMouse 1.5s ease-in-out infinite;
}

.scroll-indicator:hover .wheel {
  background-color: var(--primary-teal);
}

/* --- ABOUT ME SECTION --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4.5rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background-color: var(--bg-cream-dark);
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.about-image-container:hover .about-img {
  transform: scale(1.08);
}

/* Overlay sand badge */
.about-floating-card {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  padding: 1.4rem 1.8rem;
  max-width: 280px;
  z-index: 3;
}

.about-floating-card .stats-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary-teal);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.about-floating-card .stats-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.4rem;
  line-height: 1.4;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--primary-teal);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.about-text {
  color: var(--text-dark);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.about-text strong {
  color: var(--primary-teal-dark);
}

.about-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  width: 100%;
  margin-bottom: 2.5rem;
}

.about-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.about-bullet-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--white-trans-80);
  border: 1px solid var(--secondary-mint-light);
  color: var(--primary-teal);
  flex-shrink: 0;
}

.about-bullet-icon svg {
  width: 20px;
  height: 20px;
}

.about-bullet-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* --- ABOUT FEATURE HIGHLIGHTS --- */
.about-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 1.4rem 0 1.6rem;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--white-trans-80);
  border: 1px solid var(--secondary-mint-light);
  transition: var(--transition-smooth);
}

.about-feature-item:hover {
  background: var(--white);
  border-color: var(--secondary-mint);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.about-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-xs);
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-light) 100%);
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(54, 95, 99, 0.22);
}

.about-feature-icon svg {
  width: 21px;
  height: 21px;
}

.about-feature-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.about-feature-label {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-teal-dark);
  letter-spacing: -0.1px;
}

.about-feature-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.45;
}

/* --- WHY I WRITE THIS BLOG SECTION --- */
.why-blog-section {
  background-color: var(--bg-cream-dark);
  padding: 7.5rem 0;
  position: relative;
}

.why-blog-card {
  padding: 4rem;
  overflow: hidden;
}

.why-blog-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: flex-start;
}

.why-blog-left-col {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  width: 100%;
}

.why-blog-img-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--secondary-mint-light);
  line-height: 0;
}

.why-blog-avatar-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-smooth);
}

.why-blog-img-card:hover .why-blog-avatar-img {
  transform: scale(1.04);
}

.why-blog-side {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-sm);
  background: var(--white-trans-60);
  border: 1px solid var(--secondary-mint-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}

.why-blog-side::before {
  content: "“";
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 5rem;
  font-family: var(--font-heading);
  color: rgba(54, 95, 99, 0.08);
  line-height: 1;
}

.why-blog-quote-wrap {
  position: relative;
  z-index: 2;
}

.why-blog-quote-icon {
  width: 32px;
  height: 32px;
  color: var(--primary-teal);
  margin-bottom: 1.2rem;
}

.why-blog-narrative {
  display: flex;
  flex-direction: column;
}

.why-blog-lead-text {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--primary-teal-dark);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.why-blog-text {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.why-blog-note {
  display: flex;
  gap: 1.2rem;
  padding: 1.5rem;
  background: rgba(197, 165, 142, 0.08);
  border-left: 3px solid var(--accent-sand);
  border-radius: 4px;
  margin: 1.8rem 0;
  align-items: flex-start;
}

.why-blog-note-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(197, 165, 142, 0.15);
}

.why-blog-note-text {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Responsive adjustments for Why Blog section */
@media (max-width: 900px) {
  .why-blog-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .why-blog-card {
    padding: 2.5rem;
  }
  .why-blog-side {
    padding: 2rem 1.5rem;
  }
}

/* --- TRAVEL STORIES SECTION --- */
.travel-stories {
  background-color: var(--bg-cream-dark);
}

.section-header-centered {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

/* Filter Controls */
.filter-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--white-trans-60);
  background: var(--white-trans-20);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  backdrop-filter: blur(5px);
}

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

.filter-btn.active {
  background: var(--primary-teal);
  color: var(--white);
  border-color: var(--primary-teal);
  box-shadow: 0 4px 12px rgba(54, 95, 99, 0.2);
}

/* Cards Grid */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
}

.story-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
  opacity: 1;
  transform: scale(1);
}

.story-card.hidden {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  margin: 0;
  border: none;
  padding: 0;
}

.story-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--secondary-mint-light);
}

.story-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--primary-teal-dark);
}

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

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

.story-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.9rem;
  background: rgba(30, 45, 47, 0.75);
  backdrop-filter: blur(5px);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.story-card-date {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  padding: 0.3rem 0.8rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.story-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.story-card-title {
  font-size: 1.35rem;
  color: var(--primary-teal);
  margin-bottom: 0.8rem;
}

.story-card-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(54, 95, 99, 0.08);
}

.story-card-stats {
  display: flex;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.story-card-stat {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.story-card-stat svg {
  width: 16px;
  height: 16px;
  color: var(--secondary-mint-dark);
}

.story-card-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.story-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.story-card:hover .story-card-link svg {
  transform: translateX(4px);
}

/* --- WUNSCHZIELE / BUCKET LIST SECTION --- */
.bucketlist-section {
  padding: 6rem 0;
  background: var(--bg-cream);
  position: relative;
}

.bucketlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
  gap: 1.8rem;
  justify-content: center;
  margin-top: 3rem;
}

.bucket-card {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(54, 95, 99, 0.08);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
  transition: var(--transition-bounce);
  cursor: default;
  box-shadow: var(--shadow-sm);
}

.bucket-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(54, 95, 99, 0.2);
  box-shadow: 0 8px 24px rgba(54, 95, 99, 0.08);
}

.bucket-flag {
  width: 80px;
  height: 54px;
  border-radius: 6px;
  object-fit: cover;
  border: 2.5px solid var(--white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: var(--transition-smooth);
}

.bucket-card:hover .bucket-flag {
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 6px 14px rgba(54, 95, 99, 0.15);
}

.bucket-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-teal);
  letter-spacing: -0.2px;
}

.bucket-reason {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 0.15rem;
  max-width: 190px;
  font-weight: 500;
}

/* --- INSTAGRAM SECTION --- */
.instagram-section {
  padding-bottom: 6rem;
}

.instagram-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.instagram-handle {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.instagram-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-mint) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(54, 95, 99, 0.25);
}

.instagram-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.instagram-info h3 {
  font-size: 1.5rem;
  color: var(--primary-teal);
}

.instagram-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.instagram-item {
  aspect-ratio: 1;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--primary-teal-dark);
}

.instagram-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 5s ease;
}

.instagram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 45, 47, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-smooth);
  color: var(--white);
  font-family: var(--font-heading);
  gap: 1.5rem;
}

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

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

.instagram-overlay-stat {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
  font-weight: 600;
}

.instagram-overlay-stat svg {
  width: 20px;
  height: 20px;
}

/* --- CONTACT SECTION --- */
.contact-section {
  background-color: var(--bg-cream-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4.5rem;
  align-items: flex-start;
}

.contact-card {
  padding: 3.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(54, 95, 99, 0.15);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.form-input:focus {
  background: var(--white);
  border-color: var(--secondary-mint);
  box-shadow: 0 0 0 4px rgba(130, 178, 167, 0.15);
}

/* Float labels */
.form-label {
  position: absolute;
  left: 1.2rem;
  top: 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -0.6rem;
  left: 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-teal);
  background: var(--white);
  padding: 0 0.4rem;
  border-radius: var(--radius-xs);
}

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

/* Contact Info Column */
.contact-info-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-detail-item {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.contact-detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid rgba(54, 95, 99, 0.1);
  color: var(--primary-teal);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 24px;
  height: 24px;
}

.contact-detail-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-detail-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.contact-socials-wrapper h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.contact-socials {
  display: flex;
  gap: 1rem;
}

.social-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background-color: var(--white);
  border: 1px solid rgba(54, 95, 99, 0.1);
  color: var(--primary-teal);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
}

.social-circle:hover {
  background-color: var(--primary-teal);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(54, 95, 99, 0.2);
}

.social-circle svg {
  width: 20px;
  height: 20px;
}

/* --- FOOTER --- */
footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4.5rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-logo h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  max-width: 320px;
  font-weight: 300;
}

.footer-links-col h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.8rem;
  font-weight: 600;
  color: var(--accent-sand-light);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--secondary-mint);
  transform: translateX(4px);
}

.footer-quote {
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.5;
  border-left: 2px solid var(--secondary-mint);
  padding-left: 1.2rem;
  height: fit-content;
}

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

.copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
}

.footer-meta-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-meta-link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  transition: var(--transition-smooth);
}

.footer-meta-link:hover {
  color: var(--secondary-mint);
}

/* --- TRAVEL DETAIL MODAL --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 45, 47, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
  padding: 2rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-container {
  width: 100%;
  max-width: 960px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  background: var(--bg-cream);
  border: var(--border-glass);
  transform: translateY(30px) scale(0.95);
  transition: var(--transition-bounce);
  position: relative;
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid rgba(54, 95, 99, 0.1);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  z-index: 10;
  transition: var(--transition-bounce);
}

.modal-close-btn:hover {
  transform: rotate(90deg) scale(1.05);
  background: var(--primary-teal);
  color: var(--white);
}

.modal-close-btn svg {
  width: 20px;
  height: 20px;
}

/* Modal Content Layout */
.modal-header {
  height: 380px;
  position: relative;
  overflow: hidden;
}

.modal-header-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

.modal-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(30, 45, 47, 0.1) 0%, rgba(30, 45, 47, 0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  color: var(--white);
}

.modal-header-meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.modal-header-tag {
  padding: 0.35rem 1rem;
  background: var(--secondary-mint);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.modal-header-date {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-sand-light);
}

.modal-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.modal-body {
  padding: 3.5rem;
}

.modal-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.modal-stat-box {
  padding: 1.2rem;
  text-align: center;
  background-color: var(--white);
  border: 1px solid rgba(54, 95, 99, 0.08);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.modal-stat-val {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-teal);
  line-height: 1;
}

.modal-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.3rem;
  font-weight: 600;
}

/* Modal Tabs Navigation */
.modal-tabs {
  display: flex;
  border-bottom: 2px solid rgba(54, 95, 99, 0.08);
  margin-bottom: 2.5rem;
  gap: 2rem;
}

.modal-tab-btn {
  padding: 0.8rem 0;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}

.modal-tab-btn:hover {
  color: var(--primary-teal);
}

.modal-tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-teal);
  transition: var(--transition-smooth);
}

.modal-tab-btn.active {
  color: var(--primary-teal);
}

.modal-tab-btn.active::after {
  width: 100%;
}

/* Modal Tab Contents */
.modal-tab-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.modal-tab-panel.active {
  display: block;
}

/* Panel: Story */
.modal-story-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.modal-story-text p {
  margin-bottom: 1.5rem;
}

.modal-story-text blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
  border-left: 3px solid var(--secondary-mint);
  padding-left: 1.5rem;
  margin: 2rem 0;
  color: var(--primary-teal);
}

.modal-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.modal-gallery-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}

.modal-gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Panel: Packing List */
.packing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.packing-category h4 {
  font-size: 1.15rem;
  color: var(--primary-teal);
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(54, 95, 99, 0.1);
  padding-bottom: 0.5rem;
}

.packing-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  list-style: none;
}

.packing-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--secondary-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.checkbox-custom svg {
  width: 14px;
  height: 14px;
  color: var(--white);
  opacity: 0;
  transform: scale(0.6);
  transition: var(--transition-bounce);
}

.packing-item.checked .checkbox-custom {
  background-color: var(--secondary-mint);
  border-color: var(--secondary-mint);
}

.packing-item.checked .checkbox-custom svg {
  opacity: 1;
  transform: scale(1);
}

.packing-item-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.packing-item.checked .packing-item-text {
  color: var(--text-muted);
  text-decoration: line-through;
}

/* Panel: Route/Itinerary */
.itinerary-timeline {
  position: relative;
  padding-left: 2rem;
}

.itinerary-timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background-color: var(--secondary-mint-light);
}

.itinerary-item {
  position: relative;
  margin-bottom: 2rem;
}

.itinerary-item:last-child {
  margin-bottom: 0;
}

.itinerary-dot {
  position: absolute;
  left: -2rem;
  top: 0.3rem;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background-color: var(--primary-teal);
  border: 3px solid var(--bg-cream);
  outline: 2px solid var(--secondary-mint);
}

.itinerary-day {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--secondary-mint-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.itinerary-title {
  font-size: 1.15rem;
  color: var(--primary-teal);
  margin-bottom: 0.5rem;
}

.itinerary-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --- TOAST NOTIFICATIONS --- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  padding: 1rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  border-left: 4px solid var(--primary-teal);
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  opacity: 0;
  animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-width: 380px;
}

.toast.toast-success {
  border-left-color: var(--secondary-mint);
}

.toast.toast-error {
  border-left-color: #d9534f;
}

.toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-icon svg {
  width: 20px;
  height: 20px;
}

.toast-success .toast-icon {
  color: var(--secondary-mint);
}

.toast-error .toast-icon {
  color: #d9534f;
}

.toast-msg {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollMouse {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* --- RESPONSIVENESS MEDIA QUERIES --- */
@media (max-width: 1024px) {
  section {
    padding: 5.5rem 0;
  }
  
  .about-grid {
    gap: 3rem;
  }
  
  .contact-grid {
    gap: 3rem;
  }
  
  .instagram-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  /* Mobile Navbar */
  .mobile-nav-toggle {
    display: block;
    z-index: 1001;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(247, 250, 250, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: var(--border-glass-dark);
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    z-index: 1000;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  /* Hamburger animation */
  .nav-menu.active ~ .mobile-nav-toggle .hamburger-lines {
    background: transparent;
  }
  
  .nav-menu.active ~ .mobile-nav-toggle .hamburger-lines::before {
    transform: rotate(45deg);
    top: 0;
  }
  
  .nav-menu.active ~ .mobile-nav-toggle .hamburger-lines::after {
    transform: rotate(-45deg);
    top: 0;
  }
  
  /* Hero adjustment */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  /* Grid conversions to Single Column */
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .about-image-wrapper {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
  
  .about-floating-card {
    right: -1rem;
    bottom: -1rem;
    padding: 1rem 1.5rem;
  }
  
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-card {
    padding: 2rem;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  
  .modal-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .packing-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .modal-overlay {
    padding: 1rem;
  }
  
  .modal-body {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-meta-links {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .modal-stats-bar {
    grid-template-columns: 1fr;
  }
  
  .modal-header-overlay {
    padding: 1.5rem;
  }
}

/* --- MAP SECTION STYLING --- */
.map-section {
  background-color: var(--bg-cream);
  position: relative;
  padding: 6rem 0;
}

.map-wrapper {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: var(--border-glass);
  box-shadow: var(--shadow-glass);
  border-radius: var(--radius-md);
  margin-top: 1rem;
  overflow: hidden;
}

.map-stats-overlay {
  transition: var(--transition-bounce);
}

@media (max-width: 768px) {
  .map-stats-overlay {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin-top: 1.2rem;
    width: 100%;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
  }
}

/* Map / List View Switcher */
.map-view-switcher {
  display: inline-flex;
  background: var(--white-trans-80);
  border: 1px solid rgba(54, 95, 99, 0.15);
  padding: 0.3rem;
  border-radius: var(--radius-full);
  margin-top: 1.5rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  gap: 0.2rem;
}

.view-toggle-btn {
  background: transparent;
  border: none;
  padding: 0.5rem 1.2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.view-toggle-btn.active {
  background: var(--primary-teal);
  color: var(--white) !important;
  box-shadow: 0 4px 10px rgba(54, 95, 99, 0.2);
}

.view-toggle-btn:not(.active):hover {
  color: var(--primary-teal);
  background: rgba(54, 95, 99, 0.05);
}

.view-toggle-btn svg {
  transition: transform 0.3s ease;
}

.view-toggle-btn:hover svg {
  transform: scale(1.1);
}

/* Visited Countries List Grid */
.visited-countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.2rem;
  box-sizing: border-box;
}

/* Custom scrollbar for visited list */
.visited-countries-grid::-webkit-scrollbar {
  width: 6px;
}
.visited-countries-grid::-webkit-scrollbar-track {
  background: transparent;
}
.visited-countries-grid::-webkit-scrollbar-thumb {
  background-color: rgba(54, 95, 99, 0.15);
  border-radius: 3px;
}

.visited-country-chip {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0.8rem;
  background: var(--white);
  border: 1px solid rgba(54, 95, 99, 0.08);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.visited-country-chip:hover {
  transform: translateY(-3px);
  border-color: var(--secondary-mint-light);
  box-shadow: 0 8px 20px rgba(54, 95, 99, 0.08);
}

.visited-country-flag {
  width: 32px;
  height: 22px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.visited-country-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-heading);
}

/* Customizing jsVectorMap */
#world-map {
  background: transparent !important;
}

.jvm-container {
  background: transparent !important;
  font-family: var(--font-heading) !important;
  touch-action: pan-y !important; /* Restore vertical scroll gestures on mobile */
}

.jvm-container svg {
  touch-action: pan-y !important; /* Restore vertical scroll gestures on mobile */
}

/* Customize country regions */
.jvm-region {
  transition: var(--transition-smooth);
}

/* Tooltip custom styling (glassmorphic dark look) */
.jvm-tooltip {
  background: rgba(30, 45, 47, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--radius-xs) !important;
  padding: 0.6rem 1.2rem !important;
  color: var(--white) !important;
  font-family: var(--font-heading) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  box-shadow: var(--shadow-md) !important;
}

/* Zoom controls customization */
.jvm-zoom-btn {
  background: var(--primary-teal) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: var(--radius-xs) !important;
  font-family: var(--font-heading) !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: var(--transition-bounce) !important;
  box-shadow: var(--shadow-sm) !important;
  opacity: 0.8;
}

.jvm-zoom-btn:hover {
  background: var(--secondary-mint) !important;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(130, 178, 167, 0.3) !important;
}

.jvm-zoom-btn.jvm-zoomout {
  top: 50px !important;
}

.jvm-zoom-btn.jvm-zoomreset {
  top: 90px !important;
}

/* --- LANGUAGE TOGGLE MECHANISM --- */
body.lang-de .lang-en {
  display: none !important;
}
body.lang-en .lang-de {
  display: none !important;
}

/* Language Switcher UI */
.lang-switcher-container {
  display: flex;
  align-items: center;
  position: relative;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(54, 95, 99, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2px;
  border-radius: var(--radius-full);
  width: 86px;
  height: 36px;
  box-shadow: var(--shadow-sm);
  user-select: none;
  z-index: 10;
}

.lang-switch-bg {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 40px;
  height: 30px;
  background: var(--primary-teal);
  border-radius: var(--radius-full);
  transition: var(--transition-bounce);
  z-index: 1;
  box-shadow: 0 2px 8px rgba(54, 95, 99, 0.25);
}

body.lang-en .lang-switch-bg {
  left: 42px;
  background: var(--secondary-mint);
  box-shadow: 0 2px 8px rgba(130, 178, 167, 0.35);
}

.lang-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-teal);
  cursor: pointer;
  z-index: 2;
  transition: var(--transition-smooth);
  height: 100%;
  border: none;
  background: none;
  outline: none;
}

body.lang-de .lang-btn-de,
body.lang-en .lang-btn-en {
  color: var(--white);
}

/* Mobile navbar layout adjustment for switcher */
@media (max-width: 768px) {
  .nav-container {
    gap: 1rem;
  }
  
  .lang-switcher-container {
    margin-left: auto;
    margin-right: 0.5rem;
  }
}

/* --- PHOTO GALLERY SECTION --- */
.photo-gallery {
  background-color: var(--bg-cream-dark);
  padding: 8rem 0;
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 10;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

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

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

.gallery-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 45, 47, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  transition: var(--transition-smooth);
  z-index: 2;
}

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

.gallery-card-tag {
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--secondary-mint);
  color: var(--white);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-xs);
  margin-bottom: 0.6rem;
  transform: translateY(10px);
  transition: var(--transition-smooth) 0.05s;
}

.gallery-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
  transform: translateY(10px);
  transition: var(--transition-smooth) 0.1s;
}

.gallery-card-loc {
  font-size: 0.85rem;
  color: var(--accent-sand-light);
  display: flex;
  align-items: center;
  gap: 4px;
  transform: translateY(10px);
  transition: var(--transition-smooth) 0.15s;
}

.gallery-card:hover .gallery-card-tag,
.gallery-card:hover .gallery-card-title,
.gallery-card:hover .gallery-card-loc {
  transform: translateY(0);
}

.gallery-card.hidden {
  display: none !important;
}

/* --- LIGHTBOX OVERLAY SYSTEM --- */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 24, 0.96);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-bounce);
  z-index: 2010;
  outline: none;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1) rotate(90deg);
}

.lightbox-close-btn svg {
  width: 24px;
  height: 24px;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-bounce);
  z-index: 2010;
  outline: none;
}

.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-arrow svg {
  width: 28px;
  height: 28px;
}

.lightbox-arrow-prev {
  left: 3rem;
}

.lightbox-arrow-next {
  right: 3rem;
}

.lightbox-content {
  max-width: 75%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2005;
  transform: scale(0.95);
  opacity: 0;
  transition: var(--transition-smooth);
}

.lightbox-overlay.active .lightbox-content {
  transform: scale(1);
  opacity: 1;
}

.lightbox-img {
  max-width: 100%;
  max-height: 72vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
  border: 4px solid rgba(255, 255, 255, 0.05);
}

.lightbox-caption-panel {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--white);
  max-width: 650px;
}

.lightbox-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--secondary-mint);
  margin-bottom: 0.4rem;
  display: inline-block;
}

.lightbox-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.4rem;
  letter-spacing: -0.2px;
}

.lightbox-location {
  font-size: 0.9rem;
  color: var(--accent-sand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* Lightbox responsiveness */
@media (max-width: 992px) {
  .lightbox-content {
    max-width: 85%;
  }
  
  .lightbox-arrow-prev {
    left: 1.5rem;
  }
  
  .lightbox-arrow-next {
    right: 1.5rem;
  }
}

@media (max-width: 768px) {
  .photo-gallery {
    padding: 6rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .lightbox-content {
    max-width: 90%;
  }
  
  .lightbox-img {
    max-height: 60vh;
  }
  
  .lightbox-arrow {
    width: 46px;
    height: 46px;
  }
  
  .lightbox-arrow-prev {
    left: 0.8rem;
  }
  
  .lightbox-arrow-next {
    right: 0.8rem;
  }
  
  .lightbox-close-btn {
    top: 1.2rem;
    right: 1.2rem;
    width: 44px;
    height: 44px;
  }
  
  .lightbox-title {
    font-size: 1.15rem;
  }
}

/* --- ADMIN LOGIN MODAL STYLING --- */
.admin-login-container {
  max-width: 440px;
  padding: 3.5rem 2.5rem;
}

.admin-login-header {
  text-align: center;
  margin-bottom: 2.2rem;
}

.admin-lock-icon-wrapper {
  width: 66px;
  height: 66px;
  background: rgba(54, 95, 99, 0.07);
  border: 1px solid rgba(54, 95, 99, 0.15);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: var(--primary-teal);
  box-shadow: inset 0 2px 4px rgba(54, 95, 99, 0.05);
}

.admin-lock-icon {
  width: 28px;
  height: 28px;
}

.admin-login-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  line-height: 1.4;
}

.admin-login-form .form-group {
  margin-bottom: 1.5rem;
}

/* Error Shake Animation for incorrect credentials */
.shake {
  animation: shake 0.4s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

/* --- ADMIN DASHBOARD & CMS STYLING --- */
#admin-dashboard-modal {
  padding: 0 !important;
}

.admin-dashboard-container {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  border-radius: 0;
  border: none;
  padding: 2rem 3rem;
  display: flex;
  flex-direction: column;
}

.admin-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(54, 95, 99, 0.1);
  padding-bottom: 1.2rem;
  margin-bottom: 1.5rem;
  gap: 1.5rem;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-dashboard-container .modal-close-btn {
  position: relative;
  top: auto;
  right: auto;
  margin: 0;
  flex-shrink: 0;
}

.admin-dash-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.btn-logout {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  gap: 4px;
}

.admin-dash-body {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  overflow: hidden;
  height: 100%;
}

.admin-dash-col-left,
.admin-dash-col-right {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.cms-form-card,
.cms-staged-card {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(54, 95, 99, 0.1);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.cms-form-card h3,
.cms-staged-header h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-teal);
}

.cms-upload-form {
  overflow-y: auto;
  padding-right: 0.5rem;
  margin-top: 1rem;
  flex: 1;
}

.cms-upload-form .form-group {
  margin-bottom: 1.2rem;
}

/* Drag & Drop File Upload Zone */
.cms-upload-zone-wrapper {
  margin-bottom: 1.5rem;
}

.cms-upload-zone {
  position: relative;
  width: 100%;
  min-height: 140px;
  background: rgba(255, 255, 255, 0.4);
  border: 2px dashed rgba(54, 95, 99, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  overflow: hidden;
}

.cms-upload-zone:hover,
.cms-upload-zone.dragover {
  background: rgba(255, 255, 255, 0.65);
  border-color: var(--primary-teal);
  box-shadow: var(--shadow-sm);
}

.cms-upload-zone.dragover {
  transform: scale(1.01);
}

.cms-upload-icon {
  width: 32px;
  height: 32px;
  color: var(--primary-teal);
  opacity: 0.8;
  margin-bottom: 0.6rem;
  transition: var(--transition-bounce);
}

.cms-upload-zone:hover .cms-upload-icon {
  transform: translateY(-4px) scale(1.05);
}

.cms-upload-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.cms-upload-text .highlight {
  color: var(--primary-teal);
  text-decoration: underline;
}

.cms-upload-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Image Preview State */
.cms-upload-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cms-upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
}

.cms-btn-remove-file {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 28px;
  height: 28px;
  background: rgba(239, 68, 68, 0.85);
  border: none;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-bounce);
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

.cms-btn-remove-file svg {
  width: 14px;
  height: 14px;
}

.cms-btn-remove-file:hover {
  background: #ef4444;
  transform: scale(1.1);
}

/* Custom Dropdown select wrap styling */
.select-wrapper {
  position: relative;
  width: 100%;
}

.select-arrow {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  color: var(--primary-teal);
  pointer-events: none;
  font-size: 0.75rem;
}

.cms-translation-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(54, 95, 99, 0.1);
  padding-top: 1.2rem;
}

.cms-translation-col {
  transition: var(--transition-smooth);
}

/* Beautiful greyed-out style for inactive translated column */
.cms-translation-col.disabled-column {
  opacity: 0.55;
  pointer-events: none; /* Block all mouse interactions (clicks, hover, select) */
  cursor: not-allowed;
}

.cms-translation-col.disabled-column .form-input,
.cms-translation-col.disabled-column .tags-input-container {
  background: rgba(54, 95, 99, 0.05) !important;
  border-color: rgba(54, 95, 99, 0.08) !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

.cms-translation-col.disabled-column .form-label,
.cms-translation-col.disabled-column .tags-form-label {
  color: var(--text-muted) !important;
  opacity: 0.75;
}

.cms-lang-indicator {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-teal);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-left: 2.5px solid var(--primary-teal);
  padding-left: 6px;
}

.cms-lang-indicator.font-en {
  color: var(--secondary-mint-dark);
  border-left-color: var(--secondary-mint-dark);
}

/* Thumbnail listing column */
.cms-staged-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(54, 95, 99, 0.1);
  padding-bottom: 0.8rem;
  margin-bottom: 1rem;
}

.cms-thumbnails-grid {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  overflow-y: auto;
  flex: 1;
  padding-right: 0.5rem;
}

.cms-item-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(54, 95, 99, 0.08);
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.cms-item-row:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(54, 95, 99, 0.18);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.cms-thumb {
  width: 64px;
  height: 46px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  border: 1px solid rgba(54, 95, 99, 0.1);
}

.cms-item-details {
  flex: 1;
  min-width: 0;
}

.cms-item-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cms-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.cms-item-category {
  font-weight: 600;
  text-transform: uppercase;
  color: var(--secondary-mint-dark);
}

.btn-delete-item {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.15);
  color: #ef4444;
  padding: 0.4rem 0.8rem;
  font-size: 0.72rem;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition-bounce);
  outline: none;
}

.btn-delete-item:hover {
  background: #ef4444;
  color: var(--white);
  border-color: #ef4444;
  transform: scale(1.04);
}

/* CMS responsiveness */
@media (max-width: 992px) {
  .admin-dashboard-container {
    padding: 1.5rem;
  }
  
  .admin-dash-body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    overflow-y: auto;
    max-height: calc(100vh - 180px);
    padding-right: 0.4rem;
  }
  
  .admin-dash-col-left,
  .admin-dash-col-right {
    height: auto;
    overflow: visible;
  }
  
  .cms-thumbnails-grid {
    max-height: 320px;
  }
}

@media (max-width: 768px) {
  .admin-login-container {
    width: 90%;
    padding: 2.2rem 1.8rem;
  }
  
  .cms-translation-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .admin-dash-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .admin-header-actions {
    align-self: flex-end;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
  }
}

/* Searchable Country Select Dropdown */
.country-select-group {
  margin-bottom: 1.2rem;
}

.country-select-container {
  position: relative;
  width: 100%;
}

.country-dropdown-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(54, 95, 99, 0.18);
  border-radius: var(--radius-xs);
  z-index: 10000;
  box-shadow: var(--shadow-md);
  max-height: 220px;
  display: flex;
  flex-direction: column;
  animation: modalFadeIn 0.2s ease-out;
}

.country-search-box-wrap {
  padding: 0.5rem;
  border-bottom: 1px solid rgba(54, 95, 99, 0.08);
  background: rgba(255, 255, 255, 0.5);
}

.country-inner-search {
  width: 100%;
  padding: 0.45rem 0.6rem;
  font-size: 0.8rem;
  border: 1px solid rgba(54, 95, 99, 0.15);
  border-radius: var(--radius-xs);
  background: var(--white);
  color: var(--text-dark);
  outline: none;
  font-family: var(--font-body);
}

.country-inner-search:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 2px rgba(54, 95, 99, 0.1);
}

.country-options-wrap {
  overflow-y: auto;
  flex: 1;
  max-height: 160px;
}

/* Custom scrollbar for options list */
.country-options-wrap::-webkit-scrollbar {
  width: 5px;
}

.country-options-wrap::-webkit-scrollbar-track {
  background: transparent;
}

.country-options-wrap::-webkit-scrollbar-thumb {
  background: rgba(54, 95, 99, 0.15);
  border-radius: 3px;
}

.country-options-wrap::-webkit-scrollbar-thumb:hover {
  background: rgba(54, 95, 99, 0.3);
}

.country-option {
  padding: 0.55rem 0.8rem;
  font-size: 0.82rem;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
  transition: var(--transition-smooth);
  border-bottom: 1px solid rgba(54, 95, 99, 0.03);
}

.country-option:last-child {
  border-bottom: none;
}

.country-option:hover {
  background: rgba(54, 95, 99, 0.08);
  color: var(--primary-teal);
  padding-left: 1rem;
  font-weight: 600;
}

/* --- CMS MULTI-TAG PILLS WIDGET --- */
.tags-input-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.4rem 0.6rem;
  min-height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(54, 95, 99, 0.15);
  transition: var(--transition-smooth);
}

.tags-input-container.focused {
  background: var(--white);
  border-color: var(--secondary-mint);
  box-shadow: 0 0 0 4px rgba(130, 178, 167, 0.15);
}

.tags-inner-input {
  border: none !important;
  outline: none !important;
  background: transparent !important;
  flex-grow: 1;
  min-width: 80px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 0.25rem 0.4rem;
  box-shadow: none !important;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--primary-teal);
  color: var(--white) !important;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-xs);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-heading);
  animation: tagScaleIn 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes tagScaleIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.tag-pill-remove {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: var(--white) !important;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  transition: var(--transition-smooth);
}

.tag-pill-remove:hover {
  background: var(--white);
  color: var(--primary-teal) !important;
}

/* Float label overrides for tags group */
.tags-form-label {
  white-space: nowrap;
  pointer-events: none !important;
}

.form-group.label-floating .tags-form-label {
  top: -0.6rem;
  left: 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-teal);
  background: var(--white);
  padding: 0 0.4rem;
  border-radius: var(--radius-xs);
  z-index: 10;
}

/* Horizontal public tags layout */
.gallery-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-self: flex-start;
  margin-bottom: 0.6rem;
}

.gallery-card-tags .gallery-card-tag {
  margin-bottom: 0 !important;
  transform: none !important;
}

/* Action buttons container inside CMS listings */
.cms-item-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

/* Edit button inside CMS listings */
.btn-edit-item {
  background: rgba(54, 95, 99, 0.06);
  border: 1px solid rgba(54, 95, 99, 0.15);
  color: var(--primary-teal);
  padding: 0.4rem 0.8rem;
  font-size: 0.72rem;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition-bounce);
  outline: none;
}

.btn-edit-item:hover {
  background: var(--primary-teal);
  color: var(--white) !important;
  border-color: var(--primary-teal);
  transform: scale(1.04);
}

/* --- WORDPRESS-STYLE ADMIN CMS DASHBOARD --- */
.admin-dashboard-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 1;
  overflow: hidden;
  margin-top: 0.5rem;
  height: calc(100% - 150px); /* Fill height accounting for header and top nav */
}

.admin-top-nav {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  border-bottom: 1px solid rgba(54, 95, 99, 0.1);
  padding-bottom: 0.8rem;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.admin-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 0.6rem 1.2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: var(--transition-bounce);
  outline: none;
}

.admin-tab-btn svg {
  margin-right: 8px;
  transition: var(--transition-smooth);
}

.admin-tab-btn:hover {
  background: rgba(54, 95, 99, 0.05);
  color: var(--primary-teal);
  transform: translateY(-2px);
}

.admin-tab-btn.active {
  background: var(--primary-teal);
  color: var(--white) !important;
  box-shadow: 0 4px 12px rgba(54, 95, 99, 0.15);
}

.admin-tab-btn.active:hover {
  transform: translateY(0);
}

.admin-content-area {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}

.cms-tab-content {
  display: none;
  height: 100%;
  width: 100%;
}

.cms-tab-content.active {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Custom Switch Toggle */
.cms-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 20px;
  flex-shrink: 0;
}

.cms-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cms-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(54, 95, 99, 0.15);
  transition: .3s;
  border-radius: 20px;
  border: 1px solid rgba(54, 95, 99, 0.1);
}

.cms-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background-color: var(--white);
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

input:checked + .cms-slider {
  background-color: var(--primary-teal);
  border-color: var(--primary-teal);
}

input:checked + .cms-slider:before {
  transform: translateX(18px);
}

/* World Map CMS Grid Checklist */
.cms-map-countries-grid {
  scrollbar-width: thin;
  scrollbar-color: rgba(54, 95, 99, 0.3) rgba(54, 95, 99, 0.05);
  padding-bottom: 2rem;
  min-height: 0;
}

.cms-map-countries-grid::-webkit-scrollbar {
  width: 6px;
}

.cms-map-countries-grid::-webkit-scrollbar-track {
  background: rgba(54, 95, 99, 0.05);
  border-radius: var(--radius-xs);
}

.cms-map-countries-grid::-webkit-scrollbar-thumb {
  background: rgba(54, 95, 99, 0.2);
  border-radius: var(--radius-xs);
}

.cms-map-countries-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(54, 95, 99, 0.4);
}

.cms-map-country-item {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(54, 95, 99, 0.08);
  border-radius: var(--radius-xs);
  padding: 0.6rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  transition: var(--transition-smooth);
}

.cms-map-country-item:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(54, 95, 99, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(54, 95, 99, 0.05);
}

.cms-country-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cms-country-code-pill {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  background: rgba(54, 95, 99, 0.08);
  color: var(--primary-teal);
  border-radius: var(--radius-xs);
  align-self: flex-start;
  margin-bottom: 0.15rem;
  font-family: var(--font-heading);
}

.cms-country-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Staged Days Itinerary Row previews */
.cms-itinerary-preview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(54, 95, 99, 0.1);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
}

.btn-cms-remove-day-item {
  background: transparent;
  border: none;
  color: #ef4444;
  font-weight: 800;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0 0.2rem;
}

#cms-about-de-bio,
#cms-about-en-bio {
  min-height: 200px;
}

/* --- GLOBAL SEARCH OVERLAY & RESULTS --- */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 28, 30, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.search-modal {
  width: 90%;
  max-width: 780px;
  max-height: 80vh;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(54, 95, 99, 0.15);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.search-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid rgba(54, 95, 99, 0.1);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
}

.search-close-btn:hover {
  transform: rotate(90deg) scale(1.05);
  background: var(--primary-teal);
  color: var(--white);
}

.search-close-btn svg {
  width: 16px;
  height: 16px;
}

.search-header {
  border-bottom: 1px solid rgba(54, 95, 99, 0.1);
  padding-bottom: 1.2rem;
  margin-bottom: 1rem;
  padding-right: 3.5rem; /* Prevents overlap with absolute close button */
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-icon-inside {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  color: var(--primary-teal);
  pointer-events: none;
  opacity: 0.8;
}

.search-input {
  width: 100%;
  padding: 1.1rem 1.2rem 1.1rem 3.2rem;
  font-size: 1.2rem;
  font-family: var(--font-body);
  color: var(--primary-teal);
  background: var(--white);
  border: 1px solid rgba(54, 95, 99, 0.15);
  border-radius: var(--radius-xs);
  outline: none;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 16px rgba(54, 95, 99, 0.12);
}

.search-label {
  position: absolute;
  left: 3.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-smooth);
  font-size: 1.05rem;
}

.search-input:focus ~ .search-label,
.search-input:not(:placeholder-shown) ~ .search-label {
  top: -0.6rem;
  left: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-teal);
  background: var(--white);
  padding: 0 0.4rem;
  border-radius: var(--radius-xs);
}

.search-shortcut-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  text-align: right;
}

.search-shortcut-hint kbd {
  background: rgba(54, 95, 99, 0.08);
  border: 1px solid rgba(54, 95, 99, 0.15);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-family: inherit;
  font-weight: 600;
}

.search-results-area {
  overflow-y: auto;
  flex-grow: 1;
  padding-right: 0.4rem;
  max-height: 50vh;
}

.search-results-empty {
  text-align: center;
  padding: 3.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

/* Category Groups */
.search-result-group {
  margin-bottom: 1.8rem;
}

.search-result-group:last-child {
  margin-bottom: 0.5rem;
}

.search-group-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-teal);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--primary-teal);
  padding-left: 8px;
}

.search-group-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Search Items */
.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(54, 95, 99, 0.08);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.search-result-item:hover {
  transform: translateX(4px);
  background: var(--white);
  border-color: rgba(54, 95, 99, 0.22);
  box-shadow: 0 4px 12px rgba(54, 95, 99, 0.05);
}

.search-item-thumb {
  width: 50px;
  height: 38px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(54, 95, 99, 0.1);
  flex-shrink: 0;
}

.search-item-thumb-flag {
  width: 50px;
  height: 34px;
  object-fit: cover;
  border-radius: 4px;
  border: 1.5px solid var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.search-item-info {
  flex-grow: 1;
  min-width: 0; /* Enable text clipping */
}

.search-item-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary-teal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.15rem;
}

.search-item-meta strong {
  color: var(--primary-teal);
  opacity: 0.85;
}

.search-item-arrow {
  color: var(--text-muted);
  opacity: 0.45;
  transition: var(--transition-smooth);
}

.search-result-item:hover .search-item-arrow {
  color: var(--primary-teal);
  opacity: 0.9;
  transform: translateX(2px);
}

/* Nav search icon button */
.nav-search-btn {
  background: transparent;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
  margin-right: 0.5rem;
}

.nav-search-btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-smooth);
}

.nav-search-btn:hover {
  background: rgba(54, 95, 99, 0.08);
  color: var(--primary-teal);
}

.nav-search-btn:hover svg {
  transform: scale(1.12);
}

header:not(.scrolled) .nav-search-btn {
  color: var(--white) !important;
}

header:not(.scrolled) .nav-search-btn:hover {
  background: rgba(255, 255, 255, 0.15) !important;
}

/* Highlight flash animation for wishlist capsules */
.highlight-flash {
  animation: highlightFlash 1.5s ease-out forwards;
}

@keyframes highlightFlash {
  0% {
    background: rgba(130, 178, 167, 0.4);
    border-color: var(--secondary-mint);
    box-shadow: 0 0 14px rgba(130, 178, 167, 0.4);
  }
  100% {
    background: rgba(255, 255, 255, 0.45);
    border-color: rgba(54, 95, 99, 0.08);
    box-shadow: var(--shadow-sm);
  }
}

/* --- CMS EDITOR TOOLBAR STYLE --- */
.editor-toolbar {
  display: flex;
  gap: 0.4rem;
  padding: 0.6rem 0.8rem;
  background: rgba(54, 95, 99, 0.04);
  border: 1px solid rgba(54, 95, 99, 0.15);
  border-bottom: none;
  border-top-left-radius: var(--radius-xs);
  border-top-right-radius: var(--radius-xs);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
}

.toolbar-btn {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(54, 95, 99, 0.1);
  border-radius: 4px;
  background: var(--white);
  color: var(--primary-teal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.toolbar-btn:hover {
  background: var(--primary-teal);
  color: var(--white);
  border-color: var(--primary-teal);
  transform: translateY(-1px);
}

.toolbar-btn.btn-bold {
  font-weight: 800;
}

.toolbar-btn.btn-italic {
  font-style: italic;
  font-family: serif;
}

/* Connect toolbar to textarea below it */
.editor-toolbar + textarea.form-input {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}/* --- EQUIPMENT TEASER SECTION --- */
.equipment-teaser-section {
  padding: 6rem 0;
  background: radial-gradient(circle at 80% 20%, rgba(54, 95, 99, 0.04) 0%, transparent 50%);
}

.equipment-teaser-card {
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.teaser-content-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3.5rem;
}

.teaser-text {
  flex: 1 1 65%;
}

.teaser-action {
  flex: 0 0 auto;
}

.btn-teaser-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.2rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.btn-teaser-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(54, 95, 99, 0.25);
}

.btn-arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-teaser-cta:hover .btn-arrow-icon {
  transform: translateX(4px);
}

/* --- DETAILED EQUIPMENT PAGE --- */
.equipment-page {
  padding-top: 10rem;
  padding-bottom: 7.5rem;
  background: radial-gradient(circle at 10% 20%, rgba(54, 95, 99, 0.03) 0%, transparent 60%),
              radial-gradient(circle at 90% 80%, rgba(94, 155, 149, 0.03) 0%, transparent 60%);
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.equipment-card {
  padding: 2.5rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.equipment-card:hover {
  transform: translateY(-6px);
  border-color: rgba(54, 95, 99, 0.3);
  box-shadow: 0 15px 35px rgba(54, 95, 99, 0.12);
}

.equipment-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(54, 95, 99, 0.08);
  padding-bottom: 1.25rem;
}

.equipment-icon-wrapper {
  background: linear-gradient(135deg, rgba(54, 95, 99, 0.08) 0%, rgba(94, 155, 149, 0.08) 100%);
  color: var(--primary-teal);
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  border: 1px solid rgba(54, 95, 99, 0.05);
}

.equipment-card:hover .equipment-icon-wrapper {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-mint) 100%);
  color: var(--white);
  transform: scale(1.05) rotate(3deg);
  border-color: transparent;
}

.equipment-icon-wrapper svg {
  width: 26px;
  height: 26px;
}

.equipment-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.equipment-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-teal-dark);
  margin: 0;
}

.equipment-badge {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-sand);
  display: inline-block;
}

.equipment-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex-grow: 1;
}

.equipment-detail-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(54, 95, 99, 0.05);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 2px 8px rgba(54, 95, 99, 0.02);
}

.equipment-detail-row:nth-child(1) {
  border-left: 3.5px solid var(--primary-teal);
}

.equipment-detail-row:nth-child(2) {
  border-left: 3.5px solid var(--secondary-mint);
}

.equipment-detail-row:nth-child(3) {
  border-left: 3.5px solid var(--accent-sand);
}

.equipment-detail-row:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(54, 95, 99, 0.15);
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(54, 95, 99, 0.06);
}

.equipment-row-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.equipment-row-header svg.row-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.equipment-detail-row:nth-child(1) .equipment-row-header {
  color: var(--primary-teal);
}

.equipment-detail-row:nth-child(2) .equipment-row-header {
  color: var(--secondary-mint-dark);
}

.equipment-detail-row:nth-child(3) .equipment-row-header {
  color: var(--accent-sand);
}

.equipment-detail-row:hover .equipment-row-header svg.row-icon {
  transform: scale(1.18) rotate(3deg);
}

.equipment-row-header strong {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
}

.equipment-detail-row p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
  padding-left: 0.1rem;
}

/* Back Button styling */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--primary-teal);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  margin-bottom: 2.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(54, 95, 99, 0.15);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-back:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--primary-teal);
  color: var(--primary-teal-dark);
  transform: translateX(-4px);
  box-shadow: var(--shadow-md);
}

.btn-back svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .teaser-content-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .teaser-text {
    flex: 1 1 100%;
  }
  .equipment-teaser-card {
    padding: 2.5rem;
  }
  .equipment-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .equipment-card {
    padding: 2rem;
  }
}

/* --- PHOTO GALLERY TOGGLE BUTTON --- */
#btn-gallery-toggle {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

#btn-gallery-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(54, 95, 99, 0.2);
}

#btn-gallery-toggle svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#btn-gallery-toggle:hover svg:not(.rotate-180) {
  transform: translateY(2px);
}

#btn-gallery-toggle:hover svg.rotate-180 {
  transform: translateY(-2px) rotate(180deg);
}

/* --- ABOUT ME NAME CARD OVERLAY --- */
.about-name-card {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  padding: 1rem 1.75rem;
  z-index: 3;
  width: max-content;
  max-width: 85%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(54, 95, 99, 0.12);
}

.about-name-card .name-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-teal);
  line-height: 1.2;
  letter-spacing: -0.5px;
  display: block;
}

.about-name-card .name-subtitle {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-teal);
  opacity: 0.8;
  margin-top: 0.25rem;
  display: block;
}

/* Tablet & Mobile Layout Shifts */
@media (max-width: 991px) {
  .about-name-card {
    top: 1rem;
    left: 1rem;
    padding: 0.8rem 1.2rem;
    max-width: 90%;
    box-shadow: 0 6px 20px rgba(54, 95, 99, 0.1);
  }
  .about-name-card .name-title {
    font-size: 1.15rem;
  }
  .about-name-card .name-subtitle {
    font-size: 0.65rem;
    letter-spacing: 1.2px;
  }
}

/* --- CONTINENT PAGINATION TABS --- */
.continent-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(54, 95, 99, 0.08);
  padding-bottom: 1.2rem;
  margin-bottom: 2rem;
}

.continent-tab-btn {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(54, 95, 99, 0.12);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.continent-tab-btn:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--primary-teal);
  color: var(--primary-teal-dark);
  transform: translateY(-1px);
}

.continent-tab-btn.active {
  background: var(--primary-teal);
  border-color: var(--primary-teal);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(54, 95, 99, 0.2);
}

/* --- SCROLL REVEAL STYLES --- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.85s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: opacity, transform;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* ─── Sanity Inline Images (Rich Text) ────────────────────────────────────── */
.story-inline-figure {
  margin: 2.5rem 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.story-inline-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.4s ease;
}

.story-inline-figure:hover .story-inline-img {
  transform: scale(1.02);
}

.story-inline-caption {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.6);
  font-style: italic;
}

/* --- ACCESSORIES / SUPPLEMENTARY GEAR --- */
.accessories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.accessory-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  align-items: flex-start;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.accessory-card:hover {
  transform: translateY(-5px);
  border-color: rgba(54, 95, 99, 0.3);
  box-shadow: 0 15px 35px rgba(54, 95, 99, 0.1);
}

.accessory-icon-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(54, 95, 99, 0.08);
  color: var(--primary-teal);
  transition: all 0.3s ease;
}

.accessory-card:hover .accessory-icon-wrapper {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-mint) 100%);
  color: var(--white);
  transform: scale(1.08) rotate(5deg);
}

.accessory-icon-wrapper svg {
  width: 22px;
  height: 22px;
}

.accessory-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.accessory-title {
  font-size: 1.15rem;
  font-family: var(--font-heading);
  color: var(--primary-teal-dark);
  font-weight: 600;
  margin: 0;
}

.accessory-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-dark);
  margin: 0;
}

@media (max-width: 900px) {
  .accessories-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* --- TEASER GRID & CARDS --- */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 1rem;
}

.teaser-card {
  padding: 3rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.teaser-card:hover {
  transform: translateY(-5px);
  border-color: rgba(54, 95, 99, 0.25);
  box-shadow: 0 15px 35px rgba(54, 95, 99, 0.1);
}

.teaser-card-header {
  margin-bottom: 2rem;
}

.teaser-card-action {
  margin-top: auto;
}

@media (max-width: 900px) {
  .teaser-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* --- TRAVEL HACKS SECTION --- */
.hacks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}

.hack-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 3rem 2.5rem 2.5rem;
  border-radius: var(--radius-md);
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.hack-card:hover {
  transform: translateY(-6px);
  border-color: rgba(54, 95, 99, 0.3);
  box-shadow: 0 15px 35px rgba(54, 95, 99, 0.1);
}

.hack-badge {
  position: absolute;
  top: -12px;
  right: 25px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-sand) 0%, #a88a75 100%);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(197, 165, 142, 0.4);
  z-index: 5;
}

.hack-icon-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(54, 95, 99, 0.08);
  color: var(--primary-teal);
  margin-bottom: 1.8rem;
  transition: all 0.3s ease;
  width: fit-content;
  padding: 10px;
}

.hack-card:hover .hack-icon-wrapper {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-mint) 100%);
  color: var(--white);
  transform: scale(1.08) rotate(5deg);
}

.hack-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.hack-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hack-title {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  color: var(--primary-teal-dark);
  font-weight: 600;
  margin: 0 0 1.2rem;
  line-height: 1.4;
}

.hack-desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.hack-learning {
  margin-top: auto;
  padding: 1.25rem;
  background: rgba(197, 165, 142, 0.07);
  border-left: 3px solid var(--accent-sand);
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.hack-learning strong {
  display: block;
  color: var(--accent-sand);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

@media (max-width: 991px) {
  .hacks-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ─── Gallery Loading Skeletons ─────────────────────────────────────────── */
.gallery-skeleton {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, var(--bg-cream-dark) 25%, var(--white) 37%, var(--bg-cream-dark) 63%);
  background-size: 400% 100%;
  animation: gallery-shimmer 1.4s ease infinite;
}

@keyframes gallery-shimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
