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

:root {
    --primary-color: #125c13;
    --accent-color: #125c13; /* Primary acts as accent too */
    --hover-color: #c14600; /* Orange for hovers only */
    --text-color: #333;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --border-radius: 12px;
    --max-width: 1200px;
    --section-padding: 80px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

html, body {
    overflow-x: hidden; /* CRITICAL: Prevent horizontal scroll from off-screen elements */
    width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    padding-top: 80px; /* Account for fixed header */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding) 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed; /* Make Navbar fixed */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo img {
    height: 90px;
    width: 122px;
    object-fit: contain;
}

header.sticky .logo img {
    height: 95px;
    width: 122px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: #444;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    position: relative; /* Essential for z-index to work */
    z-index: 1002; /* Ensure it stays above the mobile nav menu */
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(193, 70, 0, 0.3);
}

.btn-accent {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-accent:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(193, 70, 0, 0.3);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--hover-color);
    border-color: var(--hover-color);
    color: var(--white);
}

.contact-no-hover:hover {
    transform: none !important;
    box-shadow: none !important;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.85rem;
    min-width: auto;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-color);
}

.hero .slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 1.2s cubic-bezier(0.7, 0, 0.3, 1);
}

.hero .slide {
    min-width: 100.5%; /* Slightly wider to prevent sub-pixel gaps/lines */
    height: 100%;
    overflow: hidden;
    position: relative;
    left: -0.25%;
}

.hero .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenBurns 10s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-overlay {
    position: relative;
    width: 100%;
    min-height: inherit; /* Sync with parent */
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
    display: flex;
    align-items: center;
    padding: 100px 0;
    z-index: 5;
}

.hero-text-content {
    max-width: 850px;
    color: var(--white);
    animation: fadeInUp 1.2s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-text-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 25px;
    color: var(--white);
    text-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hero-text-content h1 span {
    color: var(--white); /* No orange except on hover */
}

.hero-text-content p {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 45px;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 90%;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-btns .btn {
    padding: 18px 40px;
    border-radius: 50px; /* Pill shape */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-down span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-down i {
    font-size: 1.2rem;
}


/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--white);
    width: 30px;
    border-radius: 5px;
}



/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* Packages Section */
.package-group {
    margin-bottom: 60px;
}

.package-group-title {
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.package-group-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--hover-color); /* Use orange for the accent line */
    border-radius: 2px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.package-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(18, 92, 19, 0.1);
}

.package-img {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.package-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.package-card:hover .package-img img {
    transform: scale(1.1);
}

.package-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.package-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center; /* Center all text */
    align-items: center; /* Center buttons and elements */
}

.package-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.package-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.package-card-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    width: 100%;
}

.package-card-btns .btn {
    padding: 12px 30px;
    font-size: 0.95rem;
    text-align: center;
    border-radius: 30px; /* Pill shape for premium feel */
    min-width: 160px;
}

/* Fallback for package-image class (used in some pages) */
.package-image {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.package-card:hover .package-image img {
    transform: scale(1.1);
}

/* Package Detail Pages */
.package-hero {
    min-height: 30vh;
}

.package-overview {
    margin-bottom: 40px;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}

.package-overview p {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.contact-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.why-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px 0; /* Very short vertical space */
}

.cta-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    max-width: var(--max-width);
}

.cta-content {
    text-align: left;
}

.cta-section h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.cta-section p {
    font-size: 1rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.cta-btns {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cta-btns .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
    min-width: 140px;
    border-radius: 6px;
}

/* Mobile adjustments for slim CTA */
@media (max-width: 991px) {
    .cta-section .container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .cta-content {
        text-align: center;
    }
    
    .cta-btns {
        width: 100%;
        justify-content: center;
    }
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-bottom a {
    color: var(--white);
    text-decoration: underline;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-color);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

/* About Page */
.about-page-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-page-content h1 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.about-page-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #444;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-btns {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-btns .btn {
    text-align: center;
    padding: 18px;
    font-size: 1.1rem;
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */

/* Tablet & Smaller */
@media (max-width: 1024px) {
    :root {
        --section-padding: 60px;
    }
    
    .hero, .hero-overlay {
        min-height: 60vh;
    }
    
    .hero-text-content h1 {
        font-size: 3rem;
    }
    
    .hero-btns .btn {
        padding: 15px 30px;
        font-size: 0.95rem;
        min-width: 180px;
    }

    .services-grid, 
    .packages-grid, 
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%; /* Ensure text fits on one line */
        height: 100vh;
        background-color: var(--primary-color);
        display: block; /* Kill flexbox to prevent any vertical stretching/spacing bugs */
        padding-top: 80px; /* Space for the X button */
        transition: 0.4s ease;
        z-index: 1001;
        box-shadow: -10px 0 30px rgba(0,0,0,0.2);
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        display: block;
        width: 100%;
        text-align: left;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15); 
    }

    .nav-links a {
        color: var(--white);
        font-size: 1.05rem;
        font-weight: 500;
        display: block;
        padding: 16px 30px;
        letter-spacing: 0.5px;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1002;
    }

    /* Make X button white when menu is open so it's visible on green */
    .mobile-menu-btn .ri-close-line {
        color: var(--white);
    }

    /* Section page titles (skiing, tours, trekking listing pages) */
    .section-title h1 {
        font-size: 1.8rem;
    }

    /* Package detail hero banners */
    .package-hero {
        height: 30vh !important;
        min-height: 200px;
    }

    .package-hero h1 {
        font-size: 1.5rem !important;
    }

    /* Package detail content */
    .package-detail {
        padding: 30px 0;
    }

    .detail-grid {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }

    .info-box {
        padding: 20px;
    }

    .contact-btns .btn {
        width: 100%;
        text-align: center;
    }

    .hero {
        min-height: 70vh;
    }
    .hero-overlay {
        min-height: inherit; /* Sync with parent */
        padding: 80px 0 100px;
    }

    .scroll-down {
        display: none;
    }

    .hero-text-content {
        text-align: center;
        width: 100%;
    }

    .hero-text-content h1 {
        font-size: 2.2rem;
    }

    .hero-text-content p {
        font-size: 1rem;
    }

    .hero-btns {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero-btns .btn {
        width: auto; /* Medium size instead of full width */
        min-width: 160px;
        padding: 14px 25px;
        font-size: 0.9rem;
    }

    .services-grid, 
    .why-grid, 
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    section .packages-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        width: 100%;
        padding: 0;
    }

    .package-img {
        height: 220px;
    }

    .package-info {
        padding: 20px;
    }

    .package-info h3 {
        font-size: 1.3rem;
    }

    .package-card-btns {
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    .package-card-btns .btn {
        width: auto;
        min-width: 150px;
        padding: 10px 25px;
        font-size: 0.85rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-btns {
        flex-direction: column;
    }
    
    .cta-btns .btn {
        width: 100%;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .hero {
        min-height: 85vh;
    }
    .hero-overlay {
        min-height: inherit;
        padding: 80px 0 120px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .footer-bottom {
        padding: 20px 10px;
        font-size: 0.8rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
        font-size: 25px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}

