/********** Template CSS **********/
:root {
    --primary: #FEA116;
    --light: #F1F8FF;
    --dark: #0F172B;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-semi-bold {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 43, .7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

/* Carousel Height Management */
#header-carousel .carousel-item {
    position: relative;
    min-height: 650px;
}

#header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1200px) {
    #header-carousel .carousel-item {
        min-height: 550px;
    }
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        min-height: 400px;
    }
}

@media (max-width: 576px) {
    #header-carousel .carousel-item {
        min-height: 300px;
    }
}

.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.booking {
    position: relative;
    margin-top: -100px !important;
    z-index: 1;
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}


/*** Service ***/
.service-item {
    height: 320px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 30px auto;
    width: 65px;
    height: 65px;
    transition: .5s;
}

.service-item i,
.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover i,
.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF !important;
}


/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(15, 23, 43, .1), rgba(15, 23, 43, .1)), url(../img/video.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial {
    background: linear-gradient(rgba(15, 23, 43, .7), rgba(15, 23, 43, .7)), url(../img/carousel-2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    padding-left: 65px;
    padding-right: 65px;
}

.testimonial-carousel .testimonial-item {
    padding: 30px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--primary);
    background: #FFFFFF;
}


/*** Team ***/
.team-item,
.team-item .bg-primary,
.team-item .bg-primary i {
    transition: .5s;
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** Footer ***/
.newsletter {
    position: relative;
    z-index: 1;
}

.footer {
    position: relative;
    margin-top: -110px;
    padding-top: 180px;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


/*** Booking Modal Styles ***/
#bookingModal .modal-content {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#bookingModal .modal-header {
    border-bottom: 2px solid #f0f0f0;
    padding: 20px;
}

#bookingModal .modal-body {
    padding: 30px 20px;
}

#bookingModal .booking-details {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

#bookingModal .booking-details .table {
    margin-bottom: 0;
    font-size: 14px;
}

#bookingModal .booking-details .table tbody tr td {
    padding: 12px 8px;
    border: none;
}

#bookingModal .booking-details .table tbody tr:hover {
    background-color: #e9ecef;
}

#bookingModal .booking-details .table-active {
    background-color: #f1f8ff !important;
}

#successContent i,
#errorContent i {
    display: inline-block;
}

#bookingModal .alert {
    margin-top: 15px;
    border-left: 4px solid var(--primary);
    border-radius: 5px;
}

#bookingModal .modal-footer {
    border-top: 2px solid #f0f0f0;
    padding: 15px 20px;
}



/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
    /* Add your styles here */
}

/* Cart styles */
#cart-btn {
    border-radius: 50px;
    padding: 6px 12px;
    font-size: 14px;
}

#cart-count {
    font-size: 12px;
    min-width: 20px;
    display: inline-block;
    text-align: center;
}

.add-to-cart {
    border-radius: 20px;
    border: 1px solid var(--accent-color);
    background-color: transparent;
    color: var(--accent-color);
}

.add-to-cart:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border-color: var(--accent-color);
}

/* Modal add-to-cart button override */
#modal-add-btn.add-to-cart {
    background-color: #cda45e !important;
    color: #000 !important;
    border-color: #cda45e !important;
    border-radius: 20px;
    font-weight: 600;
    padding: 10px 20px;
    font-size: 16px;
    width: 100%;
}

#modal-add-btn.add-to-cart:hover {
    background-color: #d4af86 !important;
    color: #000 !important;
}

/* Cart modal: dark theme, compact header/footer, matching buttons and soft shadows */
.cart-modal {
    background-color: var(--surface-color);
    color: var(--default-color);
    border: 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.cart-modal .modal-header,
.cart-modal .modal-footer {
    padding: 0.5rem 1rem;
    border: 0;
}

.cart-modal .modal-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--heading-color);
}

.cart-modal .modal-body {
    padding: 1rem;
    max-height: 80vh;
    overflow-y: auto;
    background: transparent;
}

.cart-modal .btn-primary {
    background: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: var(--contrast-color) !important;
}

.cart-modal .btn-primary:hover {
    background: color-mix(in srgb, var(--accent-color), black 8%) !important;
}

