/* Smooth scrolling behavior */
/* --- Custom Colors & Base --- */
:root {
    --bs-custom-teal: #008080;
    --bs-custom-teal-dark: #006666;
    --bs-custom-gray: #f8f9fa;
    --bs-custom-light-tan: #fdfbf5;
    --bs-body-font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --bs-body-line-height: 1.65;
    --gallery-gap: 1rem;
}

br {
    /* display: inline-block; */
    /* height: 0px !important; */
}

body {
    font-family: var(--bs-body-font-family);
    line-height: var(--bs-body-line-height);
    overflow-x: hidden;
    background-color: #fff;
}

/* ... (other styles) ... */

/* --- Enhanced Lightbox Styles --- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10600;
    padding: 10px;
    box-sizing: border-box;
    transition: opacity 0.3s ease-in-out;
}

#lightbox-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    max-height: 95vh;
}

#lightbox-content {
    position: relative;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
    margin-bottom: 10px;
}

#lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--bs-border-radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.lightbox-video-element {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    /* Keep consistent with lightbox height */
    width: auto;
    height: auto;
    object-fit: contain;
    /* CRITICAL: Prevents stretching */
    background: #000;
    border-radius: var(--bs-border-radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Fix for portrait videos in native fullscreen */
.lightbox-video-element:fullscreen,
.lightbox-video-element:-webkit-full-screen {
    width: 100% !important;
    height: 100% !important;
    max-height: 100vh !important;
    object-fit: contain !important;
}

.lightbox-thumbnails-container {
    flex-shrink: 0;
    width: 100%;
    max-width: 800px;
    padding: 10px 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    text-align: center;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) rgba(0, 0, 0, 0.1);
}

.lightbox-thumbnails-container::-webkit-scrollbar {
    height: 8px;
}

.lightbox-thumbnails-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.lightbox-thumbnails-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.lightbox-thumbnails-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.lightbox-thumbnail-wrapper {
    display: inline-block;
    vertical-align: middle;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    /* border: 2px solid transparent; */
    transition: all 0.2s ease;
    background-color: #000;
}

.lightbox-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.lightbox-thumbnail-wrapper:hover .lightbox-thumbnail-img,
.active-thumbnail {
    opacity: 1 !important;
}

/* For compatibility with existing JS that might target the img class directly for border */
.active-thumbnail.lightbox-thumbnail-img {
    border: 2px solid var(--bs-custom-teal);
    opacity: 1;
}

/* Ensure the wrapper also gets highlighted if needed */
.lightbox-thumbnail-wrapper:has(.active-thumbnail) {
    border: 2px solid var(--bs-custom-teal);
}

.lightbox-thumbnail-img.active-thumbnail {
    opacity: 1;
    border-color: var(--bs-custom-teal);
    box-shadow: 0 0 8px var(--bs-custom-teal);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem 1rem;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10601;
}

.lightbox-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    /* Position the top edge at the vertical center of the overlay */
    transform: translateY(-50%);
    /* Pull the element back up by half its own height to truly center it */
    font-size: 2.5rem;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    padding: 0.75rem 1.25rem;
    border-radius: var(--bs-border-radius);
    opacity: 0.7;
    transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
    user-select: none;
    line-height: 1;
    z-index: 10601;
    /* Ensure arrows are above the main image wrapper if it had a z-index */
}

.lightbox-nav:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.4);
    /* Maintain the vertical centering AND apply the scale */
    transform: translateY(-50%) scale(1.05);
}

.lightbox-nav.d-none {
    display: none !important;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}


/* ... (rest of your styles, including .page-hero::before, .home-cta-background::before, etc.) ... */

/* Ensure other styles like .page-hero::before are included if they were in your original file */
.page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Default hero overlay */
    z-index: 1;
    /* Below hero content */
}

#home-hero .hero-overlay>div {
    /* The content container */
    position: relative;
    z-index: 2;
    /* Ensure text content is above the ::before pseudo-element */
}

