/* Custom Navbar */
.custom-navbar {
    background-color: rgba(36, 34, 30, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.custom-navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 1px;
}

.custom-navbar .hotel-name {
    color: #d4af37;
    /* Gold accent */
    margin-left: 8px;
    text-transform: uppercase;
}

.custom-navbar .nav-logo {
    height: 45px;
    width: auto;
    border-radius: 4px;
}

.custom-navbar .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.05rem;
    margin-left: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
    color: #d4af37 !important;
}

.custom-navbar .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 2px;
    left: 0;
    background-color: #d4af37;
    transition: width 0.3s ease;
}

.custom-navbar .nav-link:hover::after,
.custom-navbar .nav-link.active::after {
    width: 100%;
}

.custom-navbar .navbar-toggler {
    border: none;
    box-shadow: none;
}

.custom-navbar .navbar-toggler-icon {
    filter: invert(1);
}

.Hzoom {
    width: 100%;
    padding: 10px;
    transition: transform 0.4s ease-in-out;
    /* Smooth animation */
}

.Hzoom:hover {
    transform: scale(1.1);
    /* Zoom in */
}

/* Carousel Images */
.carousel-item img {
    height: 100vh;
    width: 100%;
    object-fit: cover;
    filter: brightness(70%);
}

/* Overlay hotel name & address */
.overlay-text {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.overlay-text h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.overlay-text p {
    font-size: 1.1rem;
    margin-top: 8px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

/* Carousel controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: brightness(0) invert(1);
    width: 50px;
    height: 50px;
}

/* ---- Booking Modal (existing) ---- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1100;
    justify-content: center;
    align-items: center;
}

.modal-overlay .modal-content {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 30px;
    width: 450px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: fadeIn 0.4s ease-in-out;
    max-height: 90vh;
    overflow-y: scroll;
}

.modal-overlay .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

.modal-overlay .close-btn:hover {
    color: #f44336;
}

.modal-overlay .form-control,
.modal-overlay .form-select {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    border-radius: 8px;
    padding: 10px;
}

.modal-overlay .form-control:focus,
.modal-overlay .form-select:focus {
    color: #000;
    background: rgba(255, 255, 255, 0.9);
    outline: none;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.thank-you-message {
    font-size: 1.1rem;
    animation: fadeIn 0.5s ease-in-out;
    color: #00ff99;
    font-weight: 600;
}

/* ---- ROOM CARDS ---- */
.room-card {
    background: #1c1c1c;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.25s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 20px;
    cursor: pointer;
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.room-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.room-info {
    padding: 14px;
    text-align: center;
}

.room-info h4 {
    margin-bottom: 8px;
    color: #ffd369;
    font-weight: 600;
}

.room-info p {
    font-size: 14px;
    color: #cfcfcf;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.5em;
    line-height: 1.5em;
}

/* ---- ROOM POPUP OVERLAY ---- */
.room-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    z-index: 1200;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.room-popup-content {
    background: #1c1c1c;
    border-radius: 12px;
    padding: 18px;
    width: 100%;
    max-width: 900px;
    color: #fff;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.room-popup-content img {
    width: 50%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 8px;
}

.room-popup-right {
    width: 50%;
    padding: 8px 12px;
    text-align: left;
}

.room-popup-right h3 {
    color: #ffd369;
    margin-top: 0;
}

.room-popup-right p {
    color: #ccc;
    line-height: 1.45;
}

.room-popup-content .close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #fff;
    cursor: pointer;
}

.btn-booknow {
    background: linear-gradient(135deg, #ff7a00, #ff4d00);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-booknow:hover {
    filter: brightness(0.95);
}

/* responsive adjustments for popup */
@media (max-width: 900px) {
    .room-popup-content {
        flex-direction: column;
        max-width: 700px;
    }

    .room-popup-content img,
    .room-popup-right {
        width: 100%;
    }

    .room-popup-content img {
        max-height: 360px;
    }
}

/* grid responsive */
@media (max-width: 992px) {
    .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.prefooter {
    background-image: url('images/snap4.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 70vh;
    margin-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Testimonial Card Styling */
.testimonial-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 40px 60px;
    border-radius: 15px;
    text-align: center;
    max-width: 800px;
    margin: auto;
    transform: scale(0.95);
    transition: all 0.6s ease-in-out;
    opacity: 0;
}

/* Active slide zoom-in effect */
.carousel-item.active .testimonial-card {
    transform: scale(1);
    opacity: 1;
}

.carousel-item {
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
}


.testimonial-title {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #4a4a4a;
}

.testimonial-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: bold;
    letter-spacing: 1px;
    color: #555;
}

.carousel-indicators [data-bs-target] {
    background-color: #ffffff;
}

.carousel-indicators .active {
    background-color: #007b7f;
}

.map-container {
    position: relative;
    width: 100%;
    padding: 10px;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    /* You can increase if needed */
    border: 0;
    border-radius: 10px;
    /* Optional rounded corners */
    object-fit: cover;
}

@media (min-width: 768px) {
    .map-container iframe {
        height: 450px;
        /* Larger height for big screens */
    }
}

.restaurant-modern-section {
    background: linear-gradient(to right, #fff 70%, #ff4d000d);
    padding-top: 80px;
    padding-bottom: 80px;
}

.restaurant-image-wrapper img {
    transition: transform 0.5s ease;
}

.restaurant-image-wrapper:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .restaurant-modern-section {
        background: #fff;
        text-align: center;
        padding: 50px 20px;
    }
}

.footer-modern {
    background: linear-gradient(135deg, #121212, #1f1f1f);
    border-top: 1px solid #2b2b2b;
}

footer a i {
    transition: transform 0.3s ease, color 0.3s ease;
}

footer a:hover i {
    transform: scale(1.2);
    color: #ff4d6d;
}

.social-icon {
    color: #ddd;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #d4af37;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .footer-modern {
        text-align: center;
    }

    .social-icon {
        margin-right: 10px;
    }
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Popup Box */
.popup-box {
    background: #ffffff;
    padding: 15px;
    border-radius: 15px;
    position: relative;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
    animation: popupScale 0.3s ease;
}

/* Popup Animation */
@keyframes popupScale {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #ff4d00;
}

/* Image inside popup */
.popup-image {
    width: 100%;
    border-radius: 12px;
}