/* =====================================================
   ROOMS PAGE STYLES
   ===================================================== */

/* =====================================================
   ROOMS HERO SECTION
   ===================================================== */

.rooms-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(5,5,5,0.98) 0%,
            rgba(5,5,5,0.88) 38%,
            rgba(5,5,5,0.50) 70%,
            rgba(5,5,5,0.72) 100%
        ),
        url("../assets/img/hotel_bleu_pearl_double_dwn_0011.jpeg")
        center / cover no-repeat;
}

/* Golden Glow */
.rooms-hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -220px;
    top: 50%;
    transform: translateY(-50%);
    background: radial-gradient(
        circle,
        rgba(255,219,152,0.32) 0%,
        rgba(255,219,152,0.16) 22%,
        rgba(255,219,152,0.07) 45%,
        transparent 72%
    );
    filter: blur(25px);
    pointer-events: none;
    z-index: 1;
}

/* Decorative Gold Line */
.gold-line {
    position: absolute;
    left: 6%;
    top: 12%;
    width: 1px;
    height: 76%;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--gold),
        transparent
    );
    opacity: 0.45;
}

/* Content */
.rooms-container {
    position: relative;
    z-index: 3;
    width: min(1200px, 88%);
    margin: auto;
    padding: 100px 0;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 25px;
    animation: fadeUp 1s ease forwards;
}

.eyebrow span {
    display: block;
    width: 45px;
    height: 1px;
    background: var(--gold);
}

.rooms-hero h1 {
    max-width: 760px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(58px, 7vw, 110px);
    line-height: 0.88;
    font-weight: 400;
    letter-spacing: -2px;
    color: var(--text-inverse);
    margin-bottom: 35px;
    animation: fadeUp 1s ease 0.15s both;
}

.rooms-hero h1 strong {
    color: var(--gold-light);
    font-weight: 400;
    font-style: italic;
}

.intro {
    max-width: 680px;
    font-size: 15px;
    line-height: 1.9;
    color: rgba(244, 239, 229, 0.8);
    font-weight: 300;
    margin-bottom: 45px;
    animation: fadeUp 1s ease 0.3s both;
}

/* Room Features Preview */
.room-features-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 45px;
    animation: fadeUp 1s ease 0.45s both;
}

.feature-icon {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-inverse);
    font-size: 13px;
    font-weight: 300;
}

.feature-icon span {
    font-size: 1.5rem;
}

/* CTA */
.cta {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 25px;
    color: var(--text-inverse);
    font-size: 11px;
    letter-spacing: 3px;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.4s ease;
    animation: fadeUp 1s ease 0.6s both;
}

.cta-line {
    width: 65px;
    height: 1px;
    background: var(--gold);
    transition: 0.4s ease;
}

.cta:hover {
    color: var(--gold-light);
}

.cta:hover .cta-line {
    width: 100px;
}

/* Side Label */
.side-label {
    position: absolute;
    right: 45px;
    bottom: 55px;
    z-index: 4;
    writing-mode: vertical-rl;
    font-size: 9px;
    letter-spacing: 5px;
    color: rgba(244,239,229,0.55);
    text-transform: uppercase;
}

/* Scroll Indicator */
.scroll {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(244,239,229,0.55);
    font-size: 8px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 45px;
    background: linear-gradient(
        to bottom,
        var(--gold),
        transparent
    );
    animation: scrollPulse 2s infinite;
}

/* =====================================================
   ROOM TYPES SECTION
   ===================================================== */

.room-types {
    background-color: var(--bg);
    padding: 100px 2rem;
}

.room-types-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .eyebrow {
    justify-content: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(45px, 5vw, 65px);
    color: var(--text);
    font-weight: 400;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 300;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.room-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}

.room-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.room-card.featured {
    border-color: var(--gold);
    box-shadow: 0 0 30px var(--border);
}

.room-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.room-card:hover .room-image img {
    transform: scale(1.1);
}