.home-cta-background {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.home-cta-background::before {
    /* New overlay using ::before */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    /* Darker overlay with 0.25 alpha */
    z-index: 1;
}

.home-cta-background .container {
    /* Content within CTA */
    position: relative;
    z-index: 2;
    /* Ensure content is above the ::before pseudo-element */
}

html {
    scroll-behavior: smooth;
}

.bg-custom-teal {
    background-color: var(--bs-custom-teal) !important;
}

.text-custom-teal {
    color: var(--bs-custom-teal) !important;
}

.btn-custom-teal {
    background-color: var(--bs-custom-teal);
    border-color: var(--bs-custom-teal);
    color: #fff;
    padding: 0.75rem 1.75rem;
    font-weight: 500;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-custom-teal:hover,
.btn-custom-teal:focus {
    background-color: var(--bs-custom-teal-dark);
    border-color: var(--bs-custom-teal-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 128, 128, 0.3);
}

.bg-custom-gray {
    background-color: var(--bs-custom-gray) !important;
}

.text-custom-teal-dark {
    color: var(--bs-custom-teal-dark) !important;
}

.custom-disc {
    list-style-type: none;
    position: relative;
}

.custom-disc::before {
    color: var(--bs-custom-teal);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1.25em;
    position: absolute;
    left: 0.25em;
}

.bg-custom-teal .custom-disc::before {
    color: #fff;
}

.py-md-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

@media (max-width: 767.98px) {
    .py-md-6 {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }
}

.preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10500;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: circle(150% at center);
    opacity: 1;
    visibility: visible;
    transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.5s 1s linear, visibility 0.5s 1s linear;
}

.preloader.shrinking {
    clip-path: circle(0% at center);
}

.preloader.hidden {
    display: none;
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    border: 6px solid #4a4a4a;
    border-top: 6px solid #00b3b3;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -30px;
    margin-left: -30px;
    z-index: 10501;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.preloader.shrinking .loader-spinner {
    opacity: 0;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

#main-header {
    z-index: 1030;
}

#main-header .navbar {
    background-color: transparent !important;
    transition: background-color 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out;
}

#main-header .navbar.scrolled,
#main-header .navbar.expanded {
    background-color: rgba(var(--bs-dark-rgb), 0.85) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

#main-header .navbar-nav .nav-link {
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: bold;
    padding-left: 1rem;
    padding-right: 1rem;
}

#main-header .navbar.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#main-header .navbar.navbar-dark .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.25);
}

#main-header .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff8a;
    transition: width 0.3s ease;
}

#main-header .navbar-nav .nav-link:hover::after,
#main-header .navbar-nav .nav-link.active::after {
    width: 60%;
}

#main-header .navbar-nav .nav-link:hover,
#main-header .navbar-nav .nav-link.active {
    color: #e0f7fa;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active {
    border: none;
    box-shadow: none;
    outline: none;
}

.footer-icon {
    vertical-align: middle;
    margin-right: 8px;
}

.hover-underline:hover {
    text-decoration: underline !important;
}

.page-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-hero #hero-background-image,
.page-hero #hero-video-background {
    z-index: -1;
}

#hero-video-background.video-visible {
    opacity: 1 !important;
    visibility: visible !important;
}

@keyframes pan-right-zoomed {
    0% {
        transform: scale(1.1) translateX(0%);
    }

    100% {
        transform: scale(1.1) translateX(-10%);
    }
}

@keyframes zoom-in {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.slideshow-image {
    transition: opacity 0.75s ease-in-out;
    transform-origin: center center;
}

.image-fade-out {
    opacity: 0 !important;
}

.page-index #home-hero #hero-background-image {
    animation: zoom-in 25s linear infinite alternate;
}

#gallery-content {
    background-color: var(--bs-custom-light-tan);
}

.gallery-category-filters .gallery-category-btn {
    border-radius: 20px;
    padding: 0.375rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--bs-custom-teal-dark);
    background-color: #fff;
    color: var(--bs-custom-teal-dark);
}

