/* File: style.css — Natural Travel Theme (Warm, Friendly, Fresh) */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

:root {
  --sky: #e0f7fa;
  --sand: #fff8e1;
  --leaf: #2e7d32;
  --sun: #f9a825;
  --text: #222;
  --muted: #555;
  --card-bg: #ffffffee;
  --radius: 16px;
  --shadow: 0 6px 18px rgba(0,0,0,0.1);
  --max-width: 1100px;
  font-family: "Poppins", sans-serif;
}

/* Page */
html, body {
  height: 100%;
  margin: 0;
  background: linear-gradient(to bottom, var(--sky), var(--sand));
  color: var(--text);
  scroll-behavior: smooth;
}

/* NAVBAR */
.nav {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo {
  font-size: 28px;
}
.title {
  font-weight: 700;
  color: var(--leaf);
}
.btn {
  padding: 10px 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn.primary {
  background: var(--leaf);
  color: #fff;
}
.btn.primary:hover {
  background: var(--sun);
  color: #222;
}
.btn.ghost {
  background: transparent;
  border: 1.5px solid var(--leaf);
  color: var(--leaf);
}
.btn.ghost:hover {
  background: var(--leaf);
  color: white;
}

/* --- HERO SECTION --- */
.hero {
  position:relative;
  height:520px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.hero-visual {
  position:absolute;
  inset:0;
  background:#333 center/cover no-repeat;
  transition:background-image 1s ease-in-out;
  filter: brightness(0.94);
}
.hero .hero-inner {
  position:relative;
  z-index:2;
  text-align:center;
  color:#fff;
  max-width:1100px;
  width:100%;
  padding:40px;
}

/* --- SEARCH PANEL --- */
.panel {
  background: rgba(255,255,255,0.92);
  border-radius:10px;
  box-shadow:0 10px 30px rgba(0,0,0,0.12);
  padding:16px;
  display:flex;
  gap:8px;
  align-items:center;
}

/* --- MAP --- */
.map {
  height: 400px;
  min-height: 300px;
  width: 100%;
  border-radius:12px;
  overflow:hidden;
  background:linear-gradient(180deg,#e6eefb,#cfe6ff);
}

/* --- BOOKING LINK CARD --- */
.link-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--card-bg, rgba(255,255,255,0.95));
  box-shadow: var(--shadow, 0 6px 18px rgba(0,0,0,0.06));
  text-decoration: none;
  color: inherit;
  min-width: 200px;
  max-width: 320px;
}
.link-card .link-title { font-weight:600; margin-bottom:6px; }
.link-card .small.muted { font-size:12px; color:var(--muted,#666); }

/* --- TOAST --- */
.toast {
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:28px;
  background:#111;
  color:#fff;
  padding:10px 16px;
  border-radius:999px;
  opacity:0;
  transition:opacity .2s;
  pointer-events:none;
}
.toast.visible {
  opacity:1;
  pointer-events:auto;
}

/* --- FAVORITES DRAWER --- */
.drawer {
  position:fixed;
  right:12px;
  top:90px;
  width:320px;
  max-width:80vw;
  background:rgba(255,255,255,0.98);
  padding:12px;
  border-radius:10px;
  box-shadow:0 12px 40px rgba(0,0,0,0.15);
  transform:translateX(20px);
  opacity:0;
  transition:all .25s;
  pointer-events:none;
}
.drawer.open {
  transform:translateX(0);
  opacity:1;
  pointer-events:auto;
}

/* FOOTER */
.footer {
  margin-top: 40px;
  padding: 24px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
  }
}
.popular-destinations {
  text-align: center;
  margin-top: 20px;
}

.chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.chip {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.3s;
}
.chip:hover {
  background: #f0f0f0;
}

/* --- Replace old .trust-section CSS with modernized .trust-modern styles --- */
.trust-modern {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4ecf7 100%);
  padding: 100px 20px;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.trust-inner {
  max-width: 850px;
  margin: 0 auto;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 50px 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.trust-modern h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #222;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Testimonials */
.testimonial-carousel {
  position: relative;
  height: 120px;
  margin-bottom: 20px;
}

.testimonial {
  position: absolute;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.8s ease;
  width: 100%;
  font-style: italic;
  color: #444;
}

.testimonial.active {
  opacity: 1;
  transform: translateY(0);
}

.testimonial strong {
  display: block;
  margin-top: 8px;
  font-weight: 600;
  color: #2b2b2b;
}

/* Dots */
.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.dot {
  width: 10px;
  height: 10px;
  background: #bbb;
  border-radius: 50%;
  transition: background 0.3s, transform 0.3s;
}
.dot.active {
  background: #0078ff;
  transform: scale(1.3);
}

/* Partner logos */
.partner-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
  opacity: 0.9;
}
.partner-logos img {
  height: 40px;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}
.partner-logos img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Visitor counter */
.visitor-counter {
  font-weight: 600;
  color: #333;
  font-size: 1.1rem;
  margin-top: 15px;
  background: #fff;
  display: inline-block;
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
/* ===== BASE ===== */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: #222;
  background: #fefefe;
  overflow-x: hidden;
}

h1, h2 {
  font-weight: 600;
  color: #111;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 1rem;
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  height: 100vh;
  background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
  border-radius: 24px;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.1);
}

.hero-content h1 {
  font-size: 2.6rem;
  margin-bottom: 0.4em;
}

.tagline {
  font-size: 1.2rem;
  margin-bottom: 1.5em;
  opacity: 0.9;
}

.route-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.route-form input {
  padding: 12px 16px;
  width: 200px;
  border-radius: 12px;
  border: none;
  background: rgba(255,255,255,0.9);
  font-size: 1rem;
}

.route-form button {
  padding: 12px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00c9a7, #ff6b6b);
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}
.route-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

button.ghost {
  background: rgba(255,255,255,0.3);
  color: white;
}

/* Glass buttons */
.glass-btn {
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 8px 16px;
  color: #fff;
  transition: 0.3s;
}
.glass-btn:hover {
  background: rgba(255,255,255,0.25);
}

/* ===== MAP SECTION ===== */
#map {
  height: 400px;
  min-height: 300px;
  width: 100%;
}

/* ===== BOOKING LINKS ===== */
#bookingSection {
  padding: 80px 20px;
  text-align: center;
  background: #f9fafc;
}
.booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.booking-grid a {
  background: white;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  text-decoration: none;
  color: #222;
  transition: 0.3s;
}
.booking-grid a:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #00c9a7, #ff6b6b);
  color: white;
  text-align: center;
}

