/* ============================
   WINDIJOYENGIN - GLOBAL STYLES
   European Road Trip Planner
   ============================ */

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

:root {
  --bg-deep: #0d1b2a;
  --bg-overlay: #1b263b;
  --accent-primary: #e76f51;
  --accent-secondary: #f4a261;
  --accent-highlight: #ffd166;
  --glass: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.1);
  --glass-hover: rgba(255,255,255,0.08);
  --text-primary: #ffffff;
  --text-soft: #cbd5e1;
  --text-muted: #8899aa;
  --shadow: 0 8px 32px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 30px rgba(231,111,81,0.3);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition);
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

/* ---- GLASS CARD ---- */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.glass-card:hover {
  background: var(--glass-hover);
  border-color: rgba(255,255,255,0.15);
  box-shadow: var(--shadow);
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 27, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(13, 27, 42, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  z-index: 1001;
}

.logo-icon {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}

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

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 20px 60px;
}

.hero-parallax {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-mountains {
  background: linear-gradient(180deg, #0d1b2a 0%, #1b263b 30%, #243b55 60%, #1b263b 100%);
}

.hero-mountains::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: 
    linear-gradient(135deg, transparent 33%, rgba(231,111,81,0.05) 33%, rgba(231,111,81,0.05) 66%, transparent 66%),
    linear-gradient(225deg, transparent 33%, rgba(244,162,97,0.05) 33%, rgba(244,162,97,0.05) 66%, transparent 66%);
  background-size: 80px 60px;
}

.hero-road {
  background: radial-gradient(ellipse at 50% 120%, rgba(231,111,81,0.15) 0%, transparent 70%);
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.hero-route-svg {
  position: absolute;
  bottom: 10%;
  left: 0;
  right: 0;
  width: 100%;
  height: 300px;
  opacity: 0.3;
  z-index: 1;
}

.route-path-animated {
  animation: dashDraw 4s ease-in-out infinite;
}

@keyframes dashDraw {
  0% { stroke-dashoffset: 30; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -30; }
}

.route-dot {
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { r: 5; opacity: 0.8; }
  50% { r: 8; opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

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

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.accent-text {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-highlight));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-soft);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-highlight);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
}

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

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), #d45a3a);
  color: white;
  box-shadow: 0 4px 15px rgba(231,111,81,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(231,111,81,0.4);
  color: white;
}

.btn-secondary {
  background: var(--glass);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: var(--glass-hover);
  border-color: rgba(255,255,255,0.2);
  color: var(--text-primary);
}

.btn-glow {
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from { box-shadow: 0 4px 15px rgba(231,111,81,0.3); }
  to { box-shadow: 0 4px 25px rgba(231,111,81,0.6), 0 0 40px rgba(231,111,81,0.2); }
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

/* ---- SECTION HEADERS ---- */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(231,111,81,0.15);
  color: var(--accent-primary);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

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

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ---- HORIZONTAL SCROLL (Featured Routes) ---- */
.horizontal-scroll-wrapper {
  position: relative;
}

.horizontal-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0 20px;
}

.horizontal-scroll::-webkit-scrollbar {
  display: none;
}

.scroll-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.scroll-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-btn:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

/* ---- ROUTE CARDS ---- */
.route-card {
  min-width: 340px;
  max-width: 380px;
  scroll-snap-align: start;
  overflow: hidden;
  flex-shrink: 0;
}

.route-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.route-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.route-card:hover .route-card-image img {
  transform: scale(1.05);
}

.route-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
}

.route-duration {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  background: rgba(231,111,81,0.9);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
}

.route-card-content {
  padding: 20px;
}

.route-card-content h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.route-path-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.route-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.route-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.highlight-tag {
  padding: 4px 10px;
  background: rgba(255,209,102,0.1);
  color: var(--accent-highlight);
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ---- DESTINATIONS GRID ---- */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.destination-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  text-decoration: none;
}

.destination-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.destination-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.destination-card:hover .destination-image img {
  transform: scale(1.1);
}

.destination-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 20px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
}

.destination-country {
  font-size: 0.8rem;
  opacity: 0.8;
}

.destination-overlay h3 {
  font-size: 1.5rem;
  margin: 4px 0;
}

.destination-overlay p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ---- TOOLS GRID ---- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tool-card {
  padding: 32px;
  text-align: center;
}

.tool-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.tool-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.tool-card p {
  color: var(--text-soft);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* ---- TIPS GRID (Home preview) ---- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tip-card {
  padding: 24px;
  text-align: center;
}

.tip-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}

.tip-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.tip-card p {
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* ---- CTA SECTION ---- */
.cta-section {
  padding: 60px 0;
}

.cta-box {
  padding: 60px 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(231,111,81,0.1), rgba(244,162,97,0.05));
  border-color: rgba(231,111,81,0.2);
}

.cta-box h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.cta-box p {
  color: var(--text-soft);
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding: 120px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-overlay), var(--bg-deep));
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--text-soft);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.page-hero-detail {
  text-align: left;
}

