/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Room Hero Section */
.room-hero {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(rgba(26, 42, 68, 0.9), rgba(26, 42, 68, 0.9)), url('../assets/images/pic15.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.room-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.2), transparent);
    z-index: 0;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.room-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 32px;
    letter-spacing: 1.5px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn.primary {
    background: #d4af37;
    color: #fff;
    padding: 12px 24px;
    border-radius: 40px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn.primary:hover {
    background: #b8972e;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.5);
}

.btn.secondary {
    background: transparent;
    color: #fff;
    padding: 12px 24px;
    border: 2px solid #d4af37;
    border-radius: 40px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn.secondary:hover {
    background: #d4af37;
    color: #1a2a44;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.5);
}

/* Room Facilities Section */
.room-facilities {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #fff, #f8f9fa);
    text-align: center;
}

.room-facilities h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #1a2a44;
    margin-bottom: 60px;
    position: relative;
}

.room-facilities h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #d4af37;
    margin: 12px auto 0;
}

.facilities-toggle {
    max-width: 1200px;
    margin: 0 auto;
}

.toggle-switch {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.toggle-button {
    background: #1a2a44;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-button.active,
.toggle-button:hover {
    background: #d4af37;
    color: #1a2a44;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.facilities-content {
    position: relative;
}

.facility-pane {
    display: none;
}

.facility-pane.active {
    display: block;
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}

.facility-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.facility-card i {
    font-size: 24px;
    color: #d4af37;
    margin-bottom: 16px;
    /* margin-right: 20px; */
    transition: transform 0.3s ease;
}

.facility-card:hover i {
    transform: scale(1.2);
}

.facility-card span {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #1a2a44;
    font-weight: 500;
}

/* Room Gallery Section */
.room-gallery {
    padding: 80px 20px;
    background: #fff;
    text-align: center;
}

.room-gallery h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #1a2a44;
    margin-bottom: 60px;
    position: relative;
}

.room-gallery h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #d4af37;
    margin: 12px auto 0;
}

.gallery-slider {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.slider-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-item {
    flex: 0 0 100%;
    position: relative;
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

.slider-item.active {
    opacity: 1;
}

.slider-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 42, 68, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider-item:hover .slider-overlay {
    opacity: 1;
}

.slider-overlay i {
    font-size: 36px;
    color: #fff;
    transition: transform 0.3s ease;
}

.slider-item:hover .slider-overlay i {
    transform: scale(1.2);
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 42, 68, 0.7);
    color: #fff;
    border: none;
    padding: 12px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 20px;
    transition: background 0.3s, transform 0.3s;
}

.slider-control:hover {
    background: #d4af37;
    transform: translateY(-50%) scale(1.1);
}

.slider-control.prev {
    left: 16px;
}

.slider-control.next {
    right: 16px;
}

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

.slider-dot {
    width: 10px;
    height: 10px;
    background: #1a2a44;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.slider-dot.active,
.slider-dot:hover {
    background: #d4af37;
    transform: scale(1.3);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 85%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
}

.lightbox-close:hover {
    color: #d4af37;
    transform: scale(1.2);
}

.lightbox-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 42, 68, 0.7);
    color: #fff;
    border: none;
    padding: 12px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 20px;
    transition: background 0.3s, transform 0.3s;
}

.lightbox-control:hover {
    background: #d4af37;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-control.prev {
    left: 20px;
}

.lightbox-control.next {
    right: 20px;
}

/* Room Pricing Section */
.room-pricing {
    padding: 80px 20px;
    background: #f8f9fa;
    text-align: center;
}

.room-pricing h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #1a2a44;
    margin-bottom: 32px;
    position: relative;
}

.room-pricing h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #d4af37;
    margin: 12px auto 0;
}

.room-pricing p {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: #444;
    margin-bottom: 16px;
}

.room-pricing p span {
    font-size: 28px;
    font-weight: bold;
    color: #d4af37;
}

/* CTA Section */
.cta {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, #1a2a44, #0f1a2e);
    color: #fff;
}

.cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 32px;
}

.cta p {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* Animations */
.animate-section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.animate-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-reveal[data-delay] {
    transition-delay: var(--delay);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .room-hero h1,
    .cta h2 {
        font-size: 32px;
    }
    .room-facilities h2,
    .room-gallery h2,
    .room-pricing h2 {
        font-size: 28px;
    }
    .room-pricing p,
    .cta p {
        font-size: 16px;
    }
    .slider-item img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .room-hero {
        padding: 80px 20px;
    }
    .room-hero h1,
    .cta h2 {
        font-size: 28px;
    }
    .room-facilities h2,
    .room-gallery h2,
    .room-pricing h2 {
        font-size: 24px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .btn.primary,
    .btn.secondary {
        padding: 10px 20px;
        font-size: 14px;
    }
    .facility-card {
        padding: 16px;
    }
    .facility-card i {
        font-size: 28px;
    }
    .facility-card span {
        font-size: 12px;
    }
    .slider-item img {
        height: 300px;
    }
    .toggle-switch {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .room-hero h1,
    .cta h2 {
        font-size: 24px;
    }
    .room-facilities h2,
    .room-gallery h2,
    .room-pricing h2 {
        font-size: 20px;
    }
    .room-pricing p,
    .cta p {
        font-size: 14px;
    }
    .room-pricing p span {
        font-size: 24px;
    }
    .facility-grid {
        grid-template-columns: 1fr;
    }
    .slider-item img {
        height: 250px;
    }
    .lightbox-close {
        top: 16px;
        right: 20px;
        font-size: 32px;
    }
    .lightbox-control.prev {
        left: 16px;
    }
    .lightbox-control.next {
        right: 16px;
    }
}