.room-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gold);
    color: var(--bg);
    padding: 0.5rem 1rem;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 3px;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold);
    color: var(--bg);
    padding: 0.5rem 1rem;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 3px;
}

.room-content {
    padding: 2rem;
}

.room-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 1rem;
    font-weight: 400;
}

.room-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 14px;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.room-amenities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.amenity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 12px;
}

.amenity span {
    font-size: 1.2rem;
}

.room-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.price-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 300;
}

.price-amount {
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 400;
}

.price-nuit {
    color: var(--text-muted);
    font-size: 12px;
}

.room-cta {
    display: inline-block;
    background: var(--gold);
    color: var(--bg);
    padding: 1rem 2rem;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 3px;
    transition: background 0.3s;
}

.room-cta:hover {
    background: var(--gold-light);
}

/* =====================================================
   AMENITIES SECTION
   ===================================================== */

.amenities-section {
    background-color: var(--bg-soft);
    padding: 100px 2rem;
}

.amenities-container {
    max-width: 1200px;
    margin: 0 auto;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.amenity-card {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.amenity-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.amenity-card .amenity-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.amenity-card h3 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.amenity-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 14px;
    font-weight: 300;
}

/* =====================================================
   BOOKING CTA SECTION
   ===================================================== */

.booking-cta-section {
    background: linear-gradient(135deg, var(--bg), var(--bg-soft));
    padding: 80px 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

.booking-container {
    max-width: 600px;
    margin: 0 auto;
}

.booking-container h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 5vw, 55px);
    color: var(--text);
    margin-bottom: 1rem;
    font-weight: 400;
}

.booking-container p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 15px;
    font-weight: 300;
}

.booking-container .cta-button {
    background: var(--gold);
    color: var(--bg);
    padding: 1rem 3rem;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 3px;
}

.booking-container .cta-button:hover {
    background: var(--gold-light);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(0.7);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 1024px) {
    .rooms-container {
        width: 86%;
    }

    .gold-line {
        left: 4%;
    }

    .rooms-hero h1 {
        font-size: clamp(58px, 9vw, 85px);
        max-width: 650px;
    }

    .intro {
        max-width: 600px;
    }

    .room-features-preview {
        gap: 1.5rem;
    }

    .side-label {
        right: 25px;
    }

    .rooms-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 767px) {
    .rooms-hero {
        min-height: auto;
        background:
            linear-gradient(
                180deg,
                rgba(5,5,5,0.72) 0%,
                rgba(5,5,5,0.91) 55%,
                #050505 100%
            ),
            url("https://images.unsplash.com/photo-1566665797739-1674de7a421a?auto=format&fit=crop&w=1200&q=85")
            center / cover no-repeat;
    }

    .rooms-hero::after {
        width: 380px;
        height: 380px;
        right: -190px;
        top: 30%;
        opacity: 0.7;
    }

    .gold-line {
        display: none;
    }

    .rooms-container {
        width: 88%;
        padding: 100px 0 110px;
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: 3px;
        gap: 12px;
    }

    .eyebrow span {
        width: 30px;
    }

    .rooms-hero h1 {
        font-size: clamp(52px, 16vw, 75px);
        line-height: 0.91;
        letter-spacing: -1px;
        margin-bottom: 30px;
    }

    .intro {
        font-size: 13px;
        line-height: 1.85;
        margin-bottom: 35px;
    }

    .room-features-preview {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .feature-icon {
        font-size: 11px;
    }

    .cta {
        margin-top: 20px;
        font-size: 9px;
        letter-spacing: 2px;
    }

    .side-label {
        display: none;
    }

    .scroll {
        display: none;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
    }

    .room-amenities {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: clamp(35px, 8vw, 50px);
    }
}

@media (max-width: 380px) {
    .rooms-container {
        padding-top: 80px;
    }

    .rooms-hero h1 {
        font-size: 50px;
    }

    .intro {
        font-size: 12px;
    }

    .room-features-preview {
        grid-template-columns: 1fr;
    }
}