/**
 * Laura Navarro Lora - Global Stylesheet
 * 
 * TABLE OF CONTENTS:
 * 1. Variables & Reset
 * 2. Typography
 * 3. Layout & Structure
 * 4. Navigation
 * 5. Commmon Components (Buttons, Cards, Badges)
 * 6. Theme Engines (Dark, Kawaii)
 * 7. Animations
 * 8. Media Queries (Mobile, Print)
 */

/* --- 1. Variables & Reset --- */
:root {
  /* Color Palette */
  --primary-color: #064e3b;
  --secondary-color: #d4af37;
  --accent-color: #059669;
  --bg-color: #f9fafb;
  --text-color: #111827;
  --text-muted: #4b5563;
  --white: #ffffff;
  --card-bg: #ffffff;
  --border-color: rgba(0, 0, 0, 0.05);

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

  /* Spacing & Effects */
  --section-padding: 5rem 2rem;
  --container-width: 1100px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
  --radius: 1rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* --- 2. Typography --- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.text-link {
  text-decoration: underline;
  color: var(--primary-color);
  font-weight: 600;
}

.text-link:hover {
  color: var(--secondary-color);
}

.print-header {
  display: none;
}
[data-theme="dark"] {
  --primary-color: #d4af37;
  /* Brand Gold */
  --secondary-color: #d4af37;
  /* Match shadow to primary gold */
  --bg-color: #061a14;
  /* Deep emerald background */
  --text-color: #f1f5f9;
    /* Brighter off-white for better contrast */
    --text-muted: #94a3b8;
  /* Neutral muted gray */
  --white: #0b2d23;
  /* Forest green cards */
  --card-bg: #0b2d23;
  --border-color: rgba(212, 175, 55, 0.15);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .btn-outline {
  background: transparent !important;
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
}

[data-theme="dark"] .btn-outline:hover {
  background-color: var(--primary-color) !important;
  color: #061a14 !important;
  /* Dark emerald for contrast on gold button */
}

/* Dark Mode Readability Fixes */
[data-theme="dark"] .marker-label {
  color: #061a14 !important;
  /* Dark text on gold marker */
}

[data-theme="dark"] .card-cta,
[data-theme="dark"] .view-guide {
  color: var(--primary-color) !important;
  /* Gold text for links on dark green cards */
  font-weight: 600;
}

[data-theme="dark"] .guide-pro-tip,
[data-theme="dark"] .guide-warning,
[data-theme="dark"] .comparison-card {
  background: var(--card-bg) !important;
  border-left-color: var(--primary-color) !important;
}

[data-theme="dark"] .guide-warning {
  border: 1px solid var(--primary-color);
}

[data-theme="dark"] .guide-header h2,
[data-theme="dark"] .guide-header p,
[data-theme="dark"] .guide-header .back-link {
  color: var(--primary-color) !important;
}

[data-theme="dark"] .guide-header {
  background: linear-gradient(135deg, #061a14, #0b2d23);
}
[data-theme="dark"] footer {
  background-color: var(--bg-color) !important;
  color: var(--text-color) !important;
  border-top: 1px solid var(--border-color);
}

[data-theme="dark"] footer a {
  color: var(--primary-color) !important;
}

[data-theme="dark"] .guide-header {
  background: linear-gradient(135deg, #061a14, #0b2d23);
  border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .guide-header h2,
[data-theme="dark"] .guide-header p,
[data-theme="dark"] .guide-header .back-link {
  color: var(--primary-color) !important;
}
[data-theme="kawaii"] {
  --primary-color: #ff9aa2;
  --secondary-color: #ffdac1;
  --accent-color: #b5ead7;
  --bg-color: #fff9f9;
  --text-color: #6d5d6e;
  --text-muted: #a0849d;
  --white: #ffffff;
  --font-body: 'Quicksand', sans-serif;
    --font-heading: 'Quicksand', sans-serif;
  --shadow: 0 8px 20px rgba(255, 154, 162, 0.2);
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style="font-size:20px"><text y="20">✨</text></svg>'), auto;
}

[data-theme="dark"] .hero p {
  color: var(--text-color) !important;
}

[data-theme="dark"] .hostel-section {
  background-color: var(--card-bg) !important;
  border-color: var(--border-color) !important;
}

[data-theme="dark"] .hostel-section h3 {
  color: var(--primary-color) !important;
}
[data-theme="dark"] .guide-disclaimer {
  background: rgba(6, 26, 20, 0.95) !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15) !important;
}
[data-theme="kawaii"] h1::before {
  content: "🌸 ";
}

[data-theme="kawaii"] h1::after {
  content: " 🌸";
}

[data-theme="kawaii"] h2::before {
  content: "✨ ";
}

[data-theme="kawaii"] h2::after {
  content: " ✨";
}

[data-theme="kawaii"] h3::before {
  content: "🎀 ";
}
[data-theme="kawaii"] .experience-item,
[data-theme="kawaii"] .tip-card,
[data-theme="kawaii"] .btn {
  border-radius: 2rem;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  [data-theme="kawaii"] .experience-item:hover,
  [data-theme="kawaii"] .tip-card:hover,
  [data-theme="kawaii"] .btn:hover {
    transform: scale(1.05) rotate(1deg);
}

/* Kawaii Bouncy Animations */
@keyframes kawaii-float {
  0% {
      transform: translateY(0px) rotate(0deg);
    }
  
    50% {
      transform: translateY(-10px) rotate(1deg);
    }
  
    100% {
      transform: translateY(0px) rotate(0deg);
    }
  }

@keyframes kawaii-bg-move {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

[data-theme="kawaii"] body {
  background: linear-gradient(270deg, #fff9f9, #fff0f5, #f0f8ff, #f5fffa);
  background-size: 800% 800%;
  animation: kawaii-bg-move 15s ease infinite;
}

/* Kawaii Trigger (Star) Animation */
@keyframes star-shine {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
    filter: drop-shadow(0 0 0px var(--secondary-color));
  }

  50% {
    opacity: 1;
    transform: scale(1.5);
    filter: drop-shadow(0 0 8px var(--secondary-color));
  }
}

.kawaii-trigger {
  font-size: 0.5rem;
  cursor: pointer;
  color: var(--secondary-color);
  margin-left: 5px;
  animation: star-shine 2s infinite ease-in-out;
  transition: var(--transition);
  display: inline-block;
  vertical-align: middle;
}

.kawaii-trigger:hover {
  animation-play-state: paused;
  transform: scale(2) rotate(20deg);
  opacity: 1;
  filter: drop-shadow(0 0 12px var(--secondary-color));
}
[data-theme="kawaii"] .hero-img {
  animation: kawaii-float 3s ease-in-out infinite;
}
/* Kawaii Stickers */
[data-theme="kawaii"] .hero::before {
  content: "😻";
  position: absolute;
  top: 15%;
  left: 5%;
  font-size: 3.5rem;
  animation: kawaii-float 4s ease-in-out infinite;
  opacity: 0.6;
}

[data-theme="kawaii"] .hero::after {
  content: "☁️";
  position: absolute;
  top: 10%;
  right: 5%;
  font-size: 4rem;
  animation: kawaii-float 5s ease-in-out infinite;
  animation-delay: 1s;
  opacity: 0.4;
  }
  
  [data-theme="kawaii"] .hero-content::before {
    content: "☁️";
    position: absolute;
    bottom: 20%;
    left: 10%;
    font-size: 3rem;
    animation: kawaii-float 4.5s ease-in-out infinite;
    animation-delay: 0.5s;
    opacity: 0.3;
  }
  
  [data-theme="kawaii"] .hero-content::after {
  content: "😸";
    position: absolute;
    bottom: 15%;
    right: 15%;
    font-size: 3rem;
    animation: kawaii-float 3.5s ease-in-out infinite;
    animation-delay: 1.5s;
    opacity: 0.5;
}
[data-theme="kawaii"] .hero-img-container::before {
  content: "☁️";
  position: absolute;
  top: -10%;
  right: -10%;
  font-size: 2.5rem;
  animation: kawaii-float 6s ease-in-out infinite;
  opacity: 0.4;
}

[data-theme="kawaii"] .hero-img-container::after {
  content: "🐱";
  position: absolute;
  top: 5%;
  right: 25%;
  font-size: 2rem;
  animation: kawaii-float 4s ease-in-out infinite;
  animation-delay: 2s;
  opacity: 0.5;
}
.hero-socials a:hover {
  transform: scale(1.2) rotate(10deg);
  color: var(--secondary-color) !important;
}
/* --- 3. Layout --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--section-padding);
  max-width: var(--container-width);
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
}

/* --- End of Layout --- */


/* Navigation */
nav {
  position: fixed;
  top: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] nav {
  background: rgba(6, 26, 20, 0.85);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.nav-container {
  width: 100%;
    max-width: var(--container-width);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

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


.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

/* Hamburger (Hidden on Desktop) */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
    gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

/* Hamburger Animation */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Nav Links */
@media (max-width: 768px) {
  nav {
      height: 60px;
    }
  .nav-links {
    display: flex;
    position: absolute;
    top: 60px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 60px);
      background: var(--bg-color);
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 3rem;
      transition: all 0.5s ease;
      z-index: 999;
  }

    .nav-links.open {
    right: 0;
  }

    .hamburger {
      display: flex;
    }
.guide-disclaimer {
  margin-top: 60px;
  padding: 0.75rem 1rem;
}
}

/* Theme Toggle Styles */
.theme-toggle {
  background: none;
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  margin-left: 1rem;
  font-size: 1.1rem;
}

[data-theme="kawaii"] .theme-toggle {
  color: #ff9aa2;
  border-color: #ff9aa2;
}

[data-theme="kawaii"] .theme-toggle:hover {
  background: #ff9aa2;
  color: white;
}
.theme-toggle:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: rotate(15deg) scale(1.1);
}

/* Disclaimer Banner */
.guide-disclaimer {
  background: rgba(249, 250, 251, 0.95);
    /* Match bg-color with high opacity */
  padding: 0.75rem 2rem;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 80px;
  /* Offset for fixed nav */
  color: var(--text-muted);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

  
  [data-theme="dark"] .guide-disclaimer {
    background: rgba(6, 26, 20, 0.95);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.guide-disclaimer a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: underline;
}

/* Remove margin-top for guide pages with disclaimer */
.guide-disclaimer+.guide-header,
.guide-disclaimer+.section {
  margin-top: 0 !important;
}

.guide-disclaimer+.guide-header {
  padding-top: 4rem;
  /* Reduce padding since nav offset is handled by disclaimer */
}
/* --- 5. Common Components --- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.2);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Scroll Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-img-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 20px 20px 0 var(--secondary-color);
}

/* Resume Section */
.section {
  padding: var(--section-padding);
  max-width: var(--container-width);
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.resume-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.resume-sidebar h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--secondary-color);
  display: inline-block;
}

.experience-item {
  margin-bottom: 2rem;
  padding: 2rem;
  background: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--secondary-color);
  transition: var(--transition);
}

.experience-item h4 {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.experience-item .company {
  font-weight: 600;
  color: var(--text-muted);
}

.experience-item .date {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* Travel Tips */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.tip-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.tip-card:hover {
  transform: translateY(-5px);
}

.tip-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Interactive Cards for Munich Guide */
.interactive-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--border-color);
}

.tip-card-link {
  display: block;
  height: 100%;
}

.card-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.card-cta {
  margin-top: auto;
  padding-top: 1.5rem;
  font-weight: 600;
  color: var(--accent-color);
  display: inline-block;
  transition: var(--transition);
  margin-bottom: 0.5rem;
}

/* Detail Pages Layout */
.guide-header {
  padding: 8rem 2rem 4rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--white);
  text-align: center;
}

.guide-header .back-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  display: inline-block;
  font-weight: 500;
}

.guide-header h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.guide-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Guide Sub-Navigation */
.guide-nav {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
  position: sticky;
  top: 80px;
  z-index: 900;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.guide-nav-list {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 0 2rem;
  scrollbar-width: none;
  list-style: none;
  /* Hide scrollbar for Firefox */

}

.guide-nav-list::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar for Chrome/Safari */
}

.guide-nav-link {
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  transition: var(--transition);
}

.guide-nav-link:hover {
  background: rgba(6, 78, 59, 0.05);
  color: var(--primary-color);
}

.guide-nav-link.active {
  background: var(--primary-color);
  color: var(--white) !important;
}

[data-theme="dark"] .guide-nav-link:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .guide-nav {
      top: 60px;
      padding: 0;
      overflow: visible;
      width: 100%;
      background: var(--bg-color);
      border-bottom: 2px solid var(--primary-color);
      z-index: 999;
    }
  
    .guide-nav .container {
      width: 100%;
      margin: 0;
      padding: 0;
    }
  .guide-nav-list {
    display: flex;
      flex-direction: column;
      gap: 0;
      padding: 0;
      width: 100%;
    }
    
    /* Closed state: show only active item as a button */
    .guide-nav:not(.open) .guide-nav-list {
      height: 60px;
      overflow: hidden;
    }
    
    /* Open state: overlay the content */
    .guide-nav.open .guide-nav-list {
      position: absolute;
      top: 100%;
      /* Below the 'button' */
      left: 0;
      background: var(--card-bg);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
      z-index: 1001;
      height: auto;
      border-radius: 0 0 1.5rem 1.5rem;
      overflow: hidden;
    }
    
    .guide-nav-list li {
      width: 100%;
      display: block;
    }
    
    .guide-nav-link {
      width: 100%;
    justify-content: flex-start;
    padding: 1.2rem 2rem;
      border-radius: 0;
      border-bottom: 1px solid var(--border-color);
      display: flex;
      font-size: 1rem;
      background: var(--card-bg);
      color: var(--text-color);
    }
    
    .guide-nav-link.active {
      background: var(--primary-color);
      color: var(--white) !important;
      font-weight: 700;
      order: -2;
      /* Ensure it's the toggle trigger at the top */
    }
    
    .guide-nav-link.active::after {
      content: "\f078";
      /* fa-chevron-down */
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      position: absolute;
      right: 2rem;
      transition: transform 0.3s ease;
    }
    
    .guide-nav.open .guide-nav-link.active::after {
      transform: rotate(180deg);
    }
    
    /* When CLOSED, hide everything except the active link */
    .guide-nav:not(.open) .guide-nav-list li:not(:has(.active)) {
      display: none;
  }
/* When OPEN, hide the active link inside the dropdown to avoid redundancy, 
     but wait, we need it as the 'toggle' trigger. 
     Let's keep the active link at the top as the 'header'. */
}
.guide-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.guide-item {
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border-color);
}

.guide-item:last-child {
  border-bottom: none;
}

.guide-item h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.guide-item-content {
  font-size: 1.1rem;
  color: var(--text-color);
}

.guide-item-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1.5rem;
  object-fit: cover;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.guide-pro-tip {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 1rem;
  border-left: 4px solid var(--secondary-color);
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--text-color);
}

