:root {
    --primary-color: #8B0000;
    /* Dark Red */
    --secondary-color: #1a1a1a;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Utilities */
.text-danger {
    color: var(--primary-color) !important;
}

.bg-black {
    background-color: #000 !important;
}

.btn-danger {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: var(--transition);
}

.btn-danger:hover {
    background-color: #660000;
    border-color: #660000;
}

.hover-danger:hover {
    color: var(--primary-color) !important;
    transition: var(--transition);
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--primary-color);
    margin: 15px 0;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(to right, #8B0000, #000000);
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
    .top-bar .container {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .top-bar small {
        font-size: 0.75rem;
        display: block;
        margin-bottom: 2px;
    }

    .top-bar .contact-info {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}

/* Navbar */
.navbar {
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    padding-top: 20px;
    padding-bottom: 20px;
}

.overlay-navbar {
    margin-bottom: -106px;
    /* Pulls content up */
    z-index: 1020;
}

.navbar.bg-dark {
    background-color: rgba(0, 0, 0, 0.95) !important;
    border-bottom: 2px solid var(--primary-color);
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar-brand img {
    height: 50px;
    /* Assuming logo is rectangular, adjust if needed */
    object-fit: contain;
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 10px 15px !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Slider */
.carousel-item {
    height: 100vh;
    min-height: 600px;
    background-color: #000;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    opacity: 0.7;
    /* Darken image slightly */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    bottom: 30%;
}

.carousel-caption h5 {
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: fadeInDown 1s ease-in-out;
}

.carousel-caption p {
    font-size: 1.5rem;
    animation: fadeInUp 1s ease-in-out;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services */
.service-card {
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.zoom-effect {
    transition: transform 0.5s ease;
}

.service-card:hover .zoom-effect {
    transform: scale(1.1);
}

/* Amenities */
.amenity-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    height: 100%;
}

.amenity-box:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.amenity-box:hover i {
    color: #fff !important;
}

/* Floating Elements */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 90px;
    /* Left of WhatsApp */
    width: 40px;
    height: 40px;
    border-radius: 5px;
    display: none;
    /* JS will show it */
    z-index: 1000;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 991px) {

    /* Navbar Styles for Mobile */
    .navbar {
        background-color: #000 !important;
        /* Force black background on mobile */
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .overlay-navbar {
        margin-bottom: 0 !important;
        /* Disable overlay effect on mobile */
    }

    .navbar-collapse {
        background-color: #000;
        padding: 15px;
        margin-top: 10px;
        border-radius: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nav .nav-link {
        padding-left: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: #fff !important;
        /* Ensure high contrast */
    }

    .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.5);
    }

    .btn-book-nav {
        margin-top: 15px;
        width: 100%;
    }
}

@media (max-width: 768px) {

    /* Typography */
    h1,
    .display-4,
    .font-playfair {
        font-size: 2.2rem !important;
        /* Smaller headings */
    }

    h2 {
        font-size: 1.8rem !important;
    }

    .lead {
        font-size: 1rem;
    }

    /* Hero Carousel */
    .carousel-caption {
        bottom: 20%;
        padding-bottom: 0;
    }

    .carousel-caption h5 {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem;
    }

    .carousel-caption p {
        font-size: 0.9rem !important;
        margin-bottom: 1rem;
    }

    .carousel-item {
        height: 60vh;
        /* Restore some height */
        min-height: 400px;
    }

    /* Navbar Mobile Tweaks */
    .navbar-brand img {
        height: 40px;
        /* Smaller logo on mobile */
    }

    .navbar.overlay-navbar {
        margin-bottom: -76px;
        /* Adjust for smaller header height */
    }

    /* Spacing */
    section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* Floating Buttons */
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float i {
        font-size: 1.5rem !important;
    }

    .back-to-top {
        bottom: 15px;
        right: 75px;
    }
}

/* Booking Modal */
.modal-header.bg-danger {
    background-color: var(--primary-color) !important;
}

.modal-content {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.input-group-text {
    background-color: transparent;
    border-right: none;
}

.input-group .form-control {
    border-left: none;
}

.input-group .form-control:focus,
.input-group-text {
    border-color: #dee2e6;
    box-shadow: none;
}

.input-group:focus-within .form-control,
.input-group:focus-within .input-group-text {
    border-color: var(--primary-color);
}