/* package-detail.css - Dark Theme Alignment with Jomolhari Layout */

:root {
    --primary-blue: var(--accent-primary);
    --primary-blue-light: #7ea3ff;
    --navy-dark: var(--bg-deep);
    --bg-darker: var(--bg-body);
    /* Matches --bg-footer */
    --text-white: #ffffff;
    --text-light: #c8d2e8;
    --text-dim: rgba(200, 210, 232, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.1);
}

body.package-detail-page {
    background: var(--navy-dark);
    color: var(--text-light);
    font-family: var(--font-text);
    line-height: 1.6;
}


/* Page Hero */
.page-hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    padding-top: var(--header-height, 80px);
}

.page-hero .container {
    margin-left: 0;
    /* Move to left side on desktop */
    max-width: 100%;
    padding-left: clamp(20px, 10vw, 150px);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6);
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.1) 40%,
            rgba(13, 31, 78, 0.4) 80%,
            var(--navy-dark) 100%);
    z-index: 2;
}

.page-hero-content {
    position: relative;
    z-index: 3;
    width: 800px;
    max-width: 100%;
    text-align: left;
    /* Explicitly left-aligned */
}

.sub-hero-title {
    font-size: 36px !important;
    line-height: 1.1;
    margin-bottom: 20px;
}

.page-title {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 35px;
    line-height: 1.1;
    color: var(--text-white);
}

.hero-duration {
    display: block;
    margin-top: 15px;
    margin-left: 0;
    width: fit-content;
    font-size: 0.9rem;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--text-white);
    background: var(--primary-blue);
    padding: 6px 18px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.tour-hero-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    padding: 12px 25px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    color: var(--text-white);
}

.hero-info-item i {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

/* Section Common */
.section-padding {
    padding: 30px 0;
}

/* Standard section headings are now global in style.css */

/* Tour Content Layout */
.tour-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 80px;
    align-items: start;
}

.tour-description p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--text-light);
    opacity: 0.9;
}

.luxury-list {
    list-style: none;
    margin-top: 40px;
}

.luxury-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.luxury-list li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-blue);
    font-size: 1rem;
}

/* Itinerary Accordion */
.itinerary-container {
    margin-top: 80px;
}

.subsection-title {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: var(--text-white);
}

.itinerary-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.itinerary-item {
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--glass-bg);
    transition: all 0.4s ease;
}

.itinerary-item.active {
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.08);
}

.itinerary-header {
    padding: 25px 30px;
    display: flex;
    align-items: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.3s;
}

.itinerary-item.active .itinerary-header {
    background: transparent;
}

.day-label {
    background: var(--primary-blue);
    color: white;
    padding: 5px 15px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-right: 25px;
    text-transform: uppercase;
}

.itinerary-header h4 {
    flex: 1;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    margin: 0;
}

.itinerary-header i {
    transition: transform 0.3s;
    color: var(--text-dim);
}

.itinerary-item.active .itinerary-header i {
    transform: rotate(180deg);
    color: var(--primary-blue);
}