.guide-pro-tip>strong:first-child {
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

/* Minimal List Layout for Guide */
.guide-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.guide-list-item {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.guide-numbered-list {
  list-style: decimal;
  padding-left: 2.5rem;
}

.guide-numbered-list .guide-list-item {
  padding-left: 0.5rem;
}

.guide-numbered-list .guide-list-item::before {
  content: none;
}

.guide-list-item::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.guide-list-item h4 {
  font-size: 1.2rem;
  color: var(--primary-color);
  display: inline;
  margin-right: 0.5rem;
}

.guide-list-item h4 a,
.gmaps-link {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 2px solid var(--secondary-color);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 2px;
}

.guide-list-item h4 a::after,
.gmaps-link::after {
  content: "\f3c5";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--secondary-color);
}

.guide-list-item h4 a:hover,
.gmaps-link:hover {
  background-color: rgba(212, 175, 55, 0.1);
  border-bottom-color: var(--primary-color);
}

.guide-list-item p {
  display: inline;
  color: var(--text-color);
}

.guide-list-item .guide-pro-tip {
  display: block;
  margin-top: 1rem;
  margin-left: -1.5rem;
  /* Re-align with the container */
}

/* Leaflet Map Enhancements */
#map {
  z-index: 1;
}

.custom-emoji-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.marker-circle {
  width: 40px;
  height: 40px;
  background: var(--white);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.marker-label {
  background: var(--primary-color);
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 5px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.custom-emoji-marker:hover .marker-circle {
  transform: scale(1.1);
  background: var(--bg-color);
  border-color: var(--secondary-color);
}

/* Leaflet Map Popups */
.leaflet-popup-content-wrapper {
  background: var(--white);
  border-radius: 1rem;
  padding: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.leaflet-popup-content {
  margin: 1rem;
  line-height: 1.4;
}

.map-popup-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  display: block;
}

.map-popup-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: var(--transition);
}

.map-btn-primary {
  background: var(--primary-color);
  color: white !important;
}

.map-btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.map-btn-secondary {
  background: rgba(45, 90, 78, 0.1);
  color: var(--primary-color) !important;
}

.map-btn-secondary:hover {
  background: rgba(45, 90, 78, 0.2);
}

/* Transport Comparison Table */
.table-container {
  overflow-x: auto;
  margin: 2.5rem 0;
  border-radius: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  background: var(--white);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  min-width: 650px;
}

.comparison-table th {
  background: var(--primary-color);
  color: white;
  text-align: left;
  padding: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.comparison-table td {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
  vertical-align: top;
  line-height: 1.6;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr {
  transition: var(--transition);
}

.comparison-table tr:hover {
  background: rgba(45, 90, 78, 0.04);
}

.comparison-table tr:nth-child(even) {
  background: rgba(45, 90, 78, 0.02);
}

.comparison-table .price-col {
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
}

.comparison-table strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.2rem;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* CTA Buttons */
.cta-container {
  text-align: center;
  margin: 3rem 0;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--primary-color);
  color: white !important;
  padding: 1.25rem 2.5rem;
  border-radius: 3.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(45, 90, 78, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  background: var(--secondary-color);
  box-shadow: 0 15px 30px rgba(45, 90, 78, 0.4);
  color: white !important;
}

.cta-button:active {
  transform: translateY(-2px) scale(1.02);
}

.cta-button i {
  font-size: 0.9em;
  opacity: 0.9;
}

/* Warnings and Critical Tips */
.guide-warning {
  background: rgba(255, 69, 58, 0.08);
  border: 2px solid #ff453a;
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  animation: warning-pulse 2s infinite ease-in-out;
}

.guide-warning i {
  color: #ff453a;
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.guide-warning-content strong {
  color: #ff453a !important;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.guide-warning-content p {
  margin: 0;
  color: var(--text-color);
  font-weight: 500;
  line-height: 1.5;
}

@keyframes warning-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 69, 58, 0.2);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 69, 58, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 69, 58, 0);
  }
}

