@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,400;0,600;0,700;1,400&family=Syne:wght@400;600;700;800&display=swap');

:root {
  --white: #FFFFFF;
  --azure: #3B82C4;
  --azure-dark: #2A6BA8;
  --pale-sky: #EBF4FC;
  --sand: #F5EFE4;
  --grey: #F0F0F0;
  --slate: #1A1A2E;
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 24px rgba(59,130,196,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito Sans', sans-serif;
  background: var(--white);
  color: var(--slate);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--azure); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--azure-dark); }

h1, h2, h3, h4 { font-family: 'Syne', sans-serif; font-weight: 700; line-height: 1.2; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.section { padding: 5rem 0; }
.section-pale { background: var(--pale-sky); }
.section-grey { background: var(--grey); }

/* NAV */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 1rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-logo::before {
  content: '●';
  color: var(--azure);
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  color: var(--slate);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--azure);
  transition: width 0.35s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--azure); }

#burgerBtn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1002;
}
#burgerBtn span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--azure);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}
#burgerBtn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
#burgerBtn.open span:nth-child(2) { opacity: 0; }
#burgerBtn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

#mobileMenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 1001;
}
#mobileMenu.open { display: flex; }
#mobileMenu a {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--slate);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--grey);
}
#mobileMenu a:hover { color: var(--azure); }

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  border-radius: 24px;
  transition: transform 0.18s, background 0.3s, color 0.3s, box-shadow 0.3s;
}
.btn-primary {
  background-color: var(--azure);
  color: var(--white);
}
.btn-primary:hover {
  background-color: var(--azure-dark);
  color: var(--white);
  transform: scale(1.02);
}
.btn-outline {
  background: transparent;
  color: var(--azure);
  border: 2px solid var(--azure);
}
.btn-outline:hover {
  background: var(--azure);
  color: var(--white);
  transform: scale(1.02);
}
.btn-white {
  background: var(--white);
  color: var(--azure);
}
.btn-white:hover {
  background: var(--pale-sky);
  color: var(--azure-dark);
  transform: scale(1.02);
}

/* HERO SPLIT */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem 4rem  max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem));
  background: var(--white);
}
.hero-text h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.5s ease-out 0.1s forwards;
}
.hero-text h1 .highlight { color: var(--azure); }
.hero-text p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
  max-width: 480px;
  opacity: 0;
  animation: fadeUp 0.5s ease-out 0.3s forwards;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 0.5s ease-out 0.5s forwards;
}
.hero-image {
  overflow: hidden;
  min-height: 400px;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* STATS BAR */
.stats-bar {
  background: var(--azure);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
  color: var(--white);
}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 0.9rem; opacity: 0.9; }

/* CARDS */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