.back-link {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
  text-decoration: none;
}

.back-link:hover {
  color: var(--accent-primary);
}

/* ---- ROUTE DETAIL (Routes page) ---- */
.route-detail-card {
  padding: 0;
  overflow: hidden;
  margin-bottom: 40px;
}

.route-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.route-detail-grid.reverse {
  direction: rtl;
}

.route-detail-grid.reverse > * {
  direction: ltr;
}

.route-detail-image {
  height: 100%;
  min-height: 400px;
}

.route-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.route-detail-info {
  padding: 40px;
}

.route-badge-large {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(231,111,81,0.15);
  color: var(--accent-primary);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.route-detail-info h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.route-path-text-large {
  color: var(--accent-secondary);
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-weight: 500;
}

.route-description {
  color: var(--text-soft);
  margin-bottom: 24px;
  line-height: 1.7;
}

.route-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.stat-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-highlight);
}

/* ---- ROUTE DETAIL PAGE ---- */
.route-overview-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px;
}

.route-map-visual {
  padding: 30px;
  text-align: center;
}

.route-map-svg {
  width: 100%;
  max-height: 300px;
}

.route-stop-dot {
  animation: pulseDot 2s ease-in-out infinite;
}

/* TIMELINE */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary), var(--accent-highlight));
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-marker {
  position: absolute;
  left: -40px;
  top: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-day {
  display: inline-block;
  position: absolute;
  left: 40px;
  top: 4px;
  padding: 4px 12px;
  background: var(--accent-primary);
  color: white;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.timeline-marker::before {
  content: '';
  width: 14px;
  height: 14px;
  background: var(--accent-primary);
  border-radius: 50%;
  border: 3px solid var(--bg-deep);
  box-shadow: 0 0 10px rgba(231,111,81,0.5);
}

.timeline-content {
  padding: 24px;
  margin-left: 80px;
}

.timeline-image {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  height: 200px;
}

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.timeline-content p {
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* COST BREAKDOWN */
.cost-breakdown {
  padding: 30px;
  max-width: 600px;
  margin: 0 auto;
}

.cost-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--glass-border);
}

.cost-row:last-child {
  border-bottom: none;
}

.cost-label {
  color: var(--text-soft);
}

.cost-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--text-primary);
}

.cost-total {
  background: rgba(231,111,81,0.1);
  margin: 16px -30px -30px;
  padding: 20px 30px;
  border-radius: 0 0 var(--radius) var(--radius);
  border-bottom: none;
}

.cost-total .cost-value {
  color: var(--accent-highlight);
  font-size: 1.2rem;
}

/* ---- PLANNER ---- */
.planner-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.planner-form, .planner-results {
  padding: 30px;
}

.planner-form h2, .planner-results h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.form-group select,
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all var(--transition);
  outline: none;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(231,111,81,0.15);
}

.form-group select option {
  background: var(--bg-overlay);
  color: var(--text-primary);
}

.stop-row {
  display: flex;
  gap: 10px;
}

.stop-row select {
  flex: 1;
}

.stop-group {
  position: relative;
}

.remove-stop {
  padding: 12px 16px;
  background: rgba(255,80,80,0.2);
  border: 1px solid rgba(255,80,80,0.3);
  color: #ff5050;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--transition);
}

.remove-stop:hover {
  background: rgba(255,80,80,0.3);
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.result-route {
  margin-bottom: 24px;
}

.route-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.route-step-city {
  font-weight: 600;
  color: var(--accent-secondary);
}

.route-step-arrow {
  color: var(--text-muted);
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.suggested-stops h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--accent-highlight);
}

.suggested-stops ul {
  list-style: none;
}

.suggested-stops li {
  padding: 8px 0;
  color: var(--text-soft);
  border-bottom: 1px solid var(--glass-border);
}

.suggested-stops li:last-child {
  border-bottom: none;
}

/* ---- CALCULATOR ---- */
.calculator-card {
  padding: 40px;
}

.calc-result {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
}

/* ---- DESTINATIONS DETAIL ---- */
.destination-detail {
  padding: 0;
  overflow: hidden;
  margin-bottom: 40px;
}

.destination-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.destination-detail-grid.reverse {
  direction: rtl;
}

.destination-detail-grid.reverse > * {
  direction: ltr;
}

.destination-detail-image {
  height: 100%;
  min-height: 450px;
}

.destination-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.destination-detail-info {
  padding: 40px;
}

.destination-country-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(231,111,81,0.15);
  color: var(--accent-primary);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.destination-detail-info h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.destination-overview {
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 24px;
}

.destination-detail-info h4 {
  font-size: 1.1rem;
  color: var(--accent-secondary);
  margin-bottom: 12px;
  margin-top: 20px;
}

.attraction-list {
  list-style: none;
  margin-bottom: 16px;
}

.attraction-list li {
  padding: 6px 0;
  color: var(--text-soft);
}