.itinerary-body {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.itinerary-item.active .itinerary-body {
    padding: 25px 30px 40px;
    max-height: 1000px;
    /* Increased for longer content */
}

.overnight-info {
    margin-top: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.overnight-info::before {
    content: '\f236';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* Sidebar */
.tour-sidebar {
    padding-top: 80px;  /* Align sidebar-card border with section-title top level */
}

.sidebar-card {
    background: var(--glass-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    margin-bottom: 40px;
}

.sidebar-title {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-blue);
}

.sidebar-card ul {
    list-style: none;
    padding: 0;
}

.sidebar-card li {
    display: flex;
    gap: 18px;
    margin-bottom: 0;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.5;
}

.check-list li,
.cross-list li {
    border-bottom: 1px solid var(--glass-border);
}

.check-list li:last-child,
.cross-list li:last-child {
    border-bottom: none;
}

.sidebar-card i {
    margin-top: 3px;
    font-size: 1rem;
}

.check-list i {
    color: #1fb981;
}

.cross-list i {
    color: #ef4444;
}

/* Gallery */
.tour-gallery-section {
    background: var(--navy-dark);
    padding: 30px 0;
}

.gallery-master-container {
    margin-top: 50px;
}

.main-gallery-slider .swiper-slide img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.thumbs-gallery-slider {
    margin-top: 30px;
}

.thumbs-gallery-slider .swiper-slide {
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    opacity: 0.3;
    transition: opacity 0.3s, transform 0.3s;
}

.thumbs-gallery-slider .swiper-slide:hover {
    transform: translateY(-5px);
}

.thumbs-gallery-slider .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid var(--primary-blue);
}

.thumbs-gallery-slider img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.4rem;
    font-weight: 900;
}

/* Enquiry Section */
.enquiry-section {
    background: var(--navy-dark);
    padding: 30px 0;
    position: relative;
    z-index: 10;
}

.enquiry-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    background: var(--bg-darker);
    padding: 80px;
    border-radius: 40px;
    border: 1px solid rgba(13, 31, 78, 0.1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}

.enquiry-container .section-title {
    color: var(--bg-deep) !important;
}

.enquiry-container .enquiry-content p {
    color: #4a5568 !important;
}

.enquiry-container .form-group label {
    color: var(--bg-deep) !important;
}

.enquiry-container .form-group input,
.enquiry-container .form-group textarea {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(13, 31, 78, 0.1);
    color: var(--bg-deep);
}

.enquiry-content p {
    color: var(--text-light);
    margin-top: 5px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 25px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-white);
    font-family: inherit;
    transition: all 0.3s;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 6px rgba(99, 140, 255, 0.15);
}

.locked-field {
    background: rgba(255, 255, 255, 0.01) !important;
    color: var(--text-dim) !important;
    cursor: not-allowed;
    font-weight: 600;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--bg-body);
    color: var(--bg-deep);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition-smooth);
    margin-top: 10px;
}

.btn-submit i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-submit:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-submit:hover i {
    transform: translateX(5px) rotate(-10deg);
}

.form-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.form-footer .response-text {
    font-size: 0.8rem;
    color: #4a5568;
    line-height: 1.5;
    opacity: 0.9;
}

.form-footer .response-text strong {
    color: var(--bg-deep);
    font-size: 0.85rem;
}

.tour-enquiry-form .btn-submit-new {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
}

/* Footer Center Override (Matches style.css now) */

/* Responsive */
@media (max-width: 1200px) {
    .tour-layout {
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .tour-layout {
        grid-template-columns: 1fr;
    }

    .enquiry-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 60px 40px;
    }

    .tour-sidebar {
        order: 2;
        padding-top: 0;  /* Reset alignment offset in single-column layout */
    }

    .tour-main {
        order: 1;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 30px 0;
    }

    .sub-hero {
        height: 100vh;
        min-height: 350px;
    }

    .sub-hero-title {
        font-size: 28px !important;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }

    .page-title,
    .section-title {
        font-size: 20px;
    }

    .main-gallery-slider .swiper-slide img {
        height: 350px;
        border-radius: 20px;
    }

    .thumbs-gallery-slider .swiper-slide {
        height: 60px;
    }

    .thumbs-gallery-slider img {
        height: 60px;
    }

    .enquiry-container {
        padding: 40px 20px;
        border-radius: 25px;
        gap: 40px;
    }

    .itinerary-header {
        padding: 15px 20px;
    }

    .day-label {
        margin-right: 15px;
        padding: 4px 10px;
    }

    .itinerary-header h4 {
        font-size: 1.1rem;
    }

    .itinerary-body {
        padding: 0 20px;
    }

    .itinerary-item.active .itinerary-body {
        padding: 20px 20px 30px;
    }

    .trek-stats {
        gap: 10px;
    }

    .stat-item {
        font-size: 0.75rem;
    }

    .phrases-list {
        grid-template-columns: 1fr;
    }

    /* Sidebars card padding */
    .sidebar-card {
        padding: 25px;
    }

    /* Swipe arrows on mobile */
    .swiper-button-next,
    .swiper-button-prev {
        width: 45px;
        height: 45px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 1rem;
    }
}

/* Ensure mobile nav toggle is visible */
@media (max-width: 1024px) {
    .nav-toggle {
        display: flex !important;
    }
}
