.vid_slide {
    position: relative;
    height: calc(100vh - 99px);
    width: 100%;
    overflow: hidden;
    background-color: black;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.wed_hd {
    font-family: "Afacad", serif;
    font-size: 40px;
    color: #5F7536;
    text-align: left;
    margin-top: 60px;
}

.tx_eve {
    margin: 20px;
    font-size: 18px;
    position: relative;
    text-align: center;
    font-weight: 300;
    color: #5f7536;
}

.bcmt_mct_mc_event {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px 75px;
}

.sec_cmc {
    display: flex;
    align-items: center; 
    gap: 30px;          
}

.sec_rc {
    flex: 1;
}

.eve_gal_bt {
    display: flex;
    justify-content: center;  
    align-items: center;      
    width: 100%;              
    padding: 10px 0; 
    bottom: 10px;         
    gap: 10px;
}

.eve_gal_bt button {
    display: inline-block;
    width: 80%;               
    max-width: 250px;         
    padding: 12px 18px;       
    box-sizing: border-box;    
    text-align: center;
    border: 1px solid #8a5627;
    border-radius: 5px;
    background-color: transparent;
    color: #8a5627;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.eve_gal_bt button:hover {
    transform: scale(1.05);
    background-color: #ffe58e;
    color: #5f7536;
}

.gallery_container {
    width: 100%;
    max-width: 500px; 
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
    flex: 1;
}

.gallery_spotlight {
    width: 100%;
    position: relative;
    padding-top: 56.25%; 
    overflow: hidden;
    background-color: #f0f0f0;
}

.gallery_spotlight img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none !important;
}

.gallery_overlay img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none !important;
}

.thumb_slider_wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    margin-top: 15px;
    gap: 10px;
    justify-content: center; 
}

.thumb_track {
    display: flex;                
    flex-direction: row;
    overflow-x: auto;            
    scroll-behavior: smooth;
    white-space: nowrap;
    width: auto;             
    max-width: 100%;
    padding: 10px;
    -ms-overflow-style: none;    
    scrollbar-width: none;
    gap: 5px;
    justify-content: center; 
}

.thumb_track::-webkit-scrollbar {
    display: none;
}

.thumb_card {
    flex: 0 0 auto;
    width: 85px;    
    height: 60px;  
    cursor: pointer;
    box-sizing: border-box;
    border: 3px solid transparent;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.thumb_card img {
    width: 100%;
    height: 100%;
    object-fit: cover;            
}

.thumb_card:hover {
    transform: scale(1.02);
}

.thumb_card.active {
    border: 1px solid #5F7536;  
    transform: scale(1.06);
}

.thumb_arrow {
    position: absolute;
    width: 35px;
    height: 35px;
    display: none;          
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: white;
    border-radius: 100%;
    bottom: 32%;
    border: 1px solid rgb(201, 201, 201);
    transition: .3s;
    opacity: .6;
    z-index: 1;
}

.thumb_arrow img {
    height: 20px;
    filter: brightness(30%);
}

.thumb_arrow:hover {
    opacity: 1;
}

.arrow_l { left: -10px; }
.arrow_r { right: -10px; }

.wed_gal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 20px;
}

.hd_gal {
    grid-column: span 4;
    font-size: 40px;
    margin-bottom: 15px;
    text-align: left;
    font-family: "Afacad";
    color: #5f7536;
}

