/* assets/css/style.css */

/* 1. RESET & VARIABLES */
:root {
    --primary: #FF4757;       /* The Red Brand Color */
    --primary-dark: #e04050;
    --text: #2F3542;
    --text-light: #666;
    --bg-light: #F9FAFB;
    --white: #ffffff;
    --dark-footer: #111;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Open Sans', sans-serif; }
html { scroll-behavior: smooth; }
body { background: var(--bg-light); color: var(--text); line-height: 1.6; overflow-x: hidden; }

/* Typography */
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--text); }
a { text-decoration: none; transition: 0.3s; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* 2. HEADER */
header { 
    position: fixed; top: 0; width: 100%; z-index: 1000; height: 80px;
    background: rgba(18, 18, 18, 0.95); backdrop-filter: blur(10px);
    display: flex; justify-content: space-between; align-items: center; padding: 0 5%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logo { font-size: 1.5rem; font-weight: 900; color: white; text-transform: uppercase; letter-spacing: 1px; }
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: #ccc; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }
.nav-links a:hover, .nav-links a.active { color: white; }

.btn-book { 
    padding: 12px 30px; background: var(--primary); color: white !important; 
    border-radius: 50px; font-weight: 700; font-size: 0.9rem; border: none; cursor: pointer;
}
.btn-book:hover { transform: translateY(-3px); background: var(--primary-dark); }

/* 3. HERO & SECTIONS (Safe Placeholders) */
.hero { 
    height: 85vh; 
    background-color: #333; /* Dark Grey Placeholder */
    background-size: cover; 
    background-position: center; 
    display: flex; align-items: center; justify-content: center; text-align: center; 
    margin-top: 80px; position: relative; 
}
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8)); }
.hero-content { position: relative; z-index: 2; max-width: 900px; padding: 20px; }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; color: #fff; text-shadow: 2px 2px 20px rgba(0,0,0,0.9); }

.section { padding: 5rem 8%; }
.section-header { text-align: center; margin-bottom: 3rem; }
.divider { height: 5px; width: 80px; background: var(--primary); margin: 15px auto; border-radius: 2px; }