.cart-modal .btn-secondary {
    background: transparent;
    color: var(--default-color);
    border-color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.cart-modal .modal-body .d-flex {
    padding: 0.75rem;
    border-radius: 8px;
    background: color-mix(in srgb, var(--background-color), white 3%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
    align-items: center;
}

.cart-modal .btn-group .btn {
    min-width: 34px;
}

/* Cart modal tabs */
.cart-modal .cart-tabs {
    border-bottom-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.cart-modal .nav-link {
    color: var(--default-color);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.cart-modal .nav-link:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.cart-modal .nav-link.active {
    color: var(--accent-color);
    background: transparent;
    border-bottom-color: var(--accent-color);
}

/* Form labels in cart modal */
.cart-modal .form-label {
    color: var(--default-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.cart-modal .form-control {
    background-color: color-mix(in srgb, var(--background-color), white 5%);
    border-color: color-mix(in srgb, var(--default-color), transparent 80%);
    color: var(--default-color);
}

.cart-modal .form-control:focus {
    background-color: color-mix(in srgb, var(--background-color), white 5%);
    border-color: var(--accent-color);
    color: var(--default-color);
    box-shadow: 0 0 0 0.2rem rgba(205, 164, 94, 0.25);
}

.cart-modal .form-control::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.cart-modal .form-control:read-only {
    background-color: color-mix(in srgb, var(--background-color), white 2%);
    border-color: color-mix(in srgb, var(--default-color), transparent 90%);
}

/* Message styles */
.cart-message-success {
    background-color: #059652;
    color: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.cart-message-error,
.cart-message-warning {
    background-color: #df1529;
    color: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.cart-message-warning {
    background-color: #ff9800;
}

/* Responsive map embed styling */
.embed-map-responsive {
    position: relative;
    text-align: right;
    width: 100%;
    height: 0;
    padding-bottom: 57%;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.embed-map-container {
    overflow: hidden;
    background: transparent;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 8px;
}

.embed-map-frame {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    border: none !important;
}

/* Location display styling */
#location-display {
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 60%);
}

#location-coords {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.text-accent {
    color: var(--accent-color);
}

@media (max-width: 1199px) {

    /* ensure cart button visible on smaller screens if desired */
    #cart-btn.d-none.d-xl-inline-flex {
        display: inline-flex !important;
    }
}

.btn-outline-gold {
    color: #cda45e;
    border: 1px solid #cda45e;
    background-color: transparent;
}

.btn-outline-gold:hover {
    color: #fff;
    background-color: #cda45e;
    border-color: #cda45e;
}


/*** MODERN ROOM BOOKING SECTION ***/

/* Room Booking Card */
.room-booking-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.room-booking-card:hover {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Form Controls */
.room-booking-card .form-control,
.room-booking-card .form-select {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.room-booking-card .form-control:focus,
.room-booking-card .form-select:focus {
    border-color: #c8A552;
    box-shadow: 0 0 0 0.2rem rgba(200, 165, 82, 0.15);
}

.room-booking-card .form-floating>label {
    color: #666;
    font-weight: 500;
    font-size: 13px;
}

.room-booking-card .form-floating>.form-control:focus~label,
.room-booking-card .form-floating>.form-control:not(:placeholder-shown)~label,
.room-booking-card .form-floating>.form-select~label {
    color: #c8A552;
}

/* Form Icon Styling */
.form-icon {
    color: #c8A552;
    margin-right: 8px;
    font-size: 16px;
}

/* Room Detail Card */
.room-detail-card {
    background: white;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.room-detail-card:hover {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.room-detail-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.room-detail-info {
    padding: 25px;
}

.room-detail-info h4 {
    color: #073A33;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 20px;
}

.room-feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.room-feature i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #c8A552 0%, #b8951f 100%);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 16px;
}

.room-price {
    background: linear-gradient(135deg, #c8A552 0%, #b8951f 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 15px;
}

.room-price-label {
    font-size: 12px;
    opacity: 0.9;
    text-transform: uppercase;
}

.room-price-value {
    font-size: 24px;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 991px) {
    .room-booking-card {
        padding: 25px;
    }

    .room-detail-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .room-booking-card {
        padding: 20px;
        margin-top: 20px;
    }

    .room-detail-info {
        padding: 20px;
    }

    .room-detail-image {
        height: 200px;
    }

    .room-booking-card .form-control,
    .room-booking-card .form-select {
        padding: 10px 12px;
        font-size: 13px;
    }

    .room-feature {
        font-size: 13px;
    }

    .room-price-value {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .room-booking-card {
        padding: 16px;
    }

    .room-detail-info {
        padding: 16px;
    }

    .room-detail-image {
        height: 180px;
    }

    .room-booking-card .form-control,
    .room-booking-card .form-select {
        padding: 10px 12px;
        font-size: 12px;
    }

    .room-feature i {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .room-feature {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .room-detail-info h4 {
        font-size: 18px;
    }
}