.wed_p {
    width: 100%;
    height: 250px; 
    overflow: hidden; 
    cursor: pointer; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wed_p:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.wed_p img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.wed_p:hover img {
    transform: scale(1.1);
}

.lightbox, #lightbox, #lightbox_modal {
    position: fixed !important;
    z-index: 9999999 !important; 
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.7) !important; 
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox.active, #lightbox.active, #lightbox_modal.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.lightbox_content, 
.lightbox div.lightbox_content {
    max-width: 90vw !important;
    max-height: 85vh !important;
    width: auto !important;
    height: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: visible !important;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox.active .lightbox_content,
.lightbox_content.show {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.lightbox img,
.lightbox_content img,
img.lightbox_content {
    max-width: 100% !important;
    max-height: 85vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important; 
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.lightbox_btn, .nav_btn, .close_btn {
    position: absolute;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none !important;
    width: 40px;
    height: 40px;
    color: white !important;
    cursor: pointer;
    border-radius: 50%;
    user-select: none;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center !important;
    z-index: 10; 
    opacity: 0.8;
}

.lightbox_btn img {
    height: 15px !important;
}

.lightbox_btn:hover, .nav_btn:hover, .close_btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    opacity: 1;
}

.close_btn { 
    top: 20px; 
    right: 20px; 
    font-size: 24px;
    line-height: 1;
}
.prev_btn { left: 20px; top: 50%; transform: translateY(-50%); }
.next_btn { right: 20px; top: 50%; transform: translateY(-50%); }

.lightbox_btn:active, .nav_btn:active, .close_btn:active {
    transform: scale(0.95);
}
.prev_btn:active, .next_btn:active {
    transform: translateY(-50%) scale(0.95);
}

.slider_wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 55px;
    box-sizing: border-box;
}

.pckg_arrow {
    position: absolute;
    height: calc(100% - 20px);
    width: 35px;
    height: 35px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: white;
    border-radius: 50%;
    bottom: 50%;
    border: 1px solid rgb(201, 201, 201);
    transition: .3s;
    opacity: .6;
    z-index: 1;
}

.pckg_arrow:hover {
    background-color: #ffe58e;
    color: #5f7536;
    border-color: #5f7536;
}

.pckg_arrow.arrow_l {
    left: 10px;
}

.pckg_arrow.arrow_r {
    right: 10px;
}
.pckg_arrow img{
     height: 20px;
    filter: brightness(30%);
}

.packages_image_slider {
    display: flex;
    column-gap: 25px;
    overflow-x: auto;
    max-width: 100%;
    scroll-behavior: smooth;
    padding: 30px 5px 60px;
    margin-top: 15px;
    justify-content: flex-start;
    align-items: stretch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.packages_image_slider::-webkit-scrollbar {
    display: none;
}

.package_image_card {
    height: auto;
    border: 1px solid #4a3b32;
    padding: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.package_image_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.package_image_card img {
    height: 60vh;
    object-fit: contain;
    background-color: #fcf8f2;
    display: block;
    border-bottom: 1px solid #4a3b32;
}

.package_image_card h3 {
    font-family: "Afacad", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    margin: 25px 15px 15px;
}

.package_image_card p {
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
    margin: 0 20px 25px;
    font-weight: 300;
    flex-grow: 1;
}

.package_card_btn {
    width: calc(100% - 40px);
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #8a5627;
    background-color: #fcf8f2;
    color: #8a5627;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.package_image_card:hover .package_card_btn {
    background-color: #8a5627;
    color: #ffffff;
}

@media (max-width: 1000px) {
    #celeb_t { order: 1 !important; }
    #celeb_b { order: 2 !important; }
}

@media (max-width: 768px) {
    .bcmt_mct_mc_event { padding: 0 20px 50px; }
    .sec_cmc { flex-direction: column; gap: 20px; }
    .wed_gal { grid-template-columns: repeat(2, 1fr); }
    .hd_gal { grid-column: span 2; }
    .slider_wrapper { padding: 0 45px; }
    .packages_image_slider { justify-content: flex-start; }
    .package_image_card { flex: 0 0 260px; }
}

@media (max-width: 576px) {
    .lightbox { padding: 20px; }
    .lightbox_content, .lightbox div.lightbox_content {
        max-width: 95vw !important;
        max-height: 70vh !important;
    }
    .lightbox img, .lightbox_content img, img.lightbox_content {
        max-height: 70vh !important;
    }
    .close_btn { top: 15px; right: 15px; }
    .prev_btn { left: 10px; }
    .next_btn { right: 10px; }
    .lightbox_btn, .nav_btn, .close_btn { width: 35px; height: 35px; }
    .lightbox_btn img { height: 12px; }
}

@media (max-width: 480px) {
    .wed_gal { grid-template-columns: 1fr; }
    .hd_gal { grid-column: span 1; }
    .lightbox_content, .lightbox div.lightbox_content { max-height: 65vh !important; }
    .lightbox img, .lightbox_content img, img.lightbox_content { max-height: 65vh !important; }
    .close_btn { top: 12px; right: 12px; }
    .prev_btn { left: 8px; }
    .next_btn { right: 8px; }
}

@media (max-width: 440px) {
    .thumb_arrow { display: flex; }
    .thumb_track {
        width: 100%;
        justify-content: flex-start; 
        padding: 10px 25px;          
    }
    .arrow_l { left: -5px; }
    .arrow_r { right: -5px; }
}

@media (max-width: 410px) {
    .thumb_track { padding: 10px 20px; }
}

.solace_amenities_section {
    max-width: 1200px;
    margin: 60px auto 80px;
    padding: 0 50px;
    box-sizing: border-box;
}

.solace_amenities_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.amenity_card {
    position: relative;
    height: 320px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background-color: #fafafa;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.amenity_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(95, 117, 54, 0.15);
}

.amenity_img_wrap {
    width: 100%;
    height: 65%;
    overflow: hidden;
    position: relative;
}

.amenity_img_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.amenity_card:hover .amenity_img_wrap img {
    transform: scale(1.08);
}

.amenity_details {
    padding: 20px;
    height: 35%;
    box-sizing: border-box;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.amenity_title {
    font-family: "Afacad", sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #5F7536;
    margin: 0 0 5px 0;
}

.amenity_desc {
    font-size: 14px;
    color: #777777;
    margin: 0;
    line-height: 1.4;
    font-weight: 300;
}

@media (max-width: 992px) {
    .solace_amenities_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .solace_amenities_section {
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .solace_amenities_grid {
        grid-template-columns: 1fr;
    }
    .amenity_card {
        height: 280px;
    }
}