/* assets/css/style.css */

:root {
    /* Updated Palette */
    --gold: #C5A059; 
    --cream: #FDF9EE; /* The new warm background */
    --text-dark: #2C2C2C; /* Dark charcoal for premium readability */
    --white: #FFFFFF;
    --navy: #0F172A;
}

/* =========================================
   BASE STYLES & TYPOGRAPHY
   ========================================= */
body {
    font-family: 'Montserrat', sans-serif; 
    background-color: var(--cream);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    letter-spacing: 0.02rem;
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

/* =========================================
   NAVIGATION BAR
   ========================================= */
.navbar-custom {
    background: transparent;
    padding: 30px 0;
    transition: all 0.4s ease;
}

.navbar-scrolled {
    background: var(--cream) !important;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.navbar-custom .navbar-brand img {
    height: 80px;
    transition: height 0.3s ease;
}

.navbar-scrolled .navbar-brand img {
    height: 60px !important;
}

.navbar-custom .nav-link {
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus {
    color: var(--gold);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 90vh; /* Ensures banner is visible */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6)), 
                url('../images/building.jpg') center/cover no-repeat;
    padding: 0 20px;
}

.hero-title {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-tagline {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* =========================================
   BOOKING WIDGET
   ========================================= */
.booking-widget {
    background: #FFFFFF; 
    border-top: 4px solid var(--gold);
    padding: 40px;
    margin-top: -80px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    z-index: 10;
    position: relative;
    border-radius: 4px;
}

.booking-widget label {
    color: var(--text-dark);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 600;
}

.booking-widget .form-control, 
.booking-widget .form-select {
    background: #F4F4F4;
    border: none;
    border-bottom: 1px solid #ddd;
    color: var(--text-dark);
    border-radius: 0;
    padding: 12px;
    box-shadow: none;
}

.booking-widget .form-control:focus, 
.booking-widget .form-select:focus {
    border-bottom-color: var(--gold);
    background: #FFF;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-book-now {
    background-color: var(--gold);
    color: #000;
    font-weight: 600;
    border-radius: 0;
    padding: 12px 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    border: 2px solid var(--gold);
    transition: all 0.3s ease;
}

.btn-book-now:hover {
    background-color: transparent;
    color: var(--gold);
}

.btn-view-details {
    background-color: #e5c775 !important;
    color: #000 !important;
    border-radius: 0;
    padding: 8px 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-view-details:hover {
    background-color: var(--gold) !important;
}

/* =========================================
   CARDS & FEATURES
   ========================================= */
.feature-box {
    background: #F8F4ED;
    padding: 40px;
    border: 1px solid rgba(197, 160, 89, 0.1);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    color: var(--gold);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.room-card {
    background: var(--white);
    border: 1px solid #EAEAEA;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.room-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.amenity-card {
    position: relative;
    overflow: hidden;
    height: 300px;
    border-radius: 0;
    margin-bottom: 20px;
}

.amenity-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.amenity-card:hover img {
    transform: scale(1.08);
}

.amenity-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    text-align: center;
}

.amenity-overlay h5 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0;
}

/* =========================================
   RESPONSIVE MEDIA QUERIES (Mobile & Tablet)
   ========================================= */

/* Tablets & Small Laptops */
@media (max-width: 991.98px) {
    .navbar-custom {
        padding: 15px 0;
        background: var(--cream);
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        margin-top: 15px;
        border-radius: 4px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .booking-widget {
        margin-top: -40px;
        padding: 30px 20px;
    }
}

/* Mobile Devices */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* Reset the negative margin so it stacks normally on phones */
    .booking-widget {
        margin-top: 0;
        border-top: none;
        border-left: 4px solid var(--gold);
        padding: 25px 15px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }
    
    .booking-widget .row > div {
        margin-bottom: 15px;
    }
    
    .booking-widget .btn-book-now {
        width: 100%;
        margin-top: 10px;
    }

    .amenity-card {
        height: 250px;
    }
}

/* Small Phones */
@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: 70vh;
    }
    
    .navbar-brand img {
        height: 50px !important;
    }
}