/* Subtle Badges */
.cash-only-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  background: rgba(45, 90, 78, 0.08);
  border: 1px solid rgba(45, 90, 78, 0.2);
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-left: 0.5rem;
  vertical-align: middle;
}

.cash-only-badge i {
  font-size: 0.9rem;
  color: var(--secondary-color);
}
/* App Download Buttons */
.app-btn-group {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--primary-color);
  color: white !important;
  padding: 0.8rem 1.5rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 1px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.app-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  color: white !important;
}

.app-btn i {
  font-size: 1.2rem;
}
/* Ensure Leaflet attribution is subtle */
.leaflet-control-attribution {
  font-size: 0.6rem !important;
  opacity: 0.5;
}

/* Responsive detail page */
@media (max-width: 768px) {
  .guide-header h2 {
    font-size: 2.5rem;
  }

  .guide-header {
    padding: 6rem 1.5rem 3rem;
  }

  .guide-content {
    padding: 2rem 1.5rem;
  }
.comparison-grid {
  grid-template-columns: 1fr !important;
}
}

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

.comparison-card {
  margin: 0;
  padding: 1.5rem;
  border-radius: 1rem;
  border-left: 4px solid var(--secondary-color);
  background: var(--card-bg);
}

.comparison-card.buy {
  background: rgba(45, 90, 78, 0.05);
  border-left-color: var(--primary-color);
}

