:root {
    --primary-gold: #d4af37;
    --secondary-gold: #c5a028;
    --dark-bg: #0a0a0a;
    --light-text: #f5f5f5;
    --gray-text: #a0a0a0;
    --card-bg: #1a1a1a;
    --navbar-height: 80px;
}

body {
    background-color: var(--dark-bg);
    color: var(--light-text);
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding-top: var(--navbar-height);
    font-size: 0.85rem; /* Even smaller base */
}

.navbar {
    padding: 20px 0;
    transition: all 0.3s ease;
    background-color: #000000 !important;
}

.navbar-shrink {
    padding: 10px 0;
    background-color: #000000 !important;
}

.navbar-brand img {
    height: 80px;
    width: auto;
}

.search-box .form-select,
.search-box .form-control {
    font-size: 0.8rem;
    padding: 10px 12px;
}

.custom-dropdown-item {
    transition: all 0.2s ease;
    font-size: 0.8rem;
}

.custom-dropdown-item:hover {
    background-color: #fff !important;
    color: #000 !important;
}

.nav-link {
    color: var(--light-text) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
    font-size: 1.1rem; /* Meniul acum este mai mare */
}

.nav-link:hover {
    color: var(--primary-gold) !important;
}

.btn-gold {
    background-color: var(--primary-gold);
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
    padding: 10px 24px;
    transition: all 0.3s ease;
    border: none;
}

.btn-gold:hover {
    background-color: var(--secondary-gold);
    transform: translateY(-2px);
    color: #fff;
}

.hero-section {
    height: calc(100vh - var(--navbar-height));
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.search-box {
    background: rgba(26, 26, 26, 0.9);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    max-width: 1000px;
    width: 90%;
}

.property-card {
    background: var(--card-bg);
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.property-img-container {
    position: relative;
    height: 250px;
}

.property-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-gold {
    background-color: var(--primary-gold);
    color: #fff;
    position: absolute;
    top: 15px;
    left: 15px;
}

.footer {
    background-color: #050505;
    padding: 80px 0 30px;
    margin-top: 80px;
    font-size: 0.91rem; /* Footer text larger (+10%) */
}

.footer-link {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 8px;
}

.footer-link:hover {
    color: var(--primary-gold);
}

.premium-border {
    border-left: 4px solid var(--primary-gold);
    padding-left: 20px;
}

.pagination .page-link {
    background-color: transparent;
    border-color: #333;
    color: #fff;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 8px !important;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.pagination .page-link:hover {
    background-color: var(--primary-gold);
    color: #000;
    border-color: var(--primary-gold);
}

.pagination .page-item.active .page-link {
    background-color: #fff;
    color: #000;
    border-color: #fff;
    font-weight: bold;
}

.btn-room {
    border: 1px solid #333;
    background: transparent;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.8rem;
}

.btn-room:hover, .btn-room.active {
    background-color: var(--primary-gold) !important;
    color: #000 !important;
    border-color: var(--primary-gold) !important;
}

.sort-dropdown .btn {
    border: 1px solid #333;
    background: #000;
    color: #fff;
    font-size: 0.8rem;
}

@media (max-width: 991px) {
    .navbar {
        height: auto;
        padding: 15px 0;
    }
    body {
        padding-top: 70px;
        font-size: 0.8rem;
    }
}

/* Specific Page Overrides if needed */
.listing-page {
    font-size: 0.8rem;
}

.details-page {
    font-size: 0.75rem; /* Textul din detalii acum este mai mic */
}

.details-page h2 { 
    font-size: 1.05rem; /* Titlul principal redus cu 20% */
}

.details-page h4 { 
    font-size: 1rem; 
}

.details-page .lead { 
    font-size: 0.85rem; 
}

/* noUiSlider Custom Styles */
.noUi-connect {
    background: #000000 !important;
}

.noUi-horizontal {
    height: 4px !important;
    border: none !important;
    background: #333 !important;
}

.noUi-target {
    box-shadow: none !important;
}

.noUi-handle {
    width: 12px !important;
    height: 12px !important;
    right: -6px !important;
    top: -5px !important;
    background: var(--primary-gold) !important; /* Gold handles for better visibility on black bar */
    border: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

.noUi-handle:before, .noUi-handle:after {
    display: none !important;
}

/* Cookie Consent Banner */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 9999;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary-gold);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    display: none;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (min-width: 768px) {
    #cookie-banner {
        left: auto;
        width: 450px;
    }
}

#cookie-banner .btn {
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}