/* 4. GRID SYSTEMS */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.grid-2-center { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.grid-2-center .adv-card { flex: 0 1 450px; width: 100%; }

/* 5. CARDS (Unified & Safe) */
.adv-card { 
    background: white; border-radius: 20px; overflow: hidden; 
    box-shadow: var(--shadow); transition: 0.4s; border: 1px solid #eee;
    display: flex; flex-direction: column; height: 100%;
}
.adv-card:hover { transform: translateY(-10px); }

.card-img { 
    height: 250px; position: relative; 
    background-color: #ddd; /* Light Grey Placeholder */
    display: flex; align-items: center; justify-content: center; color: #888;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }

.badge { position: absolute; top: 15px; right: 15px; background: white; padding: 5px 15px; font-weight: 800; font-size: 0.75rem; border-radius: 30px; z-index: 5; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }

.card-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1.3rem; margin-bottom: 5px; display: flex; justify-content: space-between; align-items: center; }
.price { color: var(--primary); font-size: 1.5rem; font-weight: 800; }
.card-specs { display: flex; gap: 15px; margin: 15px 0; padding: 15px 0; border-top: 1px dashed #eee; border-bottom: 1px dashed #eee; font-size: 0.9rem; color: #555; font-weight: 600; }
.card-btn { margin-top: auto; padding: 14px; background: #2F3542; color: white !important; text-align: center; font-weight: 700; border-radius: 12px; }
.adv-card:hover .card-btn { background: var(--primary); }

/* 6. FEATURES & LISTS */
.feature-box { 
    padding: 40px 20px; background: white; border-radius: 15px; 
    box-shadow: var(--shadow); text-align: center; border: 1px solid #eee; height: 100%; 
}
.feature-box:hover { transform: translateY(-5px); border-bottom: 4px solid var(--primary); }
.feature-box i { font-size: 3rem; color: var(--primary); margin-bottom: 20px; display: block; }

.list-box { background: white; padding: 30px; border-radius: 15px; border: 1px solid #eee; box-shadow: var(--shadow); height: 100%; }
.check-list li { margin-bottom: 10px; font-size: 0.95rem; color: #555; display: flex; align-items: center; }
.check-list li i { margin-right: 10px; font-size: 1.1rem; }

/* 7. MEDIA (Bento & Video) */
.intro-grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: 50px; align-items: center; }
.grid-2-media { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: center; }

.intro-video-container { 
    height: 500px; border-radius: 20px; overflow: hidden; position: relative; 
    border: 1px solid #eee; cursor: pointer; background: #222; box-shadow: var(--shadow);
}
.vid-landscape { 
    height: 350px; border-radius: 20px; overflow: hidden; position: relative; 
    border: 1px solid #eee; cursor: pointer; background: #222; box-shadow: var(--shadow);
}

.video-thumbnail { height: 100%; width: 100%; position: relative; }
.video-thumbnail img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.play-btn { 
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); 
    width: 70px; height: 70px; background: rgba(255, 71, 87, 0.9); 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; 
    color: white; font-size: 1.5rem; animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 71, 87, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

.insta-btn { 
    display: inline-flex; align-items: center; margin-top: 20px; 
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D); 
    padding: 10px 25px 10px 10px; border-radius: 50px; color: white !important; 
    font-weight: bold; box-shadow: 0 5px 15px rgba(225, 48, 108, 0.3);
}
.icon-box { width: 45px; height: 45px; background: white; color: #C13584; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-right: 15px; }

/* 8. TRAVELER STORIES (TESTIMONIALS - FIXED) */
.swiper {
    padding-bottom: 50px !important; /* Space for dots */
    padding-top: 20px;
}
.swiper-slide {
    height: auto !important; /* Critical for equal height */
    display: flex;           /* Critical for equal height */
    justify-content: center;
}
.testi-card {
    background: white;
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Soft shadow */
    border: 1px solid #eee;
    width: 100%;
    height: 100%; /* Fills the slide height */
    display: flex;
    flex-direction: column;
    position: relative;
    transition: 0.3s;
}
.testi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--primary);
}
.quote-icon {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: 20px;
}
.testi-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1; /* Pushes the name to the bottom */
    font-style: italic;
}
.testi-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    border-top: 1px solid #eee;
    padding-top: 15px;
}
.swiper-pagination-bullet-active {
    background-color: var(--primary) !important;
}