.comparison-card.dont-buy {
  background: rgba(255, 69, 58, 0.05);
  border-left-color: #ff453a;
}
/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

    .hero-text h1 {
      font-size: 2.5rem;
    }

    .resume-grid {
      grid-template-columns: 1fr;
    }

    .nav-links {
      display: none;
    }

    .hamburger {
      display: block;
    }

    .hero {
      padding-bottom: 4rem;
    }
}
@media print {
  @page {
    size: A4 portrait;
    margin: 0.6cm;
      /* Tighter margins */
  }
  
  /* UNIVERSAL RESET */
        *,
        *::before,
        *::after {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* HTML/BODY Reset */
        html,
        body {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: white !important;
    font-size: 9pt;
      /* Reduced base font */
  }

  /* Hide specific web elements */
  nav,
  .theme-toggle,
  .resume-actions,
  footer,
  .hamburger,
  .hero-socials,
  .cta-buttons,
  .no-print,
  .date {
    display: none !important;
  }

  /* Structural Resets */
        .section,
        .resume-grid,
        .resume-main,
  .resume-sidebar,
  .experience-item,
        div,
        ul,
        li,
        p,
        h1,
        h2,
        h3,
        h4 {
    display: block !important;
    width: auto !important;
    float: none !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    break-inside: auto !important;
  }

  /* Custom Print Layout */
  
  /* Header */
  .print-header {
    display: block !important;
    text-align: center;
    border-bottom: 2px solid black !important;
    padding-bottom: 0.5rem !important;
      /* Compact */
      margin-bottom: 1rem !important;
      /* Compact */
  }
  
  .print-header h1 {
    font-size: 20pt !important;
      /* Smaller header */
    font-weight: bold !important;
    margin-bottom: 0.2rem !important;
  }
  
  .print-header .contact-info {
    font-size: 9pt !important;
    position: relative !important;
      z-index: 1000 !important;
  }
  
  .print-header a {
    text-decoration: underline !important;
    color: #0000EE !important;
      /* Standard Link Blue */
      cursor: pointer !important;
      pointer-events: auto !important;
      position: relative !important;
      z-index: 9999 !important;
  }
  
        /* Sidebar (Top Section) - Compact Linear */
  .resume-sidebar {
    display: block !important;
    border-bottom: 1px solid #ccc !important;
      padding-bottom: 0.5rem !important;
      margin-bottom: 1rem !important;
    width: 100% !important;
  }
  
  .resume-sidebar section {
    display: inline-block !important;
    width: 23% !important;
    vertical-align: top !important;
    margin-right: 1% !important;
    margin-bottom: 0 !important;
  }
  
  .resume-sidebar h3 {
    font-size: 10pt !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    margin-bottom: 0.2rem !important;
    border-bottom: 1px solid black !important;
  }
  
  .resume-sidebar ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .resume-sidebar li {
    font-size: 8.5pt !important;
      /* Smaller sidebar */
      line-height: 1.2 !important;
  }

  /* Main (Experience Section) */
  .resume-main {
    width: 100% !important;
    display: block !important;
  }
  
  .resume-main::before {
    content: "EXPERIENCE" !important;
    font-size: 12pt !important;
    font-weight: bold !important;
    border-bottom: 2px solid black !important;
    margin-bottom: 0.8rem !important;
    display: block !important;
  }

  /* Typography */
        h2,
        h3,
        h4 {
    color: #064e3b !important;
    page-break-after: avoid;
    break-after: avoid;
  }
  
  h3 {
    font-size: 1rem !important;
    font-weight: 700;
    margin-bottom: 0.3rem !important;
    border-bottom: none !important;
    color: #064e3b !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
    p,
    li {
      font-size: 9pt !important;
        line-height: 1.3;
  }
  
  .resume-main ul {
    margin-top: 0.2rem !important;
    padding-left: 1.2rem;
  }
  
  .resume-main li {
    margin-bottom: 0.1rem;
  }
  
        /* FORCE VISIBILITY & COMPACTNESS */
  .experience-item {
    display: block !important;
      visibility: visible !important;
        opacity: 1 !important;
        page-break-inside: auto !important;
        break-inside: auto !important;
    margin-bottom: 1rem !important;
      /* Reduced from 2rem */
      padding-bottom: 0.5rem !important;
      /* Reduced from 1rem */
      border-bottom: 1px solid #eee !important;
    }
    
    .experience-item h4 {
      font-size: 11pt !important;
      font-weight: bold !important;
      margin-bottom: 0.1rem !important;
    }
    
    .experience-item .company {
      font-size: 9pt !important;
      font-style: italic !important;
      margin-bottom: 0.3rem !important;
    }
    
    .experience-item .company::after {
      content: " | " attr(data-date);
    }
    
    .experience-item ul {
      padding-left: 1.2rem !important;
      list-style-type: disc !important;
    }
    
    .experience-item li {
      display: list-item !important;
      margin-bottom: 0.1rem;
    }

  /* Hide standard titles */
  .section-title {
    display: none !important;
  }
}
/* Footer Styles */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
}

footer a {
  color: var(--secondary-color);
  font-weight: 600;
}

/* Hostel Section on Munich Hub */
.hostel-section {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 4rem auto 2rem;
  text-align: center;
  transition: var(--transition);
}

.hostel-section:hover {
  transform: translateY(-5px);
}

.hostel-section h3 {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

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