:root {
    --brand-gold: #8b6b4a;
    --brand-dark: #2c2c2c;
    --text-body: #4a4a4a;
}

body {
    background-color: #f9f9f9;
    font-family: 'Segoe UI', sans-serif;
    color: var(--text-body);
    padding-bottom: 80px;
}

/* --- STICKY TOP NAV --- */
.brand-header {
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: box-shadow 0.3s ease;
}

.brand-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.brand-logo {
    font-size: 1.5rem;
    letter-spacing: 3px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--brand-dark);
    margin: 0;
}

/* --- LAYOUT WRAPPER --- */
.main-content-wrapper {
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
    max-width: 1400px;
}

@media (min-width: 1200px) {
    .main-content-wrapper {
        width: 70%;
    }
}

/* --- SEARCH BAR --- */
.search-bar-container {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.02);
}

/* --- ROOM CARDS --- */
.room-card {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.room-img {
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    width: 100%;
}

.room-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.amenity-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #fcfcfc;
    border: 1px solid #eee;
    color: #666;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-right: 6px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-tag {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--brand-dark);
    letter-spacing: -0.5px;
}

.btn-gold {
    background-color: var(--brand-gold);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: 0.2s;
}

.btn-gold:hover {
    background-color: #73563a;
    color: white;
}

.btn-outline-dark {
    border-color: #ddd;
    color: var(--brand-dark);
}

.btn-outline-dark:hover {
    background: #f8f8f8;
    border-color: #ccc;
    color: black;
}

/* --- MOBILE BOOKING FOOTER --- */
.mobile-booking-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 12px 20px;
    border-top: 1px solid #eee;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    z-index: 1030;
    display: none;
    align-items: center;
    justify-content: space-between;
}

.booking-summary-text {
    font-size: 0.9rem;
    line-height: 1.2;
}

.booking-summary-text strong {
    display: block;
    color: var(--brand-dark);
    font-size: 1rem;
}

.booking-summary-text small {
    color: #888;
}

/* --- RESPONSIVE --- */
@media (max-width: 991.98px) {
    .mobile-booking-footer {
        display: flex;
    }

    .desktop-filters {
        display: none;
    }

    .search-bar-container {
        display: none;
    }

    .room-img {
        height: 220px;
    }

    .brand-header {
        text-align: left;
        padding-left: 20px;
    }

    .price-section {
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid #f5f5f5;
    }

    body {
        padding-bottom: 90px;
    }
}

.floating-call-btn {
    position: fixed;
    bottom: 70px;
    right: 20px;
    background-color: #d4af37;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-call-btn:hover {
    background-color: #128c7e;
    transform: scale(1.05);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 480px) {
    .floating-call-btn .text {
        display: none;
    }

    .floating-call-btn {
        padding: 15px;
        border-radius: 50%;
    }
}

.property-gallery-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #f0f0f0;
}

.gallery-img-main {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    will-change: transform;
    transform: translateZ(0);
}

.property-gallery-wrapper:hover .gallery-img-main {
    transform: scale(1.08);
}

.gallery-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    pointer-events: none;
}

.category-banner {
    background-color: #fdfaf5;
    color: #8b6b4a;
    border: 1px solid #8b6b4a;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 2px;
    display: inline-block;
}

@media (min-width: 768px) {
    .room-details {
        padding-left: 1.5rem;
    }
}

/* --- DESKTOP FILTER STYLES --- */
.tracking-wider { letter-spacing: 0.05em; }
.custom-checkbox .form-check-input {
    border-color: #d1d5db;
    cursor: pointer;
    width: 1.1em;
    height: 1.1em;
    margin-top: 0.15em;
}
.custom-checkbox .form-check-input:checked {
    background-color: #D4AF37;
    border-color: #D4AF37;
}
.custom-checkbox .form-check-label {
    cursor: pointer;
    transition: color 0.2s;
}
.custom-checkbox .form-check-label:hover {
    color: #000 !important;
}
.filter-card .card {
    border-radius: 1rem !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.filter-card .card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08) !important;
}
.custom-range::-webkit-slider-thumb {
    background: #D4AF37;
}
.custom-range::-moz-range-thumb {
    background: #D4AF37;
}
.custom-range::-ms-thumb {
    background: #D4AF37;
}

/* --- OVERRIDE PLACEHOLDER (WATERMARK) STYLES --- */
.form-control::placeholder,
.form-select::placeholder {
    font-weight: 400 !important;
    opacity: 0.6 !important;
    color: #6c757d !important;
}