.destination-detail-info > p {
  color: var(--text-soft);
  line-height: 1.7;
}

/* ---- TIPS DETAIL ---- */
.tips-detail-card {
  padding: 40px;
  margin-bottom: 30px;
}

.tips-icon-large {
  font-size: 3rem;
  margin-bottom: 16px;
}

.tips-detail-card h2 {
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.tips-list {
  list-style: none;
}

.tips-list li {
  padding: 12px 0;
  color: var(--text-soft);
  border-bottom: 1px solid var(--glass-border);
  line-height: 1.7;
}

.tips-list li:last-child {
  border-bottom: none;
}

.tips-list strong {
  color: var(--text-primary);
}

/* CHECKLIST */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.checklist-column h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--accent-secondary);
}

.checklist {
  list-style: none;
}

.checklist li {
  padding: 6px 0;
  color: var(--text-soft);
  position: relative;
  padding-left: 24px;
}

.checklist li::before {
  content: '☐';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

/* SEASONS */
.season-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.season-card {
  padding: 24px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
}

.season-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.season-card p {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 4px;
}

.season-card strong {
  color: var(--accent-secondary);
}

/* ---- FAQ ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
}

.faq-question:hover {
  color: var(--accent-primary);
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
  color: var(--accent-primary);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 24px;
}

.faq-answer p {
  color: var(--text-soft);
  line-height: 1.7;
}

/* ---- CONTACT ---- */
.contact-card {
  padding: 40px;
}

.success-message {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: rgba(76,175,80,0.1);
  border: 1px solid rgba(76,175,80,0.3);
  border-radius: var(--radius-sm);
  margin-top: 20px;
  color: #4caf50;
}

.success-message span {
  font-size: 1.5rem;
}

/* ---- LEGAL PAGES ---- */
.legal-content {
  max-width: 800px;
}

.legal-card {
  padding: 40px;
}

.legal-card h2 {
  font-size: 1.4rem;
  margin-top: 30px;
  margin-bottom: 12px;
  color: var(--accent-secondary);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card h3 {
  font-size: 1.1rem;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-card p {
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-card ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 12px;
}

.legal-card ul li {
  color: var(--text-soft);
  line-height: 1.7;
  padding: 4px 0;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.cookie-table th,
.cookie-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.9rem;
}

.cookie-table th {
  color: var(--accent-secondary);
  font-weight: 600;
}

.cookie-table td {
  color: var(--text-soft);
}

/* ---- FOOTER ---- */
.footer {
  background: var(--bg-overlay);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand .logo-icon,
.footer-brand .logo-text {
  display: inline;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============================
   RESPONSIVE DESIGN
   ============================ */

@media (max-width: 1024px) {
  .route-detail-grid,
  .route-detail-grid.reverse,
  .destination-detail-grid,
  .destination-detail-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .route-detail-image,
  .destination-detail-image {
    min-height: 300px;
  }

  .route-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .planner-layout {
    grid-template-columns: 1fr;
  }

  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .route-overview-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(13, 27, 42, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 20px 20px;
    gap: 4px;
    transition: right var(--transition);
    z-index: 1000;
    overflow-y: auto;
  }

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

  .nav-links a {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 120px 20px 80px;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .scroll-indicator {
    display: none;
  }

  .section {
    padding: 50px 0;
  }

  .route-card {
    min-width: 300px;
  }

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

  .destination-card {
    aspect-ratio: 4/3;
  }

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

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
  }

  .cta-box {
    padding: 40px 20px;
  }

  .result-stats {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 30px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-marker {
    left: -30px;
  }

  .timeline-day {
    left: 30px;
  }

  .timeline-content {
    margin-left: 50px;
    padding: 20px;
  }

  .route-detail-info,
  .destination-detail-info {
    padding: 24px;
  }

  .route-overview-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
  }

  .tips-detail-card {
    padding: 24px;
  }

  .legal-card {
    padding: 24px;
  }

  .calculator-card {
    padding: 24px;
  }

  .contact-card {
    padding: 24px;
  }

  .planner-form, .planner-results {
    padding: 24px;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .route-card {
    min-width: 280px;
  }

  .route-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .route-overview-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .timeline-content {
    margin-left: 30px;
  }

  .timeline-day {
    left: 20px;
    font-size: 0.7rem;
  }
}

/* ---- ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

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

/* Route map animation */
@keyframes drawRoute {
  to { stroke-dashoffset: 0; }
}

.route-map-svg .route-stop-dot {
  opacity: 0;
  animation: fadeInDot 0.5s ease-out forwards;
}

.route-map-svg .route-stop-dot:nth-child(2) { animation-delay: 0.5s; }
.route-map-svg .route-stop-dot:nth-child(3) { animation-delay: 1s; }
.route-map-svg .route-stop-dot:nth-child(4) { animation-delay: 1.5s; }
.route-map-svg .route-stop-dot:nth-child(5) { animation-delay: 2s; }

@keyframes fadeInDot {
  to { opacity: 1; }
}