/* --- PACKAGE DETAIL PAGE STYLING --- */

/* 2:10 Ratio Banner Layout */
.package-banner-section {
    background: #111111;
    color: #ffffff;
    padding: 20px 0;
    border-bottom: 3px solid #dc3545;
}

.package-banner-grid {
    display: grid;
    grid-template-columns: 2fr 10fr;
    gap: 10px;
    align-items: center;
}

.pkg-thumb-frame {
    width: 150px;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.pkg-thumb-frame img {
    width:150px;
    height: auto;
    object-fit: cover;
    display: block;
}

.pkg-banner-content-col h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.pkg-banner-content-col .breadcrumb-text {
    font-size: 14px;
    color: #b3b3b3;
    margin-bottom: 15px;
}

.pkg-banner-content-col .breadcrumb-text a {
    color: #ffffff;
}

.pkg-banner-content-col .breadcrumb-text span {
    color: #dc3545;
}

/* Action Buttons */
.pkg-action-buttons {
    display: flex;
    gap: 15px;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-call {
    background-color: #dc3545;
    color: #ffffff;
}

.btn-call:hover {
    background-color: #b02a37;
}

.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff;
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
}

/* 8:4 Main Content Layout */
.package-layout-grid {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 40px;
    align-items: start;
}

.package-main-desc, 
.package-products-section, 
.package-gallery-section, 
.package-video-section {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e1dfdf;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.package-main-desc h2, 
.package-products-section h3, 
.package-gallery-section h3, 
.package-video-section h3 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 15px;
    border-bottom: 2px solid #dc3545;
    padding-bottom: 8px;
}

.content-body p {
    color: #555555;
    line-height: 1.6;
    font-size: 14px;
}

.pkg-items-list-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pkg-items-list-box li {
    font-size: 14px;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pkg-items-list-box li i {
    color: #dc3545;
}

/* Gallery Grid inside details */
.pkg-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    height: 110px;
    border-radius: 6px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Placeholder */
.video-placeholder-box {
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    color: #666;
}

.video-placeholder-box i {
    font-size: 36px;
    color: #dc3545;
    margin-bottom: 10px;
}

/* Booking Sidebar Card */
.booking-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.booking-card h3 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 8px;
    border-bottom: 2px solid #dc3545;
    padding-bottom: 8px;
}

.booking-subtitle {
    font-size: 13px;
    color: #666666;
    margin-bottom: 20px;
}

.booking-form .form-group {
    margin-bottom: 15px;
}

.booking-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 5px;
}

.booking-form input,
.booking-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.booking-form input:focus,
.booking-form textarea:focus {
    border-color: #dc3545;
}

.btn-submit-booking {
    width: 100%;
    background-color: #dc3545;
    color: #ffffff;
    border: none;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit-booking:hover {
    background-color: #b02a37;
}

/* --- MOBILE RESPONSIVE RULES --- */
@media (max-width: 992px) {
    .package-layout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Stack banner and hide main image on mobile */
    .package-banner-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .pkg-banner-img-col {
        display: none; /* Hide main package image on mobile devices */
    }

    /* Expand call and whatsapp buttons left-to-right */
    .pkg-action-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .btn-action {
        width: 100%;
        justify-content: center;
        padding: 12px;
        font-size: 15px;
    }
    
    .pkg-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- INCLUDED PRODUCTS LIST STYLING --- */
.product-item-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-item-row {
    display: flex;
    align-items: center;
    background: #fdfdfd;
    border: 1px solid #eaeaea;
    border-left: 4px solid #dc3545;
    border-radius: 6px;
    padding: 12px 15px;
    transition: box-shadow 0.2s ease;
}

.product-item-row:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.p-serial {
    font-size: 16px;
    font-weight: 700;
    color: #495057;
    min-width: 30px;
    text-align: center;
    margin-right: 15px;
    border-right: 1px solid #dee2e6;
    padding-right: 15px;
}

.p-details {
    flex-grow: 1;
}

.p-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.p-meta {
    font-size: 13px;
    color: #6c757d;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.meta-sep {
    color: #ced4da;
    margin: 0 2px;
}

.color-dot {
    display: inline-block;
    width: 22px;  /* Size bada kar diya hai */
    height: 22px; /* Size bada kar diya hai */
    border-radius: 4px; /* Aap chahein toh circle (50%) ya rounded square (4px) rakh sakte hain */
    vertical-align: middle;
    margin-right: 6px;
    border: 2px solid #ffffff; /* Colour ke palle white border */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Accha depth/highlight dene ke liye */
}

.no-products-msg {
    font-size: 14px;
    color: #666666;
    font-style: italic;
    margin: 0;
}


/* --- PACKAGE GALLERY & LIGHTBOX STYLING --- */
.pkg-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    height: 110px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #eaeaea;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Lightbox Modal Popup */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #dc3545;
    text-decoration: none;
}




/* --- PACKAGE VIDEO GALLERY & POPUP STYLING --- */
.pkg-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.video-thumbnail-card {
    position: relative;
    height: 130px;
    background: #1a1a1a;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #eaeaea;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-thumbnail-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.vid-placeholder-bg {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #888888;
    gap: 8px;
    font-size: 13px;
}

.vid-placeholder-bg i {
    font-size: 24px;
    color: #dc3545;
}

.vid-thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.video-thumbnail-card:hover .vid-thumb-overlay {
    opacity: 1;
}

.vid-thumb-overlay i {
    color: #ffffff;
    font-size: 28px;
    background: #dc3545;
    padding: 12px;
    border-radius: 50%;
}

/* Video Lightbox Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    display: none; /* Controlled via JS */
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 80%;
    max-width: 700px;
    background: #000000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-responsive-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.video-responsive-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #ffffff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.video-close:hover {
    color: #dc3545;
}

@media (max-width: 768px) {
    .pkg-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .video-modal-content {
        width: 95%;
    }
}


/* Sidebar Alert Messages */
.alert {
    padding: 10px 14px;
    border-radius: 5px;
    font-size: 13.5px;
    margin-bottom: 12px;
    font-weight: 500;
}
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Captcha Badge & Styling */
.captcha-badge {
    background: #e2e8f0;
    color: #1e293b;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 2px;
    font-family: monospace;
}
.optional-text {
    font-size: 11px;
    color: #718096;
    font-weight: normal;
}
.required-star {
    color: #e53e3e;
}
.field-error-msg {
    color: #e53e3e;
    font-size: 12px;
    display: none;
    margin-top: 4px;
}