/* * Vital Travel and Tours - Main Stylesheet
 * Primary: #0B3D2E | Accent: #D4AF37
 */

/* --- 1. Variables & Reset --- */
:root {
  /* Brand Colors */
  --col-primary: #0B3D2E;   /* Deep Forest Green */
  --col-accent: #D4AF37;    /* Warm Gold */
  --col-bg: #F8F7F5;        /* Off-white / Paper */
  --col-text: #1F1F1F;      /* Dark Charcoal */
  --col-grey: #6e6e6e;      /* Muted Grey */
  --col-white: #ffffff;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing & Layout */
  --container-width: 1200px;
  --header-height: 80px; 

  /* Transitions */
  --trans-fast: 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--col-bg);
  color: var(--col-text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--col-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--trans-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* --- 2. Typography Classes --- */
.h1-hero {
  font-size: 36px;
  color: var(--col-white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.h2-title {
  font-size: 28px;
  margin-bottom: 1rem;
}
.text-gold { color: var(--col-accent); }
.text-white { color: var(--col-white); }
.text-muted { color: var(--col-grey); font-size: 0.95rem; }

@media (min-width: 768px) {
  .h1-hero { font-size: 56px; }
  .h2-title { font-size: 38px; }
}

/* --- 3. Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.btn-primary {
  background-color: var(--col-accent);
  color: var(--col-primary);
  border: 1px solid var(--col-accent);
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #bfa34a; 
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--col-accent);
  color: var(--col-accent);
}

.btn-outline:hover {
  background-color: var(--col-accent);
  color: var(--col-primary);
}

.btn-white-outline {
  border: 1px solid var(--col-white);
  color: var(--col-white);
}

.btn-white-outline:hover {
  background-color: var(--col-white);
  color: var(--col-primary);
}

/* --- 4. Layout & Navigation --- */
.app-container {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

/* DESKTOP TOP NAV */
.top-nav {
  display: none; /* Hidden on mobile */
}

/* Mobile Header */
.mobile-header {
  height: var(--header-height);
  background-color: var(--col-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--col-primary);
  line-height: 1;
  letter-spacing: -0.5px;
}
.brand-logo span { color: var(--col-accent); font-style: italic;}

.mobile-menu-overlay {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--col-white);
  padding: 2rem;
  transform: translateY(-150%);
  transition: transform var(--trans-fast);
  z-index: 998;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.mobile-menu-overlay.open { transform: translateY(0); }
.mobile-menu-overlay .nav-item { padding: 15px 0; border-bottom: 1px solid #eee; width: 100%; display:block;}

/* Main Content Area */
.main-content {
  flex: 1;
  width: 100%;
}

/* --- 5. Components --- */

/* HERO SLIDER SECTION */
.hero {
  position: relative;
  height: 90vh; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--col-white);
  padding: 0 1.5rem;
  margin-top: 0; 
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.5s ease-in-out, transform 8s linear;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* The "Green Shade" Overlay (Same as Contact Page) */
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  /* Green to Gold-tinted dark gradient */
  background: linear-gradient(135deg, rgba(11,61,46,0.85), rgba(11,61,46,0.6) 60%, rgba(212,175,55,0.15));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeIn 1s ease-out;
}

.hero-sub {
  font-size: 1.2rem;
  margin: 1.5rem 0 2.5rem 0;
  font-weight: 300;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Sections */
.section { padding: 5rem 1.5rem; }
.section-light { background-color: var(--col-bg); }
.section-white { background-color: var(--col-white); }
.section-dark { background-color: var(--col-primary); color: white; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.feature-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--col-white);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s;
  border-radius: 4px;
}
.feature-card:hover { transform: translateY(-5px); border-bottom: 3px solid var(--col-accent); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.feature-icon { color: var(--col-accent); margin-bottom: 1.5rem; }

/* Package Grid */
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.package-card {
  background: var(--col-white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.card-img-wrap {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

.package-card:hover .card-img-wrap img { transform: scale(1.1); }

.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--col-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-price {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
  font-weight: 700;
  color: var(--col-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Testimonials */
.testimonial-carousel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.testimonial-card {
  background: var(--col-bg);
  padding: 2.5rem;
  position: relative;
}
.testimonial-card::before {
    content: '"';
    font-family: var(--font-heading);
    font-size: 80px;
    color: rgba(212, 175, 55, 0.2);
    position: absolute;
    top: 10px;
    left: 10px;
    line-height: 1;
}
.stars { color: var(--col-accent); margin-bottom: 1rem; position: relative; }

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.9rem; }
.form-control {
  width: 100%;
  padding: 14px;
  border: 1px solid #e0e0e0;
  background-color: #fafafa;
  font-family: var(--font-body);
  border-radius: 2px;
  transition: border-color 0.3s;
}
.form-control:focus {
  outline: none;
  border-color: var(--col-accent);
  background-color: #fff;
}

/* Floating WhatsApp */
.floating-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  z-index: 2000;
  transition: transform 0.3s;
}
.floating-wa:hover { transform: scale(1.1); }

/* Footer */
.footer {
  background-color: var(--col-primary);
  color: var(--col-white);
  padding: 5rem 1.5rem 2rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: var(--col-accent); padding-left: 5px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

/* NEW: AI Features Styling */
.ai-planner-box {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  /* Gold Gradient Border Effect */
  background: linear-gradient(145deg, #ffffff, #fcfcfc);
  padding: 3px; /* border width */
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  margin-bottom: 5rem;
  animation: borderPulse 4s infinite alternate;
}

.ai-inner {
  background: white;
  border-radius: 9px;
  padding: 3rem;
  position: relative;
  z-index: 2;
}

@keyframes borderPulse {
  0% { box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1); }
  100% { box-shadow: 0 15px 40px rgba(212, 175, 55, 0.25); }
}

.btn-audio-preview {
    background: rgba(212, 175, 55, 0.1);
    color: var(--col-primary);
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-weight: 600;
}
.btn-audio-preview:hover {
    background: var(--col-accent);
    color: white;
}

/* --- Responsive Media Queries --- */
@media (min-width: 992px) {
  .mobile-header { display: none; }
  
  /* Desktop Top Nav */
  .top-nav {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 90px;
    background: var(--col-white);
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.03);
  }

  /* Transparent Nav State (For Home Page) */
  .top-nav.navbar-transparent {
    background: transparent;
    box-shadow: none;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  /* When scrolling on home page, JS will toggle this back to white */
  .top-nav.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    color: var(--col-primary);
    height: 80px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  }

  .top-nav .nav-menu {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items: center;
  }

  .top-nav .nav-item {
    font-size: 0.95rem;
    font-weight: 500;
    color: inherit; /* Inherits from nav color (white or dark) */
    position: relative;
    padding: 5px 0;
    opacity: 0.9;
  }

  .top-nav .nav-item:hover {
    opacity: 1;
    color: var(--col-accent);
  }

  /* Main Content Push */
  .main-content {
    /* For non-home pages, we need padding so content isn't hidden behind fixed header */
    padding-top: 90px; 
  }
  
  /* For Home Page, we want content to go BEHIND the transparent header */
  .home-page .main-content {
    padding-top: 0;
  }
  
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-carousel { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
  .packages-layout { display: grid; grid-template-columns: 260px 1fr; gap: 4rem; }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}