/* CSS Variables - Add these if not in your main style.css */
:root {
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f5f5f5;
    --primary-color: #8B7355;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --transition: all 0.3s ease;
}

/* =====================================================
   NAVBAR STYLES - Matching contact.html
===================================================== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 5vw;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 90px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #8B7355;
}

.contact-btn {
    background: #8B7355;
    color: white !important;
    padding: 10px 26px;
    border-radius: 8px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navbar Dropdown Styles - DESKTOP */
.nav-links .dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 8px 0;
    margin-top: 8px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #2c3e50 !important;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    font-weight: 400;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
    color: #8B7355 !important;
}

/* Mobile Navbar - RESPONSIVE */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 70%;
        max-width: 350px;
        height: auto;
        max-height: 85vh;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 80px 0 30px 0;
        gap: 0;
        z-index: 999;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-radius: 0 20px 20px 0;
    }

    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links > li > a {
        display: block;
        color: white !important;
        font-size: 1.1rem;
        padding: 18px 30px;
        border: none;
    }

    .contact-btn {
        background: #8B7355;
        border-radius: 50px;
        padding: 14px 30px;
        font-size: 1rem;
        margin: 20px 30px;
        text-align: center;
    }

    /* Close button (X) */
    .nav-links::before {
        content: '×';
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 2.5rem;
        color: white;
        cursor: pointer;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Mobile Dropdown Menu */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        border-radius: 0;
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: 5px 0;
    }

    .dropdown-menu a {
        padding: 12px 30px 12px 50px;
        font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.85) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        background: transparent;
    }

    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white !important;
    }

    .dropdown-menu a:last-child {
        border-bottom: none;
    }
}

/* =====================================================
   ROUTE DETAIL PAGE STYLES
===================================================== */

/* Hero Section */
.route-detail-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.route-detail-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.route-detail-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.route-detail-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.route-detail-hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 400;
    color: var(--white);
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* Route Intro Section */
.route-intro-section {
    padding: 80px 20px;
    background: var(--white);
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.intro-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.book-climb-btn {
    padding: 16px 50px;
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.book-climb-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Pricing Table Section */
.pricing-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.pricing-container h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.pricing-container h3 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.pricing-table thead {
    background: #a8b5b2;
}

.pricing-table th {
    padding: 15px 10px;
    font-weight: 500;
    color: var(--text-dark);
    border: 1px solid #ddd;
    font-size: 0.95rem;
}

.pricing-table td {
    padding: 20px 10px;
    border: 1px solid #ddd;
    color: var(--text-dark);
}

.pricing-table td:first-child {
    text-align: left;
    font-weight: 500;
    padding-left: 20px;
}

.pricing-table tbody tr:nth-child(even) {
    background: var(--bg-light);
}

/* Itinerary Section */
.itinerary-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.itinerary-container {
    max-width: 900px;
    margin: 0 auto;
}

.itinerary-container h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
    background: var(--white);
}

.accordion-header {
    width: 100%;
    padding: 25px 20px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    text-align: left;
}

.accordion-header:hover {
    background: var(--bg-light);
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: var(--white);
    padding: 0 20px;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
    padding: 30px 20px;
}

.accordion-content p {
    margin: 0 0 15px 0;
    line-height: 1.8;
    color: var(--text-dark);
}

.accordion-content p:last-child {
    margin-bottom: 0;
}

/* Inclusions Section */
.inclusions-section {
    padding: 80px 20px;
    background: var(--white);
}

.inclusions-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.inclusions-image {
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.inclusions-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: static;
}

.inclusions-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.inclusions-block,
.exclusions-block {
    margin-bottom: 40px;
}

.inclusions-block h3,
.exclusions-block h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.inclusions-block p,
.exclusions-block p {
    margin: 0 0 15px 0;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Packing Section */
.packing-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.packing-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.packing-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.packing-text h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.packing-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.download-btn {
    padding: 16px 50px;
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.download-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Booking Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex !important;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.required {
    color: #999;
    font-weight: 400;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--text-dark);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.submit-btn:hover {
    background: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .route-detail-hero h1 {
        font-size: 2.5rem;
    }

    .intro-container,
    .inclusions-container,
    .packing-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .inclusions-image {
        height: 400px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }
    
    .accordion-header {
        font-size: 1rem;
        padding: 20px 15px;
    }
    
    .accordion-icon {
        margin-left: 10px;
    }
    
    .navbar {
        padding: 18px 5vw;
    }
    
    .logo img {
        height: 55px;
    }
}