/* ================================================
   SRINIDHI TRAVELS — style.css  (Production)
   ================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --primary:   #e63946;
  --primary-d: #c72e3b;
  --dark:      #0a1a2f;
  --dark-2:    #1e2f44;
  --slate:     #64748b;
  --light:     #f4f7fc;
  --white:     #ffffff;
  --border:    #e2e8f0;
  --input-bg:  #f8fafc;
  --success:   #22c55e;
  --error:     #ef4444;
  --radius:    15px;
  --shadow:    0 10px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 25px 50px -12px rgba(0,0,0,0.15);
}
html { scroll-behavior: smooth; }
body {
  background: var(--light);
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { transition: color 0.2s; }
button { font-family: inherit; }
textarea { font-family: inherit; resize: vertical; }

/* ── NAVBAR ── */
.navbar {
  background: var(--white);
  padding: 12px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--dark);
  text-decoration: none;
}
.logo img { height: 60px; width: auto; }
.topbar {
  background: var(--primary);
  color: white;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  margin-left: 10px;
  transition: background 0.3s;
}
.topbar:hover { background: var(--primary-d); }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--dark-2);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--primary); }
.book-nav {
  background: var(--primary) !important;
  color: white !important;
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 700;
}
.book-nav::after { display: none !important; }
.book-nav:hover { background: var(--primary-d) !important; color: white !important; }
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--dark);
  padding: 4px;
}

/* ── HERO ── */
.hero {
  background:
    linear-gradient(rgba(10,26,47,0.7), rgba(10,26,47,0.85)),
    url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 60px 20px;
}
.hero-content h1 {
  font-size: 3.2rem;
  margin-bottom: 14px;
  line-height: 1.2;
}
.hero-content span { color: #ffb703; }
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 28px;
  opacity: 0.9;
  max-width: 600px;
  margin-inline: auto;
}
.cta {
  background: var(--primary);
  padding: 15px 40px;
  border-radius: 40px;
  display: inline-block;
  font-weight: 700;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.cta:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(230,57,70,0.35);
}

/* ── BOOKING SECTION ── */
.booking { padding: 0 5% 60px; }
.vertical-form {
  max-width: 640px;
  margin: -80px auto 0;
  background: var(--white);
  border-radius: 30px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.booking h2 {
  text-align: center;
  margin-bottom: 24px;
  color: var(--dark);
  font-size: 2rem;
}

/* TOGGLE */
.toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.trip-toggle {
  background: #f0f3f8;
  padding: 6px;
  border-radius: 60px;
  display: inline-flex;
  position: relative;
}
.trip-toggle::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: calc(50% - 6px);
  background: white;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: left 0.3s ease, width 0.3s ease;
}
.trip-toggle.round-active::before {
  left: calc(50%);
}
.trip-btn {
  padding: 12px 38px;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  background: transparent;
  color: var(--slate);
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: color 0.3s;
}
.trip-btn.active { color: var(--dark); }

/* FORM FIELDS */
.trip-form { animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }

.input-group {
  margin-bottom: 18px;
  width: 100%;
}
.input-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 8px;
  margin-left: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.req { color: var(--primary); }
.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--input-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.input-group textarea { padding: 12px 18px; }
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: var(--primary);
  background: white;
}
.input-group input.input-error,
.input-group select.input-error,
.input-group textarea.input-error {
  border-color: var(--error);
  background: #fff5f5;
}
.double-row {
  display: flex;
  gap: 15px;
}
.double-row .input-group { flex: 1; min-width: 0; }

.form-error {
  color: var(--error);
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 20px;
  margin-bottom: 8px;
  padding-left: 4px;
}

.submit-btn {
  width: 100%;
  background: var(--dark);
  border: none;
  padding: 18px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.05rem;
  color: white;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.submit-btn:hover:not(:disabled) {
  background: var(--primary);
  transform: translateY(-2px);
}
.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* TOAST */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--dark);
  color: white;
  padding: 16px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  z-index: 9999;
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  max-width: 90vw;
  text-align: center;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.toast-success { background: #166534; }
.toast.toast-error   { background: #991b1b; }

/* ── SECTIONS ── */
.section {
  padding: 80px 5%;
  max-width: 1200px;
  margin: 0 auto;
}
.section h2 {
  text-align: center;
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 40px;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 24px; text-align: center; }
.card-body h4 { font-size: 1.2rem; color: var(--dark); margin-bottom: 8px; }
.card-body p  { color: var(--slate); font-weight: 500; margin-bottom: 14px; }

/* About icon cards */
.about-card {
  display: flex;
  align-items: center;
  padding: 28px;
  gap: 20px;
  text-align: left;
}
.about-card .card-body { padding: 0; }
.about-icon {
  font-size: 2.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.view-btn {
  background: var(--primary);
  border: none;
  padding: 10px 22px;
  border-radius: 30px;
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 0.9rem;
}
.view-btn:hover { background: var(--primary-d); }

/* ── FOOTER ── */
.footer-distributed {
  background: var(--dark);
  color: #cbd5e1;
  padding: 60px 5% 30px;
}
.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-container h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.15rem;
}
.footer-container ul { list-style: none; }
.footer-container li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-container a { text-decoration: none; color: inherit; transition: color 0.2s; }
.footer-container a:hover { color: var(--primary); }
.footer-container i { margin-right: 8px; color: var(--primary); }
.footer-areas { display: flex; gap: 30px; }
.copyright {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid var(--dark-2);
  font-size: 0.88rem;
}

/* ── FLOATING BUTTONS ── */
.float-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(37,211,102,0.4);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.3s;
}
.float-whatsapp:hover { transform: scale(1.1); }
.float-call {
  position: fixed;
  bottom: 25px;
  left: 25px;
  background: #0077b6;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  box-shadow: 0 10px 25px rgba(0,119,182,0.4);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.3s;
}
.float-call:hover { transform: scale(1.1); }

/* ── MODAL ── */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 2000;
  display: none;
  overflow-y: auto;
}
.modal-content {
  background: white;
  width: 90%;
  max-width: 500px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 18px;
  padding: 28px;
  position: relative;
  margin: 5vh auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal-content::-webkit-scrollbar { width: 6px; }
.modal-content::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 10px; }
.modal-content h2 { color: var(--dark); margin-bottom: 12px; }
.modal-content h3 { color: var(--dark); margin: 16px 0 8px; }
.modal-content p  { color: var(--slate); margin-bottom: 8px; font-size: 0.95rem; }
button.close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--slate);
  line-height: 1;
  padding: 4px 8px;
  border-radius: 50%;
  transition: background 0.2s;
}
button.close:hover { background: #f0f3f8; }