.gallery-category-filters .gallery-category-btn:hover {
    background-color: var(--bs-custom-teal-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-category-filters .gallery-category-btn.active {
    background-color: var(--bs-custom-teal);
    border-color: var(--bs-custom-teal);
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 128, 128, 0.3);
}

.gallery-category-filters .gallery-category-btn.active:hover {
    background-color: var(--bs-custom-teal-dark);
    border-color: var(--bs-custom-teal-dark);
}

.masonry-gallery-wrapper {
    text-align: center;
}

.masonry-gallery {
    display: inline-block;
    text-align: left;
    column-gap: var(--gallery-gap);
    position: relative;
    width: auto;
    max-width: 100%;
    column-count: 1;
    transition: column-count 0.3s ease-in-out;
}



@media (min-width: 576px) {
    .masonry-gallery {
        column-count: 2;
    }
}

@media (min-width: 768px) {
    .masonry-gallery {
        column-count: 3;
    }
}

@media (min-width: 992px) {
    .masonry-gallery {
        column-count: 4;
    }
}

@media (min-width: 1200px) {
    .masonry-gallery {
        column-count: 5;
    }
}

#gallery-status-message {
    width: 100%;
}

.masonry-item {
    break-inside: avoid-column;
    margin-bottom: var(--gallery-gap);
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--bs-border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.masonry-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.masonry-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.masonry-item a.gallery-lightbox-trigger {
    display: block;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--bs-border-radius);
    position: relative;
}

.masonry-item img.gallery-image-item {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: var(--bs-border-radius);
    display: block;
    width: 100%;
    height: auto;
}

.masonry-item a.gallery-lightbox-trigger:hover img.gallery-image-item {
    transform: scale(1.1);
}

.video-play-icon-overlay {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease;
}

.video-play-icon-overlay i {
    color: #fff;
    font-size: 1.5rem;
    margin-left: 5px;
}

.masonry-item a.gallery-lightbox-trigger:hover .video-play-icon-overlay {
    transform: scale(1.15);
    background: rgba(0, 0, 0, 0.7);
}

.masonry-item a.gallery-lightbox-trigger::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 102, 102, 0.3);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 1;
    border-radius: var(--bs-border-radius);
}

.masonry-item a.gallery-lightbox-trigger:hover::before {
    opacity: 1;
}

.masonry-item a.gallery-lightbox-trigger::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    color: white;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    z-index: 2;
    pointer-events: none;
}

.masonry-item a.gallery-lightbox-trigger:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Booking Modal Styles */
.booking-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10700;
    /* Higher than lightbox */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.booking-modal-overlay:not(.d-none) {
    /* When d-none is removed by JS */
    opacity: 1;
    visibility: visible;
}

div#bookingFormMessage {
    background: #ececec !important;
    /* color: #fff !important; */
    padding: 15px;
    font-weight: bold;
}

.booking-modal-content {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 700px;
    /* Max width of the modal */
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.booking-modal-overlay:not(.d-none) .booking-modal-content {
    transform: scale(1);
}

.booking-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.booking-modal-title {
    font-size: 1.5rem;
    color: var(--bs-custom-teal-dark);
}

.booking-modal-close-btn {
    background: none;
    border: none;
    font-size: 1.75rem;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    padding: 0.25rem 0.75rem;
}

.booking-modal-close-btn:hover {
    color: #555;
}

.booking-modal-body {
    padding-bottom: 15px;
}

.booking-modal-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 20px;
}

.booking-modal-footer .btn {
    margin-left: 10px;
}

/* Calendar Styles */
.calendar-container {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fdfdfd;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-month-year {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bs-custom-teal-dark);
}

