/* ============================================
   Langtang Trek - Main Stylesheet
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #0ea5e9;
    --light-bg: #f1f5f9;
    --dark-text: #0f172a;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Navbar Styles
   ============================================ */

.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.logo a:hover {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-color);
}

.nav-menu li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    margin-left: 1rem;
}

.btn-login,
.btn-register {
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-login {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-login:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-register {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-register:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
    transition: var(--transition);
    border-radius: 3px;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;

    /* 🔥 HERO BACKGROUND IMAGE */
    background-image: url("../images/hero-langtang.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.1)"/></svg>') no-repeat center;
    background-size: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.btn-hero {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.4s both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: var(--light-bg);
}

/* ============================================
   Page Hero (for other pages)
   ============================================ */

.page-hero {
    position: relative;
    height: 70vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero.about-hero {
    background-image: url('../images/langtang-valley-trek.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero.gallery-hero {
    background-image: url('../images/langtang-guidebook-cover-.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero.contact-hero {
    background-image: url('../images/conatctuspage.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.page-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ============================================
   Trek Package Section
   ============================================ */

.trek-package {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.package-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    display: flex;
}

.package-image  {
    /* border: 2px solid blue; */
    min-height: 300px;
    height: 950px;
    background-size: cover;
    background-position: center;
   
}
.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    /* display: block; */
}




.package-details {
    padding: 3rem;
    flex: 1;
}

.package-details h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.package-description {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.package-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--light-bg);
    border-radius: 10px;
}

.info-icon {
    font-size: 2rem;
}

.info-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.info-item p {
    color: #64748b;
    margin: 0;
}

.package-features {
    margin-top: 2rem;
}

.package-features h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.package-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.package-features li {
    color: #64748b;
    padding: 0.5rem 0;
}

/* ============================================
   Why Choose Us Section
   ============================================ */

.why-choose-us {
    padding: 5rem 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px var(--shadow);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: #64748b;
    line-height: 1.8;
}

/* ============================================
   About Page Styles
   ============================================ */

.about-content {
    padding: 5rem 0;
}

.about-section {
    margin-bottom: 4rem;
}

.about-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-section p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-item p {
    color: #64748b;
    margin: 0;
}

.why-list {
    list-style: none;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 10px;
}

.why-list li {
    padding: 0.75rem 0;
    color: #64748b;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.why-list li:last-child {
    border-bottom: none;
}

/* ============================================
   Gallery Page Styles
   ============================================ */

.gallery-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    background-color: #fff;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f8fafc;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease, filter 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
    filter: brightness(1.02);
}

.gallery-caption {
    margin-top: 0.75rem;
    font-weight: 600;
    color: #0f172a;
    text-align: center;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    padding: 1.5rem;
    z-index: 1000;
}

.gallery-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-content {
    position: relative;
    max-width: min(1000px, 90vw);
    width: 100%;
    text-align: center;
}

.gallery-modal-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
    background: #0f172a;
}

.gallery-modal-caption {
    margin-top: 1rem;
    color: #e2e8f0;
    font-size: 1rem;
}

.gallery-modal-close {
    position: absolute;
    top: -0.75rem;
    right: -0.75rem;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.9);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-modal-close:hover {
    background: rgba(15, 23, 42, 1);
    transform: scale(1.05);
}

.modal-open {
    overflow: hidden;
}

/* ============================================
   Contact Page Styles
   ============================================ */

.contact-section {
    padding: 5rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--light-bg);
    border-radius: 10px;
}

.contact-icon {
    font-size: 2.5rem;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #64748b;
    margin: 0.25rem 0;
}

.contact-form-wrapper {
    background-color: var(--light-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.btn-contact {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.btn-contact:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.error-message {
    display: block;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-height: 1.25rem;
}

/* ============================================
   Footer Styles
   ============================================ */

.footer {
    background-color: var(--dark-text);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: #cbd5e1;
    margin: 0.5rem 0;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 968px) {
    .package-card {
        grid-template-columns: 1fr;
    }

    .package-image {
        min-height: 260px;
        max-height: 360px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-buttons {
        flex-direction: column;
        width: 100%;
        margin: 1rem 0 0;
        gap: 0.5rem;
    }

    .nav-buttons .btn-login,
    .nav-buttons .btn-register {
        width: 80%;
        margin: 0 auto;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .package-info-grid {
        grid-template-columns: 1fr;
    }

    .package-features ul {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .page-hero-content h1 {
        font-size: 2rem;
    }

    .package-details {
        padding: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

