/* ============================================================
   IG Travel & Tours Ltd — styles.css
   Palette: deep forest green + warm gold + ivory
   ============================================================ */

:root {
  --green-900: #06281f;
  --green-800: #0b3a2e;
  --green-700: #10503f;
  --gold-500: #d9a441;
  --gold-400: #e8b95c;
  --ivory: #faf7f0;
  --sand: #f1ead9;
  --ink: #1c2321;
  --muted: #5f6b66;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(6, 40, 31, 0.15);
  --radius: 18px;
  --font-head: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; }

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

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-gold { background: linear-gradient(120deg, var(--gold-500), var(--gold-400)); color: var(--green-900); box-shadow: 0 10px 25px rgba(217, 164, 65, 0.4); }
.btn-gold:hover { box-shadow: 0 16px 32px rgba(217, 164, 65, 0.55); }
.btn-outline { border: 2px solid rgba(255,255,255,0.7); color: var(--white); background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-sm { padding: 0.55rem 1.3rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 1.1rem 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.navbar.scrolled { background: rgba(6, 40, 31, 0.95); backdrop-filter: blur(12px); padding: 0.65rem 0; box-shadow: 0 8px 30px rgba(0,0,0,0.25); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--white); }
.logo-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--green-900); font-family: var(--font-head); font-weight: 800;
  display: grid; place-items: center; font-size: 1.1rem;
  box-shadow: 0 8px 18px rgba(217,164,65,0.4);
}
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.logo-text em { font-style: normal; color: var(--gold-400); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.95rem; font-weight: 500; position: relative; transition: color 0.25s; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--gold-400); transition: width 0.3s ease;
}
.nav-links a:not(.btn):hover { color: var(--white); }
.nav-links a:not(.btn):hover::after { width: 100%; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { width: 26px; height: 3px; background: var(--white); border-radius: 3px; transition: 0.3s; }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  background-image: var(--bg); background-size: cover; background-position: center;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden; transform: scale(1.06);
  transition: opacity 1s ease, transform 1.4s ease, visibility 1s;
}
.hero-slide.active { opacity: 1; visibility: visible; transform: scale(1); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(6,40,31,0.92) 20%, rgba(6,40,31,0.45) 60%, rgba(6,40,31,0.25)); }
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 1180px; }
.hero-kicker { color: var(--gold-400); font-weight: 600; letter-spacing: 3px; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; max-width: 15ch; }
.hero h1 span { color: var(--gold-400); }
.hero-sub { margin: 1.3rem 0 2.1rem; max-width: 52ch; font-size: 1.1rem; color: rgba(255,255,255,0.85); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-slide.active .reveal { opacity: 1; transform: translateY(0); }
.hero-slide.active .reveal:nth-child(1) { transition-delay: 0.15s; }
.hero-slide.active .reveal:nth-child(2) { transition-delay: 0.3s; }
.hero-slide.active .reveal:nth-child(3) { transition-delay: 0.45s; }
.hero-slide.active .reveal:nth-child(4) { transition-delay: 0.6s; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.35);
  color: var(--white); font-size: 1.1rem; cursor: pointer;
  backdrop-filter: blur(6px); transition: background 0.3s, transform 0.3s;
}
.hero-arrow:hover { background: var(--gold-500); color: var(--green-900); }
.hero-arrow.prev { left: 2rem; }
.hero-arrow.next { right: 2rem; }
.hero-dots { position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.6rem; z-index: 5; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: none; background: rgba(255,255,255,0.4); cursor: pointer; transition: 0.3s; }
.hero-dots button.active { background: var(--gold-400); width: 34px; border-radius: 8px; }

/* ---------- Booking bar ---------- */
.booking-bar { position: relative; z-index: 10; margin-top: -3.4rem; }
.booking-grid {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.4rem 1.6rem; display: grid; gap: 1rem;
  grid-template-columns: repeat(4, 1fr) auto; align-items: end;
}
.booking-item label { display: block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 0.35rem; }
.booking-item input {
  width: 100%; padding: 0.75rem 0.9rem; border: 1.5px solid var(--sand); border-radius: 12px;
  font-family: var(--font-body); font-size: 0.95rem; background: var(--ivory); transition: border-color 0.25s;
}
.booking-item input:focus { outline: none; border-color: var(--gold-500); }
.booking-btn { white-space: nowrap; }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section-alt { background: var(--sand); }
.section-dark { background: linear-gradient(160deg, var(--green-900), var(--green-800)); color: var(--white); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 3.2rem; }
.eyebrow { color: var(--gold-500); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 0.6rem; }
.section-head h2, .why-copy h2, .contact-copy h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.section-sub { color: var(--muted); margin-top: 0.7rem; }
.section-dark .section-sub { color: rgba(255,255,255,0.7); }

/* ---------- Service cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 2.2rem 1.9rem;
  box-shadow: 0 8px 24px rgba(6,40,31,0.06);
  border: 1px solid rgba(6,40,31,0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.card-icon {
  width: 62px; height: 62px; border-radius: 16px; font-size: 1.7rem;
  display: grid; place-items: center; margin-bottom: 1.3rem;
  background: linear-gradient(135deg, rgba(217,164,65,0.18), rgba(217,164,65,0.08));
  border: 1px solid rgba(217,164,65,0.35);
}
.card h3 { font-size: 1.2rem; margin-bottom: 0.55rem; color: var(--green-800); }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Stats ---------- */
.stats { background: linear-gradient(120deg, var(--green-800), var(--green-700)); padding: 3.4rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; color: var(--white); }
.stat-num, .stat-plus { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; color: var(--gold-400); }
.stat p { margin-top: 0.3rem; color: rgba(255,255,255,0.8); font-size: 0.95rem; }

