/* ══════════════════════════════════════════
   RATES & AVAILABILITY - LUXURY DESIGN
   ══════════════════════════════════════════ */

:root {
    --gold: #d4af37;
    --dark-green: #0a1f11;
    --mint-bg: #f3f9f6;
    --teal-primary: #1ba0a0;
    --text-dark: #1a1a1a;
    --text-muted: #5a6b61;
    --glass-white: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --luxury-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

body.rates-page {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: #ffffff;
}

/* ═════ 1. HERO SECTION ═════ */
.rates-hero {
    height: 70vh;
    min-height: 500px;
    background: url('../img/rates-bg.jpg') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.rates-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 31, 17, 0.3), rgba(10, 31, 17, 0.6));
}

.rates-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.rates-hero-title {
    background: var(--glass-white);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 40px 60px;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    color: var(--dark-green);
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 3rem;
    letter-spacing: 2px;
    margin: 0;
    line-height: 1.3;
}

/* ═════ 2. PROPERTIES GRID ═════ */
.properties-section {
    padding: 100px 0;
    background: var(--mint-bg);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.property-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--luxury-shadow);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 35px 65px rgba(0, 0, 0, 0.12);
}

.property-card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 4px solid var(--gold);
    transition: transform 0.6s ease;
}

.property-card:hover .property-card-img {
    transform: scale(1.05);
}

.card-img-wrapper {
    overflow: hidden;
}

.property-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.property-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark-green);
    letter-spacing: 0.5px;
}

.property-loc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: auto;
    font-weight: 300;
}

.card-footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.property-guests {
    font-size: 0.9rem;
    color: var(--dark-green);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.stars {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 2px;
}

/* ═════ 3. INTRO CONTENT  ═════ */
.rates-intro {
    padding: 120px 20px;
    text-align: center;
    background: #ffffff;
}

.intro-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.intro-main-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 3.2rem;
    color: var(--dark-green);
    margin-bottom: 25px;
    line-height: 1.2;
}

.intro-main-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 30px auto 40px;
}

.intro-subtitle {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 40px;
}

.intro-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 20px;
}

.intro-highlight {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.6rem;
    color: var(--dark-green);
    margin-top: 60px;
    line-height: 1.6;
    padding: 40px;
    background: var(--mint-bg);
    border-radius: 12px;
    border-left: 6px solid var(--gold);
}

/* ═════ 4. SLIDER / CAROUSEL ═════ */
.slider-section {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.main-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    border: 8px solid #ffffff;
    height: 600px;
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.8s ease, transform 3s ease;
    z-index: 1;
}

.slider-img.active {
    opacity: 1;
    z-index: 2;
}

.main-slider:hover .slider-img.active {
    transform: scale(1.03);
}

.slider-btn {
    position: absolute;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--glass-white);
    color: var(--dark-green);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.slider-btn-left {
    left: 20px;
}

.slider-btn-right {
    right: 20px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    background: #b0b0b0;
}

.slider-dot.active {
    background: var(--gold);
    transform: scale(1.3);
}

/* ═════ 5. VILLA DETAILS ═════ */
.villa-details-section {
    max-width: 1000px;
    margin: 0 auto 120px;
    padding: 0 20px;
}

.detail-block {
    background: #ffffff;
    padding: 50px 60px;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: var(--luxury-shadow);
    border-left: 4px solid transparent;
    transition: all 0.4s ease;
}

.detail-block:hover {
    border-left-color: var(--gold);
    transform: translateX(10px);
}

.detail-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-green);
}

.detail-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-muted);
}

/* ═════ ANIMATIONS ═════ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ═════ RESPONSIVE ═════ */
@media (max-width: 1100px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .main-slider {
        height: 450px;
    }

    .rates-hero-title {
        font-size: 2.2rem;
        padding: 30px 40px;
    }

    .intro-main-title {
        font-size: 2.6rem;
    }
}

@media (max-width: 768px) {
    .properties-grid {
        grid-template-columns: 1fr;
    }

    .rates-hero {
        height: 50vh;
        min-height: 400px;
    }

    .rates-hero-title {
        font-size: 1.8rem;
        padding: 20px;
    }

    .intro-main-title {
        font-size: 2rem;
    }

    .intro-highlight {
        font-size: 1.2rem;
        padding: 25px;
    }

    .main-slider {
        height: 350px;
    }

    .detail-block {
        padding: 30px 20px;
    }
}