.tour-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border-top: 3px solid var(--azure);
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.tour-card:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.02);
  border-top-color: var(--azure-dark);
}
.tour-card-img { aspect-ratio: 4/3; overflow: hidden; }
.tour-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.tour-card:hover .tour-card-img img { transform: scale(1.05); }
.tour-card-body { padding: 1.25rem; }
.tour-card-body h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.tour-card-body p { font-size: 0.9rem; color: #666; margin-bottom: 0.75rem; }
.duration { font-size: 0.8rem; color: var(--azure); font-weight: 700; margin-bottom: 0.5rem; }
.price {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
  color: var(--slate);
  margin-bottom: 1rem;
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover { transform: scale(1.02); box-shadow: var(--shadow-hover); }
.feature-card svg { width: 40px; height: 40px; stroke: var(--azure); fill: none; margin: 0 auto 1rem; }
.feature-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; color: #666; }

/* SPLIT */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split-section img { border-radius: 12px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-text h2 { font-size: 2rem; margin-bottom: 1rem; }
.split-text p { color: #555; margin-bottom: 1rem; }

/* EVENT CARDS */
.event-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.event-card:hover { transform: scale(1.02); box-shadow: var(--shadow-hover); }
.event-card .date { color: var(--azure); font-weight: 700; font-size: 0.85rem; margin-bottom: 0.5rem; }
.event-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.event-card p { font-size: 0.9rem; color: #666; margin-bottom: 1rem; }

/* TESTIMONIALS */
.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
}
.testimonial-card .quote-mark { font-size: 3rem; color: var(--azure); line-height: 1; font-family: 'Syne', sans-serif; }
.testimonial-card blockquote { font-size: 1rem; margin: 0.5rem 0 1rem; color: #444; }
.testimonial-card .name { font-weight: 700; }
.testimonial-card .city { font-size: 0.85rem; color: #888; }

/* VISIT */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.visit-list { list-style: none; }
.visit-list li {
  padding: 0.75rem 0 0.75rem 2.5rem;
  position: relative;
  border-bottom: 1px solid var(--grey);
}
.visit-list li svg {
  position: absolute;
  left: 0; top: 0.85rem;
  width: 20px; height: 20px;
  stroke: var(--azure);
  fill: none;
}
.visit-list img { border-radius: 12px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* CTA */
.cta-banner {
  background: var(--azure);
  padding: 4rem 1.5rem;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { font-size: 2rem; margin-bottom: 1.5rem; color: var(--white); }

/* PAGE HEADER */
.page-header {
  padding: 8rem 0 3rem;
  background: var(--pale-sky);
  text-align: center;
}
.page-header h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 0.5rem; }
.page-header p { color: #666; max-width: 600px; margin: 0 auto; }

/* TOURS FILTER */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  justify-content: center;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 24px;
  border: 2px solid var(--azure);
  background: var(--white);
  color: var(--azure);
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--azure);
  color: var(--white);
}

.tour-category { margin-bottom: 3rem; }
.tour-category h2 {
  font-size: 1.4rem;
  color: var(--azure);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--pale-sky);
}
.tour-item {
  display: grid;
  grid-template-columns: 2fr 100px 120px;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--grey);
  align-items: center;
}
.tour-item.hidden { display: none; }
.tour-item h3 { font-size: 1rem; font-family: 'Nunito Sans', sans-serif; font-weight: 700; }
.tour-item .dur { color: var(--azure); font-weight: 600; font-size: 0.9rem; }
.tour-item .tour-price { font-family: 'Syne', sans-serif; font-weight: 700; font-variant-numeric: tabular-nums; }
.tour-item .desc { grid-column: 1 / -1; font-size: 0.9rem; color: #666; }
.tour-tags { grid-column: 1 / -1; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: var(--pale-sky);
  color: var(--azure);
  font-weight: 700;
}

/* DEPARTURES */
.departure-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  transition: box-shadow 0.3s;
}
.departure-card:hover { box-shadow: var(--shadow-hover); }
.departure-card img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.departure-body { padding: 1.5rem 2rem; }
.departure-body .meta { color: var(--azure); font-weight: 700; font-size: 0.9rem; margin-bottom: 0.5rem; }
.departure-body h3 { margin-bottom: 0.75rem; }
.departure-body p { color: #666; margin-bottom: 1rem; font-size: 0.95rem; }

/* ABOUT */
.story-block { margin-bottom: 3rem; max-width: 800px; }
.story-block h2 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--azure); }
.story-block p { color: #555; margin-bottom: 1rem; }
.values-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.value-tile {
  background: var(--azure);
  color: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}
.value-tile h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--white); }
.value-tile p { font-size: 0.85rem; opacity: 0.9; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.team-card { text-align: center; }
.team-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; margin-bottom: 1rem; }
.team-card h3 { font-size: 1.1rem; }
.team-card .role { color: var(--azure); font-weight: 700; font-size: 0.85rem; margin-bottom: 0.5rem; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-weight: 700; font-size: 0.9rem; color: var(--slate); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--grey);
  border-radius: 8px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1rem;
  color: var(--slate);
  transition: border-color 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--azure);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.error-msg { color: #e53e3e; font-size: 0.85rem; margin-top: 0.3rem; display: none; }
.error-msg.show { display: block; }
#successMessage {
  display: none;
  text-align: center;
  padding: 3rem;
  background: var(--pale-sky);
  border-radius: 12px;
}
#successMessage .check { font-size: 3rem; color: var(--azure); margin-bottom: 1rem; }

/* LEGAL */
.legal-content { max-width: 800px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.legal-content h2 { font-size: 1.35rem; margin: 2rem 0 1rem; color: var(--azure); }
.legal-content p, .legal-content li { margin-bottom: 1rem; color: #555; }
.legal-content ul { margin-left: 1.5rem; }

/* FOOTER */
.site-footer {
  background: var(--slate);
  color: rgba(255,255,255,0.8);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 0.85rem; opacity: 0.6; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }

/* COOKIE */
#cookieBanner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 3px solid var(--azure);
  padding: 1rem 1.5rem;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}
#cookieBanner.hidden { display: none; }
#cookieBanner p { font-size: 0.9rem; flex: 1; min-width: 200px; }
.cookie-btns { display: flex; gap: 1rem; align-items: center; }

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }
.section-title { font-size: 2rem; text-align: center; margin-bottom: 2.5rem; }

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-text { padding: 3rem 1.5rem; order: 1; }
  .hero-image { order: 0; min-height: 300px; }
  .stats-grid, .card-grid, .features-grid, .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split-section, .visit-grid, .contact-grid { grid-template-columns: 1fr; }
  .values-row, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .departure-card { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  #burgerBtn { display: block; }
  .tour-item { grid-template-columns: 1fr; gap: 0.25rem; }
}

@media (max-width: 576px) {
  .stats-grid, .card-grid, .features-grid, .card-grid-3, .values-row, .team-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}