/* ---------- Destinations slider ---------- */
.dest-slider { position: relative; overflow: hidden; padding: 0.5rem; }
.dest-track { display: flex; gap: 1.4rem; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.dest-card {
  position: relative; flex: 0 0 calc(33.333% - 0.95rem); height: 420px; border-radius: var(--radius);
  background-image: var(--bg); background-size: cover; background-position: center;
  overflow: hidden; box-shadow: var(--shadow);
}
.dest-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,40,31,0.9) 8%, transparent 55%); }
.dest-info { position: absolute; inset: auto 0 0 0; padding: 1.6rem; z-index: 2; color: var(--white); }
.dest-info h3 { font-size: 1.35rem; }
.dest-info p { color: var(--gold-400); font-weight: 600; margin: 0.3rem 0 0.9rem; }
.dest-card:hover .dest-info .btn { opacity: 1; transform: translateY(0); }
.dest-info .btn { opacity: 0; transform: translateY(8px); transition: 0.35s ease; }
.dest-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--green-800); color: var(--white); font-size: 1rem;
  box-shadow: var(--shadow); transition: background 0.3s;
}
.dest-arrow:hover { background: var(--gold-500); color: var(--green-900); }
.dest-arrow.prev { left: 0.4rem; }
.dest-arrow.next { right: 0.4rem; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.why-media { position: relative; }
.why-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.why-badge {
  position: absolute; bottom: -1.6rem; right: -1.2rem;
  background: var(--white); border-radius: 16px; padding: 1.1rem 1.5rem;
  box-shadow: var(--shadow); text-align: center;
  animation: float 4s ease-in-out infinite;
}
.why-badge strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--green-800); }
.why-badge span { font-size: 0.8rem; color: var(--muted); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.why-copy .eyebrow { margin-bottom: 0.5rem; }
.why-copy h2 { margin-bottom: 1.6rem; color: var(--green-800); }
.why-list { list-style: none; display: grid; gap: 1.3rem; margin-bottom: 2.2rem; }
.why-list li { display: flex; gap: 1rem; align-items: flex-start; }
.check {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--green-900); font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 6px 14px rgba(217,164,65,0.4);
}
.why-list h4 { font-size: 1.05rem; color: var(--green-800); }
.why-list p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Testimonials ---------- */
.testi-slider { max-width: 760px; margin: 0 auto; overflow: hidden; }
.testi-track { display: flex; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.testi-card {
  flex: 0 0 100%; padding: 2.6rem 2.4rem; text-align: center;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); backdrop-filter: blur(8px);
}
.testi-card p { font-size: 1.15rem; font-style: italic; color: rgba(255,255,255,0.92); max-width: 58ch; margin: 0 auto 1.4rem; }
.testi-card footer strong { color: var(--gold-400); display: block; font-family: var(--font-head); }
.testi-card footer span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.testi-dots { display: flex; justify-content: center; gap: 0.6rem; margin-top: 1.6rem; }
.testi-dots button { width: 11px; height: 11px; border-radius: 50%; border: none; background: rgba(255,255,255,0.3); cursor: pointer; transition: 0.3s; }
.testi-dots button.active { background: var(--gold-400); width: 30px; border-radius: 8px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.contact-copy h2 { color: var(--green-800); margin-bottom: 0.8rem; }
.contact-copy > p { color: var(--muted); margin-bottom: 2rem; }
.contact-list { list-style: none; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; flex-direction: column; background: var(--white); padding: 1rem 1.3rem; border-radius: 14px; box-shadow: 0 6px 18px rgba(6,40,31,0.06); }
.contact-list strong { color: var(--green-800); font-size: 0.95rem; }
.contact-list span { color: var(--muted); font-size: 0.92rem; }
.contact-form {
  background: var(--white); padding: 2.2rem; border-radius: var(--radius);
  box-shadow: var(--shadow); display: grid; gap: 1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--sand); border-radius: 12px;
  font-family: var(--font-body); font-size: 0.95rem; background: var(--ivory); resize: vertical;
  transition: border-color 0.25s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold-500); }
.form-note { text-align: center; font-size: 0.9rem; color: var(--green-700); font-weight: 600; min-height: 1.2em; }

/* ---------- Footer ---------- */
.footer { background: var(--green-900); color: rgba(255,255,255,0.75); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer h4 { color: var(--white); margin-bottom: 1rem; font-size: 1rem; }
.footer a { display: block; color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.92rem; margin-bottom: 0.55rem; transition: color 0.25s; }
.footer a:hover { color: var(--gold-400); }
.logo-footer { margin-bottom: 1rem; }
.footer-grid > div:first-child p { font-size: 0.92rem; max-width: 34ch; }
.socials { display: flex; gap: 0.7rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,0.08); font-weight: 700; font-size: 0.8rem; margin: 0;
  transition: background 0.3s, transform 0.3s;
}
.socials a:hover { background: var(--gold-500); color: var(--green-900); transform: translateY(-4px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.4rem 0; text-align: center; font-size: 0.85rem; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45); text-decoration: none;
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); } 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-btn { grid-column: span 2; }
  .dest-card { flex: 0 0 calc(50% - 0.7rem); }
  .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .why-badge { right: 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(300px, 80vw);
    background: var(--green-900); flex-direction: column; justify-content: center;
    gap: 2rem; transform: translateX(100%); transition: transform 0.4s ease; z-index: 99;
  }
  .nav-links.open { transform: translateX(0); box-shadow: -20px 0 60px rgba(0,0,0,0.4); }
  .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .cards-grid, .booking-grid, .form-row { grid-template-columns: 1fr; }
  .booking-btn { grid-column: auto; }
  .dest-card { flex: 0 0 100%; }
  .hero-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
