/* ===========================
   CSS VARIABLES
   =========================== */
   :root {
    --primary: #081c34;
    --primary-hover: #0a2a55;
    --primary-light: #e8eef5;
    --gold: #d4af37;
}

/* ===========================
   ROOMS HERO - SAME AS SERVICES
   =========================== */
#rooms-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.5) 100%), url('../images/rooms/hero-rooms.jpg') center/cover no-repeat;
    height: 85vh;
    position: relative;
    color: white;
    overflow: hidden;
}

#rooms-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

/* Animated Shapes */
.animated-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -100px;
    animation-delay: 5s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(50px, -50px) scale(1.1);
        opacity: 0.6;
    }
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 14px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulse 2s infinite;
}

.hero-badge i {
    color: #ffd700;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Hero Title */
.hero-title {
    font-size: 4.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero-subtitle {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    animation: bounce 2s infinite;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===========================
   ROOMS INTRO SECTION
   =========================== */
.rooms-intro {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Room Highlights */
.room-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.highlight-text h6 {
    color: var(--primary);
    font-weight: 700;
}

/* Time Card */
.intro-time-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-light);
}

.time-card-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.time-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.time-item i {
    font-size: 3rem;
    color: var(--primary);
}

.time-item h5 {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 5px;
    font-weight: 600;
}

.time-item p {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.time-divider {
    width: 2px;
    height: 60px;
    background: var(--primary-light);
}

.time-card-note {
    background: var(--primary-light);
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #495057;
    display: flex;
    align-items: center;
}

.time-card-note i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* ===========================
   SECTION BADGE
   =========================== */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid rgba(8, 28, 52, 0.1);
}

/* ===========================
   FEATURED ROOMS SECTION
   =========================== */
.featured-rooms {
    background: #ffffff;
    position: relative;
}

.room-showcase {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.room-showcase:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(8, 28, 52, 0.15);
}

/* Room Image Gallery */
.room-image-gallery {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.main-room-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.main-room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-showcase:hover .main-room-image img {
    transform: scale(1.1);
}

.room-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    z-index: 2;
}

.suite-badge {
    background: linear-gradient(135deg, var(--gold), #f4d03f);
}

/* Room Details */
.room-details {
    padding: 50px;
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-light);
}

.room-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
}

.room-price {
    text-align: right;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.price-period {
    font-size: 1rem;
    color: #6c757d;
}

.room-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 30px;
}

/* Room Features */
.room-features {
    background: var(--primary-light);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.room-features h6 {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.feature-item-small {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #495057;
}

.feature-item-small i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Room Actions */
.room-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.room-actions .btn {
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.room-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(8, 28, 52, 0.2);
}

/* ===========================
   AMENITIES SECTION
   =========================== */
.amenities-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.amenity-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.amenity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(8, 28, 52, 0.15);
    border-color: var(--primary);
}

.amenity-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.amenity-card:hover .amenity-icon {
    background: var(--primary);
    transform: rotate(360deg);
}

.amenity-icon i {
    font-size: 2rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.amenity-card:hover .amenity-icon i {
    color: white;
}

.amenity-card h6 {
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 700;
}

.amenity-card p {
    color: #6c757d;
}

/* ===========================
   HOTEL FACILITIES
   =========================== */
.hotel-facilities {
    background: #ffffff;
}

.facility-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(8, 28, 52, 0.2);
}

.facility-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.facility-card:hover .facility-image img {
    transform: scale(1.15);
}

.facility-content {
    padding: 30px;
    text-align: center;
}

.facility-content i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.facility-content h5 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.facility-content p {
    color: #6c757d;
    margin: 0;
}

/* ===========================
   CTA SECTION
   =========================== */
.rooms-cta {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.cta-card {
    position: relative;
    background: var(--primary);
    border-radius: 30px;
    padding: 60px 50px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(8, 28, 52, 0.3);
}

.cta-card .btn-light {
    background: white;
    color: var(--primary);
    border: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-card .btn-light:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: var(--primary-light);
    color: var(--primary-hover);
}

.cta-card .btn-outline-light {
    border: 2px solid white;
    color: white;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-card .btn-outline-light:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

/* CTA Decoration */
.cta-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 15s infinite ease-in-out;
}

.cta-circle-1 {
    width: 250px;
    height: 250px;
    top: -125px;
    right: -100px;
    animation-delay: 0s;
}

.cta-circle-2 {
    width: 180px;
    height: 180px;
    bottom: -90px;
    left: -50px;
    animation-delay: 5s;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .room-title {
        font-size: 2rem;
    }

    .price-amount {
        font-size: 2rem;
    }

    .room-details {
        padding: 40px 30px;
    }

    .room-image-gallery {
        min-height: 400px;
    }

    .time-card-content {
        flex-direction: column;
        gap: 20px;
    }

    .time-divider {
        width: 100%;
        height: 2px;
    }
}

@media (max-width: 768px) {
    #rooms-hero {
        height: 70vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }

    .room-showcase {
        margin-bottom: 30px;
    }

    .room-image-gallery {
        min-height: 300px;
    }

    .room-details {
        padding: 30px 20px;
    }

    .room-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .room-price {
        text-align: left;
    }

    .room-title {
        font-size: 1.8rem;
    }

    .price-amount {
        font-size: 1.8rem;
    }

    .room-actions {
        flex-direction: column;
    }

    .room-actions .btn {
        width: 100%;
    }

    .intro-time-card {
        padding: 30px 20px;
    }

    .time-item {
        flex-direction: column;
        text-align: center;
    }

    .facility-image {
        height: 200px;
    }

    .cta-card {
        padding: 40px 30px;
    }

    .cta-card .btn-lg {
        padding: 12px 30px !important;
        font-size: 1rem;
        width: 100%;
    }
}

@media (max-width: 576px) {
    #rooms-hero {
        height: 60vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .section-badge {
        font-size: 12px;
        padding: 8px 16px;
    }

    .room-title {
        font-size: 1.5rem;
    }

    .price-amount {
        font-size: 1.5rem;
    }

    .room-image-gallery {
        min-height: 250px;
    }

    .time-item i {
        font-size: 2rem;
    }

    .time-item p {
        font-size: 1.2rem;
    }

    .facility-image {
        height: 180px;
    }
}

/* ===========================
   CUSTOM SCROLLBAR
   =========================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}