/* =========================================
   HORIZONTAL SCROLL ROOM SECTION
   ========================================= */

/* Section Wrapper - Desktop Only */
.horizontal-rooms-section {
    position: relative;
    height: 400vh;
    /* 🎯 Desktop: Creates scroll range for horizontal animation */
    background: #0f0f0f;
}

/* Sticky Container */
.horizontal-sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Horizontal Track */
.horizontal-track {
    display: flex;
    gap: 80px;
    padding: 0 10vw;
    transition: transform 0.1s linear;
    will-change: transform;
}

/* Room Card */
.room-card-horizontal {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 70vw;
    flex-shrink: 0;
    position: relative;
}

/* Card Image Section */
.room-card-image {
    width: 50%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.room-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-card-horizontal:hover .room-card-image img {
    transform: scale(1.08);
}

/* Card Content Section */
.room-card-content {
    width: 50%;
    background: rgba(34, 29, 16, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(170, 132, 83, 0.15);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.room-card-horizontal:hover .room-card-content {
    background: rgba(34, 29, 16, 0.92);
    border-color: rgba(170, 132, 83, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

/* Category Label */
.room-category {
    color: #AA8453;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Gilda Display', serif;
    margin-bottom: 16px;
    display: block;
}

/* Room Title */
.room-title {
    font-family: 'Gilda Display', serif;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Room Description */
.room-description {
    font-family: 'Gilda Display', serif;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

/* Room Features List */
.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 35px;
}

.room-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Gilda Display', serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.room-feature-item i {
    font-size: 18px;
    color: #AA8453;
}

/* Price and CTA Section */
.room-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.room-price-box {
    display: flex;
    flex-direction: column;
}

.room-price-label {
    font-family: 'Gilda Display', serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 6px;
}

.room-price {
    font-family: 'Gilda Display', serif;
    font-size: 32px;
    font-weight: 400;
    color: #D4AF37;
}

.room-price-period {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
}

/* CTA Button */
.room-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: transparent;
    border: 2px solid #AA8453;
    color: #AA8453;
    font-family: 'Gilda Display', serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.room-cta-btn:hover {
    background: linear-gradient(135deg, #AA8453 0%, #D4AF37 100%);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(170, 132, 83, 0.4);
}

.room-cta-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.room-cta-btn:hover i {
    transform: translateX(4px);
}

/* Section Header */
.horizontal-section-header {
    text-align: center;
    padding: 100px 20px 60px;
    background: #0f0f0f;
}

.horizontal-section-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.horizontal-section-label img {
    width: 30px;
    height: auto;
}

.horizontal-section-label span {
    color: #AA8453;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: 'Gilda Display', serif;
}

.horizontal-section-title {
    font-family: 'Gilda Display', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    color: #ffffff;
    margin: 0;
}

/* =========================================
   MOBILE RESPONSIVE
   ========================================= */

@media (max-width: 767px) {

    /* Disable horizontal scroll on mobile */
    .horizontal-rooms-section {
        height: auto !important;
        padding: 40px 0;
        /* Reduced from 60px */
    }

    .horizontal-sticky-container {
        position: relative !important;
        height: auto !important;
        overflow: visible !important;
    }

    .horizontal-track {
        flex-direction: column;
        gap: 30px;
        /* Reduced from 40px */
        padding: 0 15px;
        /* Reduced from 20px */
        transform: none !important;
    }

    .room-card-horizontal {
        flex-direction: column;
        width: 100%;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .room-card-image {
        width: 100%;
        height: 240px;
        /* Reduced significantly from 350px */
        border-radius: 12px 12px 0 0;
    }

    /* Fix for Family Room (Category 3) Image Alignment */
    .room-card-horizontal:nth-child(3) .room-card-image img {
        object-position: center bottom !important;
    }

    .room-card-content {
        width: 100%;
        padding: 25px 20px;
        /* Reduced from 35px 25px */
        border-radius: 0 0 12px 12px;
    }

    .horizontal-section-title {
        font-size: 1.80rem;
        /* Reduced from clamp starting at 2rem */
        line-height: 1.2;
    }

    .room-category {
        font-size: 9px;
        /* Reduced from 10px */
        margin-bottom: 10px;
        /* Tighter */
    }

    .room-title {
        font-size: 1.35rem;
        /* Slightly smaller from 1.4rem */
        margin-bottom: 12px;
        /* Tighter */
    }

    .room-description {
        font-size: 12.5px;
        /* Reduced from 13px */
        margin-bottom: 20px;
        /* Tighter from 25px */
        line-height: 1.5;
    }

    .room-features {
        gap: 10px;
        /* Tighter from 12px */
        margin-bottom: 20px;
        /* Tighter from 25px */
    }

    .room-feature-item {
        font-size: 11.5px;
        /* Reduced from 13px */
    }

    .room-feature-item i {
        font-size: 15px;
        /* Smaller icons */
    }

    .room-footer {
        flex-direction: row;
        flex-wrap: nowrap;
        /* Enforce same line */
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        /* Tighter gap */
        padding-top: 15px;
    }

    .room-price-box {
        display: flex;
        flex-direction: column;
        flex-shrink: 0;
        /* Don't shrink price */
    }

    .room-price-label {
        font-size: 8px;
        /* Smaller label */
        margin-bottom: 2px;
    }

    .room-price {
        font-size: 20px;
        /* Slightly smaller price for same-line fit */
    }

    .room-price-period {
        font-size: 11px;
    }

    .room-cta-btn {
        width: auto;
        padding: 8px 16px;
        /* Optimized padding for same-line */
        font-size: 9.5px;
        /* Slightly smaller font */
        white-space: nowrap;
        /* Don't wrap button text */
        flex-shrink: 0;
    }

    .horizontal-section-header {
        padding: 40px 20px 30px;
        /* More compact header */
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1199px) {
    .horizontal-track {
        gap: 60px;
        padding: 0 6vw;
    }

    .room-card-horizontal {
        width: 80vw;
        gap: 40px;
    }

    .room-card-content {
        padding: 40px;
    }

    .room-card-image {
        height: 450px;
    }
}

/* Large Desktop */
@media (min-width: 1600px) {
    .horizontal-track {
        gap: 100px;
    }

    .room-card-horizontal {
        width: 65vw;
    }

    .room-card-image {
        height: 550px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .horizontal-track {
        transition: none !important;
    }

    .room-card-image img,
    .room-card-content,
    .room-cta-btn {
        transition: none !important;
    }
}