.testimonial-slider {
  display: flex;
  overflow: hidden;
  gap: 30px;
  justify-content: center;
  flex-wrap: nowrap;
}

.testimonial-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 30px;
  border-radius: 16px;
  width: 280px;
  flex-shrink: 0;
  text-align: center;
  opacity: 0.6;
  transition: 0.6s;
}
.testimonial-card.active {
  opacity: 1;
  transform: scale(1.05);
}
.testimonial-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 15px;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: #eee;
  font-size: 0.9rem;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 14px 40px;
  display: flex;
  justify-content: flex-start;   /* <-- changed */
  align-items: center;
  gap: 40px;                    /* <-- add a gap between logo and nav-actions */
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.1);
  color: white;
  z-index: 999;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo-icon {
  font-size: 1.5rem;
}
.logo-text span {
  color: #00c9a7;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin: 0 14px;
  font-weight: 500;
  transition: 0.3s;
}
.nav-links a:hover {
  color: #00c9a7;
}

.signin-btn {
  background: linear-gradient(135deg, #00c9a7, #ff6b6b);
  border-radius: 8px;
  color: white;
  padding: 8px 18px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.signin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
  text-align: center;
  padding: 100px 20px;
  background: #fff;
}

.newsletter-section h2 {
  font-size: 1.9rem;
  margin-bottom: 0.5em;
}

.newsletter-section p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5em;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input {
  padding: 14px 20px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 280px;
}

.newsletter-form button {
  padding: 14px 24px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #ff6b6b, #00c9a7);
  color: white;
  font-weight: 600;
  transition: 0.3s;
}
.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.success-msg {
  margin-top: 15px;
  color: #00c9a7;
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 800px;
}
.fancy-logo {
  animation: fadeInLogo 1.5s ease forwards;
}
@keyframes fadeInLogo {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* favorites */
#fav-list .fav-item {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:10px;
  border-radius:10px;
  background: rgba(255,255,255,0.95);
  margin-bottom:8px;
  box-shadow: var(--shadow);
}
#fav-list .fav-actions button { margin-left:8px; }
#fav-empty { color:#666; margin-top:8px; }

/* Booking links grid */
#bookingLinks.booking-grid,
#bookingLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

/* Sign-in modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10,10,10,0.45);
  z-index: 1200;
  padding: 20px;
}
.modal[aria-hidden="false"],
.modal.open { display:flex; }

.modal-content {
  width: 100%;
  max-width: 420px;
  background: var(--card-bg, rgba(255,255,255,0.96));
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.18);
}

.signin-form label { display:block; margin-bottom:12px; }
.signin-form input[type="text"],
.signin-form input[type="email"] {
  width:100%;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,0.08);
  margin-top:6px;
  box-sizing:border-box;
}
.checkbox-row { display:flex; align-items:center; gap:10px; margin:8px 0 14px; }
.form-actions { display:flex; justify-content:flex-end; gap:10px; }

/* small responsive tweak */
@media (max-width:480px) {
  .modal-content { padding:16px; border-radius:10px; }
}

