:root {
    --booking-blue: #003580;
    --booking-light-blue: #006ce4;
    --booking-yellow: #f5a623;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --teal: #2ec1ac;
    --teal-hover: #279e8c;
}

/* Common Utils */
.h-line {
    width: 150px;
    margin: 0 auto;
    height: 1.7px;
}

/* Hover Effects */
.pop {
    transition: all 0.3s;
    border-top: 4px solid transparent !important;
}

.pop:hover {
    border-top-color: var(--teal) !important;
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Custom Buttons */
.btn-teal {
    background-color: #06a896;
    border: 1px solid #09f2d8;
    color: white;
    transition: all 0.3s;
}

.btn-teal:hover {
    background-color: #048274;
    border: 1px solid #08f4da;
    color: white;
    font-weight: 600;
}

.btn-blue {
    background-color: #0066d1;
    border: 1px solid #57bbf9;
    color: white;
    transition: all 0.3s;
}

.btn-blue:hover {
    background-color: #053c9a;
    border: 1px solid #05619a;
    color: white;
    font-weight: 600;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: #f2f6f8;
    color: #333;
    line-height: 1.5;
}

/* Navbar & Mobile Overlay */
.navbar {
    background-color: white !important;
    z-index: 1050;
}

.navbar-brand {
    font-size: 1.5rem !important;
    font-weight: 700;
}

/* Ensure toggler stays above the overlay */
.navbar-toggler {
    position: relative;
    z-index: 2000;
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Full screen mobile menu overlay */
@media screen and (max-width: 991px) {
    #navbarSupportedContent.show {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        z-index: 1500;
        animation: menuFadeIn 0.3s ease-out forwards;
    }
    
    @keyframes menuFadeIn {
        from {
            opacity: 0;
            transform: scale(0.95);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }
    
    #navbarSupportedContent ul {
        text-align: center;
        width: 100%;
    }
    
    #navbarSupportedContent .nav-item {
        margin: 15px 0;
    }
    
    #navbarSupportedContent .nav-link {
        font-size: 1.3rem;
        color: #333;
        font-weight: 600;
    }
    
    #navbarSupportedContent .d-flex {
        flex-direction: column;
        margin-top: 20px;
    }
    
    #navbarSupportedContent .btn {
        margin: 10px 0 !important;
        width: 200px;
        font-size: 1.1rem;
    }
}

/* Modal Styles */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.modal-header {
    background-color: #2c2c2c;
    color: white;
    border-bottom: none;
    padding: 1.5rem;
}

.modal-title {
    font-weight: bold;
}

.modal-body {
    padding: 2rem;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

@media (min-width: 576px) {
    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem);
    }
}

/* Form & Inputs */
.form-label {
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-control {
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: var(--booking-light-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 108, 228, 0.1);
}

.btn-dark {
    background-color: #2c2c2c;
    border-color: #2c2c2c;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 500;
}

.btn-dark:hover {
    background-color: #000;
    border-color: #000;
}

/* Alert Styles (Fixed "weird" boxes) */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.alert-danger {
    background-color: #ffe5e5;
    color: #d63031;
    border-left: 4px solid #d63031;
}

.alert-success {
    background-color: #e3f9e5;
    color: #27ae60;
    border-left: 4px solid #27ae60;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.main {
    min-height: calc(100vh - 140px);
    padding: 32px 16px;
}

.auth-container {
    background-color: white;
    width: 100%;
    max-width: 450px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.footer {
    background-color: #f5f5f5;
    padding: 16px 0;
    text-align: center;
    color: #777;
    font-size: 14px;
    margin-top: 32px;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-top: 5px solid var(--teal);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-top-color: var(--teal-hover);
}

.testimonial-card .profile-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f8f9fa;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.testimonial-card .quote-icon {
    font-size: 5rem;
    color: rgba(46, 193, 172, 0.1); /* Teal with low opacity */
    position: absolute;
    top: -10px;
    right: 10px;
    line-height: 1;
    font-family: serif;
    pointer-events: none;
}

.testimonial-card .user-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0;
    color: #333;
}

.testimonial-card .user-role {
    font-size: 0.85rem;
    color: #777;
    font-weight: 500;
}

.testimonial-card .rating {
    color: var(--warning);
    font-size: 0.9rem;
}

/* Room Cards */
.room-card-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

/* Availability Form */
.availability-form {
    margin-top: -50px;
    z-index: 2;
    position: relative;
}

@media screen and (max-width: 575px) {
    .availability-form {
        margin-top: 25px;
        padding: 0 35px;
    }
}