.calendar-nav-btn {
    background-color: transparent;
    border: 1px solid #ccc;
    color: var(--bs-custom-teal);
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.calendar-nav-btn:hover {
    background-color: var(--bs-custom-teal);
    color: #fff;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: #777;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 38px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.calendar-day:not(.empty-day):hover {
    background-color: #e9f5f5;
    border-color: var(--bs-custom-teal);
}

.calendar-day.empty-day {
    background-color: transparent;
    cursor: default;
}

.calendar-day.date-today {
    background-color: var(--bs-custom-light-tan);
    font-weight: bold;
    border: 1px dashed var(--bs-custom-teal-dark);
}

.calendar-day.date-selected {
    background-color: var(--bs-custom-teal) !important;
    color: #fff !important;
    border-color: var(--bs-custom-teal-dark) !important;
    font-weight: bold;
}

.calendar-day.date-unavailable {
    background-color: #f0f0f0;
    color: #aaa;
    cursor: not-allowed;
    text-decoration: line-through;
}

.calendar-day.date-unavailable:hover {
    background-color: #f0f0f0;
    /* Keep hover state same as default for unavailable */
    border-color: transparent;
}

.calendar-day.date-past {
    color: #ccc;
    cursor: not-allowed;
}

.calendar-day.date-past:hover {
    background-color: transparent;
    border-color: transparent;
}


#load-more-gallery-button {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    background-image: linear-gradient(to right, var(--bs-custom-teal) 0%, var(--bs-custom-teal-dark) 50%, var(--bs-custom-teal) 100%);
    background-size: 200% auto;
    color: white;
    box-shadow: 0 4px 15px 0 rgba(0, 128, 128, 0.35);
    transition: all 0.4s ease-in-out;
}

#load-more-gallery-button:hover {
    background-position: right center;
    color: #fff;
    box-shadow: 0 6px 20px 0 rgba(0, 128, 128, 0.45);
    transform: translateY(-3px) scale(1.02);
}

#load-more-gallery-button:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 2px 10px 0 rgba(0, 128, 128, 0.3);
}

.text-image-section-column {
    display: inline-block !important;
}

.bg-custom-gray * {
    color: #222222;
}

li::marker {
    display: none !important;
}

.bg-custom-gray ul {
    line-height: 0.75;
    list-style-type: disc;
    direction: rtl;
    margin-top: 20px;
}

.bg-custom-teal ul {
    line-height: 0.75;
    list-style-type: disc;
    margin-top: 20px;
}

.fs-5.lh-base.text-alignment {
    line-height: 30px !important;
}

.bg-custom-teal * {
    color: #ffffff;
}

.text-image-section-column .inner-text-content {
    max-width: 500px;
    display: inline-block;
    vertical-align: middle;
}

.text-image-section-column .inner-text-content>.fs-1 {
    margin-bottom: 1.25rem !important;
}

@media (max-width: 767.98px) {
    a.nav-link {
        text-align: center;
    }

    #main-header .navbar-nav .nav-link::after {
        display: none;
    }

    .text-image-section-column.text-md-start,
    .text-image-section-column.text-md-end {
        text-align: center !important;
    }

    .text-image-section-column .inner-text-content {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

#main-content-area {
    min-height: 60vh;
}

#page-transition-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.page-content-transition-element {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    transform: translateX(0%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
    background-color: #fff;
    overflow-y: auto;
    box-sizing: border-box;
}

#page-content-wrapper {
    width: 100%;
    position: relative;
    opacity: 1;
    transform: translateX(0%);
    background-color: #fff;
}

.page-index #page-content-wrapper,
.page-about #page-content-wrapper,
.page-accommodations #page-content-wrapper,
.page-contact #page-content-wrapper {}

.page-gallery #page-content-wrapper {
    background-color: var(--bs-custom-light-tan);
}

.page-content-transition-element.page-exiting {
    transform: translateX(-100%);
    opacity: 1;
    z-index: 1;
}

.page-content-transition-element.page-entering {
    transform: translateX(100%);
    opacity: 1;
    z-index: 2;
}

.page-content-transition-element.page-active-transition {
    transform: translateX(0%);
    opacity: 1;
    z-index: 2;
}

footer {
    position: relative;
    z-index: 10;
}

/* Video Carousel Premium Styles */
#videoCarousel .carousel-control-prev-icon,
#videoCarousel .carousel-control-next-icon {
    background-size: 50%, 50%;
    transition: transform 0.3s ease;
}

#videoCarousel .carousel-control-prev:hover .carousel-control-prev-icon {
    transform: scale(1.2);
}

#videoCarousel .carousel-control-next:hover .carousel-control-next-icon {
    transform: scale(1.2);
}

/* Optional: Ensure videos fit nicely */
.video-slide {
    max-height: 80vh;
    /* Prevent it from being too tall on huge screens */
    background: #000;
}