/* ============================================
   CH✈BR Reiseportal — Schweiz–Brasilien
   ============================================ */

:root {
  --ch-red: #ff0000;
  --ch-white: #ffffff;
  --br-green: #009c3b;
  --br-yellow: #ffdf00;
  --br-blue: #002776;
  --dark: #0a0f1a;
  --dark-2: #111827;
  --dark-3: #1f2937;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --light: #f3f4f6;
  --white: #ffffff;
  --accent: #10b981;
  --accent-2: #f59e0b;
  --gradient-ch: linear-gradient(135deg, #ff0000, #cc0000);
  --gradient-br: linear-gradient(135deg, #009c3b, #ffdf00);
  --gradient-main: linear-gradient(135deg, #10b981, #059669);
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(10, 15, 26, 0.95);
  backdrop-filter: blur(20px);
  padding: 0.6rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.logo-ch { color: var(--ch-red); }
.logo-divider { color: var(--white); font-size: 1.2rem; opacity: 0.7; }
.logo-br { color: var(--br-green); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--gradient-main) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 600 !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(16,185,129,0.4); }

.nav-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); transition: var(--transition); }

/* --- Hero --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero-slide-active { opacity: 1; }
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.15); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,15,26,0.6) 0%, rgba(10,15,26,0.8) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 1.5rem;
  max-width: 800px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 2rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeInUp 0.8s ease 0.8s both;
}
.hero-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.2rem;
}
.hero-slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.dot-active { background: var(--white); transform: scale(1.2); }

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font);
}
.btn-primary {
  background: var(--gradient-main);
  color: var(--white);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16,185,129,0.35); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* --- Marquee --- */
.marquee {
  background: var(--dark);
  overflow: hidden;
  padding: 0.8rem 0;
  white-space: nowrap;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track span {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Sections --- */
.section { padding: 6rem 0; }
.section-dark { background: var(--dark); color: var(--white); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block;
  background: rgba(16,185,129,0.1);
  color: var(--accent);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.section-dark .section-tag { background: rgba(16,185,129,0.15); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}
.section-dark .section-desc { color: var(--gray-light); }

/* --- Country Title --- */
.country-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.flag { font-size: 1.8rem; }

/* --- Destination Cards --- */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.dest-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dest-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.dest-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gradient-main);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.dest-badge-alt { background: var(--gradient-ch) !important; }
.dest-info { padding: 1.5rem; }
.dest-info h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.dest-info p { color: var(--gray); font-size: 0.9rem; margin-bottom: 1rem; }
.dest-meta { display: flex; gap: 1.2rem; font-size: 0.8rem; color: var(--gray-light); }
.dest-meta i { color: var(--accent); margin-right: 0.3rem; }

/* --- Experience Cards --- */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.exp-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.exp-card:hover {
  border-color: rgba(16,185,129,0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(16,185,129,0.1);
}
.exp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(16,185,129,0.1);
  color: var(--accent);
  font-size: 1.2rem;
}
.exp-vs {
  display: inline-block;
  font-weight: 800;
  color: var(--accent-2);
  margin: 0 0.3rem;
  font-size: 0.8rem;
}
.exp-card h4 { margin: 1rem 0 0.5rem; font-size: 1.05rem; }
.exp-card p { color: var(--gray-light); font-size: 0.85rem; }

/* --- Route Cards --- */
.route-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.route-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.route-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.route-card-featured {
  border: 2px solid var(--accent);
  box-shadow: 0 8px 32px rgba(16,185,129,0.15);
}
.route-header {
  padding: 1.5rem 1.5rem 0.5rem;
}
.route-tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--light);
  color: var(--gray);
}
.route-tag-popular { background: #fef3c7; color: #92400e; }
.route-tag-featured { background: rgba(16,185,129,0.1); color: var(--accent); }
.route-header h3 { font-size: 1.3rem; margin: 0.5rem 0 0.3rem; }
.route-duration { color: var(--gray); font-size: 0.85rem; }
.route-duration i { color: var(--accent); }

.route-stops { padding: 1rem 1.5rem; }
.route-stop {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.6rem 0;
  position: relative;
  padding-left: 1.5rem;
}
.route-stop::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 1.2rem;
  bottom: -0.6rem;
  width: 2px;
  background: var(--light);
}
.route-stop-end::before { display: none; }
.route-dot {
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.route-stop-end .route-dot { background: var(--ch-red); }
.route-stop strong { font-size: 0.9rem; display: block; }
.route-stop span { font-size: 0.8rem; color: var(--gray); }

.route-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.route-price { font-size: 1.2rem; font-weight: 800; color: var(--accent); }

/* --- Tips Grid --- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.tip-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}
.tip-card:hover { border-color: rgba(16,185,129,0.3); transform: translateY(-3px); }
.tip-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(16,185,129,0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.tip-card h4 { margin-bottom: 0.5rem; font-size: 0.95rem; }
.tip-card p { color: var(--gray-light); font-size: 0.8rem; line-height: 1.5; }

/* --- Connection Stats --- */
.connection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.conn-card {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--radius);
  background: var(--light);
}
.conn-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.conn-label {
  font-size: 0.85rem;
  color: var(--gray);
}

/* --- CTA / Contact --- */
.section-cta {
  background: linear-gradient(135deg, var(--dark) 0%, #0f2922 50%, var(--dark) 100%);
  color: var(--white);
  padding: 5rem 0;
}
.cta-content { max-width: 700px; margin: 0 auto; }
.cta-content .section-desc { color: var(--gray-light); }

.contact-form { margin-top: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
}
.form-group select option { background: var(--dark); }
.form-group:last-child { margin-bottom: 1.5rem; }

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-brand p { margin: 1rem 0; font-size: 0.85rem; line-height: 1.6; }
.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--white); }
.footer h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 1rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.5rem; font-size: 0.85rem; }
.footer li a:hover { color: var(--accent); }
.footer li i { width: 20px; color: var(--accent); margin-right: 0.3rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .dest-grid, .route-cards { grid-template-columns: repeat(2, 1fr); }
  .exp-grid, .tips-grid { grid-template-columns: repeat(2, 1fr); }
  .connection-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10,15,26,0.98);
    padding: 1.5rem;
    gap: 0.5rem;
  }
  .nav-links.open a { padding: 0.7rem 0; }
  .nav-toggle { display: flex; }

  .hero-stats { gap: 1.5rem; }
  .hero-stat-num { font-size: 1.4rem; }

  .dest-grid, .route-cards, .exp-grid, .tips-grid { grid-template-columns: 1fr; }
  .connection-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* --- Scroll Animations --- */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Success Toast --- */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--accent);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  z-index: 9999;
}
.toast.show { transform: translateY(0); opacity: 1; }
