:root {
    --booking-blue: #233957;
    --booking-action-blue: #233957;
    --booking-yellow: #febb02;
    --booking-light-blue: #233957;
    --text-dark: #1a1a1a;
    --text-grey: #474747;
    --bg-light: #f5f5f5;
    --white: #ffffff;
    --border-grey: #e7e7e7;
    --success-green: #008009;
}

body {
    font-family: 'BlinkMacSystemFont', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.5;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Navbar Redesign */
.navbar {
    background-color: var(--booking-blue) !important;
    padding: 12px 0;
}
.navbar-brand {
    color: var(--white) !important;
    font-size: 1.5rem;
    font-weight: 800;
}
.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px !important;
    border-radius: 4px;
}
.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}
.btn-book-now {
    background-color: var(--white);
    color: var(--booking-action-blue);
    font-weight: 600;
    border: 1px solid var(--white);
    padding: 8px 20px;
}
.btn-book-now:hover {
    background-color: var(--booking-light-blue);
    color: var(--booking-blue);
}

/* Hero & Search Widget */
.hero-section {
    background-color: var(--booking-blue);
    padding: 60px 0 120px 0;
    color: var(--white);
    text-align: left;
    height: auto;
    border-radius: 0;
}
.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}
.hero-section p {
    font-size: 1.5rem;
    opacity: 0.9;
}

.booking-widget {
    background-color: var(--booking-yellow);
    padding: 4px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin-top: -40px;
    border: none;
}
.search-container {
    background-color: var(--white);
    border-radius: 4px;
    padding: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.search-field {
    flex: 1;
    min-width: 200px;
    border: 2px solid transparent;
    padding: 10px 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

/* Responsiveness Improvements */
@media (max-width: 992px) {
    .search-container {
        flex-direction: column;
    }
    .search-field {
        width: 100%;
        border-bottom: 1px solid var(--border-grey);
    }
    .btn-search {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p {
        font-size: 1.1rem;
    }
    .calendar-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on small tablets */
    }
    .room-gallery img {
        height: 300px !important;
    }
}

@media (max-width: 576px) {
    .calendar-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    }
    .table-responsive {
        border: 0;
    }
    .table thead {
        display: none; /* Hide table headers on very small screens */
    }
    .table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid var(--border-grey);
        border-radius: 8px;
        padding: 10px;
    }
    .table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f0f0f0;
        padding: 8px 0;
        text-align: right;
    }
    .table td::before {
        content: attr(data-label);
        font-weight: bold;
        text-align: left;
        margin-right: 10px;
    }
    .table td:last-child {
        border-bottom: 0;
    }
}

.sticky-top {
    z-index: 1020;
}

.sticky-top-fixed {
    position: -webkit-sticky;
    position: sticky;
    top: 120px;
    align-self: flex-start;
    z-index: 1000;
}
.search-field i {
    color: var(--text-grey);
    margin-right: 10px;
}
.search-field input, .search-field select {
    border: none;
    width: 100%;
    font-weight: 500;
    outline: none;
}
.btn-search {
    background-color: var(--booking-action-blue);
    color: var(--white);
    font-weight: 600;
    padding: 12px 40px;
    border-radius: 4px;
    border: none;
}
.btn-search:hover {
    background-color: var(--booking-blue);
}

/* Room Cards - Booking.com style */
.room-card-modern {
    display: flex;
    border: 1px solid var(--border-grey);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    background: var(--white);
}
.room-img-container {
    width: 240px;
    min-width: 240px;
    height: 240px;
}
.room-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.room-details-container {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.room-title {
    color: var(--booking-action-blue);
    font-size: 1.25rem;
    margin-bottom: 4px;
    text-decoration: none;
}
.room-title:hover {
    text-decoration: underline;
    color: var(--booking-blue);
}
.room-amenities {
    font-size: 0.8rem;
    color: var(--success-green);
    font-weight: 700;
    margin-bottom: 8px;
}
.room-description {
    font-size: 0.85rem;
    color: var(--text-dark);
}

.price-section {
    padding: 16px;
    border-left: 1px solid var(--border-grey);
    text-align: right;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.price-label {
    font-size: 0.75rem;
    color: var(--text-grey);
}
.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}
.discount-badge {
    background-color: var(--success-green);
    color: var(--white);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 4px;
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
    .room-card-modern {
        flex-direction: column;
    }
    .room-img-container {
        width: 100%;
        height: 200px;
    }
    .price-section {
        border-left: none;
        border-top: 1px solid var(--border-grey);
        text-align: left;
        align-items: flex-start;
    }
}

/* Calendar Redesign */
.calendar-wrapper {
    background: var(--white);
    border: 1px solid var(--border-grey);
}
.calendar-day {
    border: 1px solid var(--border-grey);
    padding: 10px;
}
.calendar-day .date-price {
    color: var(--success-green);
}