/* 9. FOOTER */
footer { background: var(--dark-footer); color: #aaa; padding: 5rem 10% 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; }
.footer-col h4 { color: white; margin-bottom: 20px; border-left: 3px solid var(--primary); padding-left: 10px; }
.footer-col ul a { display: block; color: #999; padding: 5px 0; }
.footer-col ul a:hover { color: var(--primary); padding-left: 5px; }
.social-icons a { display: inline-flex; width: 40px; height: 40px; background: #333; color: white !important; border-radius: 50%; justify-content: center; align-items: center; margin-right: 10px; transition: 0.3s; }
.social-icons a:hover { background: var(--primary); }
.copyright { border-top: 1px solid #333; margin-top: 3rem; padding-top: 2rem; text-align: center; font-size: 0.9rem; }

/* 10. FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto; align-items: flex-start; }
.faq-card { background: white; border-radius: 10px; border: 1px solid #eee; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.faq-card.active { border-color: var(--primary); }
.faq-head { padding: 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--text); }
.faq-body { max-height: 0; overflow: hidden; transition: 0.4s; background: #fafafa; opacity: 0; border-top: 1px solid #f0f0f0; }
.faq-card.active .faq-body { opacity: 1; }
.faq-body p { padding: 20px; font-size: 0.95rem; color: #666; }

/* 11. CTA BANNER */
.cta-btn { 
    display: inline-block; padding: 15px 40px; background: white; 
    color: var(--primary) !important; font-weight: 800; border-radius: 50px; 
    margin-top: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.2); 
}
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

/* MOBILE RESPONSIVE */
.menu-toggle { display: none; color: white; font-size: 1.8rem; cursor: pointer; }
@media (max-width: 900px) {
    .nav-links { display: none; position: absolute; top: 80px; left: 0; width: 100%; background: #111; flex-direction: column; padding: 2rem; }
    .nav-links.active { display: flex; }
    .menu-toggle { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .grid-3, .grid-4, .grid-2-media, .intro-grid, .faq-grid { grid-template-columns: 1fr; }
    .intro-video-container { height: 400px; }
}

/* --- FORCE FIXES (Paste at bottom of style.css) --- */

/* 1. RESET ALL CARDS (Remove permanent red borders) */
.adv-card, .rafting-card, .package-card {
    border: 1px solid #eee !important; /* Force grey border by default */
    transform: translateY(0);
    transition: all 0.4s ease-in-out !important; /* Smooth animation */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* 2. ADD HOVER "POP" EFFECT (The code you wanted) */
.adv-card:hover, .rafting-card:hover, .package-card:hover {
    transform: translateY(-10px) !important; /* Move up 10px */
    border: 1px solid #FF4757 !important;    /* Turn RED on hover */
    box-shadow: 0 20px 40px rgba(255, 71, 87, 0.2) !important; /* Red glow */
}

/* 3. FIX HEADER BUTTONS & LINKS */
.nav-links a {
    position: relative;
    transition: 0.3s;
}
.nav-links a:hover {
    color: #FF4757 !important; /* Turn text red */
    transform: scale(1.1);     /* Make text slightly bigger */
}

/* 4. FIX "BOOK NOW" BUTTON HOVER */
.btn-book {
    transition: all 0.3s ease !important;
    border: 2px solid #FF4757 !important; /* Keep red border */
}

.btn-book:hover {
    background-color: white !important;   /* White background */
    color: #FF4757 !important;            /* Red Text */
    transform: translateY(-3px);          /* Slight jump up */
    box-shadow: 0 10px 20px rgba(255, 71, 87, 0.3); /* Red glow shadow */
}

/* 5. MAKE BADGES LOOK COOL */
.badge {
    transition: 0.3s;
}
.adv-card:hover .badge {
    background-color: #FF4757 !important;
    color: white !important;
}

/* =========================================
   ANIMATION RESTORATION PACK (Force Fixes)
   ========================================= */

/* 1. TOP MENU LINKS (The "Missing" Effect) */
.nav-links a {
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #FF4757 !important;  /* Turns Red */
    transform: translateY(-2px); /* Moves up slightly */
    text-shadow: 0px 4px 10px rgba(255, 71, 87, 0.3); /* Adds a soft glow */
}

/* Optional: Add a small line under the link on hover */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #FF4757;
    transition: width 0.3s;
}
.nav-links a:hover::after {
    width: 100%; /* Expands line from 0% to 100% */
}

/* 2. ALL CARDS (Rafting, Camping, etc.) - POP EFFECT */
.adv-card, .rafting-card, .package-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease !important;
    border: 1px solid #eee !important; /* Force Grey Border by default */
}

/* The Hover Action */
.adv-card:hover, .rafting-card:hover, .package-card:hover {
    transform: translateY(-12px) !important; /* Jumps UP */
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important; /* Big Shadow */
    border-color: #FF4757 !important; /* Border turns RED */
}

/* 3. BUTTONS (Book Now) - HOVER FILL */
.btn-book, .card-btn {
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-book:hover, .card-btn:hover {
    background-color: #FF4757 !important; /* Ensure Red Background */
    color: white !important;
    transform: scale(1.05); /* Grow slightly bigger */
    box-shadow: 0 10px 20px rgba(255, 71, 87, 0.4); /* Glow effect */
}

/* 4. FIX THE "STUCK RED" CARD (Shivpuri) */
/* This makes sure even "Bestseller" cards look normal until you touch them */
.adv-card.popular, .adv-card.bestseller {
    border-color: #eee !important; /* Reset to Grey */
    transform: none !important;    /* Reset Position */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
}

/* Only turn red when HOVERED */
.adv-card.popular:hover, .adv-card.bestseller:hover {
    border-color: #FF4757 !important;
    transform: translateY(-12px) !important;
}