/* Room Detail Page Styles - Luxury Gold Theme */

/* Room Gallery Section - Luxury Design */
.room-gallery-section {
    padding: 3rem 0;
    background: var(--bg-white);
}

.main-gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

.main-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: var(--bg-light);
    box-shadow: var(--shadow-lg);
}

.main-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

/* Gallery Navigation Buttons - Gold Theme */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-smooth);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.gallery-nav-btn:hover {
    background: var(--luxury-gold);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-xl), var(--glow-gold);
}

.gallery-nav-btn i {
    font-size: 1.3rem;
}

.prev-btn {
    left: 1.5rem;
}

.next-btn {
    right: 1.5rem;
}

/* Image Counter */
.image-counter {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(27, 59, 111, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.thumbnail-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all var(--transition-smooth);
    position: relative;
}

.thumbnail-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.thumbnail-item:hover::after {
    opacity: 1;
}

.thumbnail-item.active {
    border-color: var(--luxury-gold);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4);
}

.thumbnail-item.active::after {
    opacity: 0;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.thumbnail-item:hover img {
    transform: scale(1.1);
}

/* Room Details Section */
.room-details-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.room-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.room-main h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-heading);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.room-main p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--luxury-gold);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    font-weight: 400;
}

/* Specs Grid - Gold Accents */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.spec-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-cream);
    border: 1px solid var(--border-light);
    transition: all var(--transition-smooth);
}

.spec-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--luxury-gold);
}

.spec-icon {
    font-size: 2rem;
    color: var(--luxury-gold);
    min-width: 40px;
}

.spec-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.spec-value {
    font-size: 1.2rem;
    color: var(--text-heading);
    font-weight: 600;
}

/* Booking Sidebar - Luxury Gold */
.booking-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    background: var(--bg-white);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--luxury-gold);
}

.price-display {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--luxury-gold);
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 400;
    color: var(--luxury-gold);
    font-family: var(--font-heading);
    line-height: 1;
}

.price-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.btn-book {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    padding: 1.2rem;
    background: var(--gradient-gold);
    color: white;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-smooth);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: var(--shadow-md);
}

.btn-book:hover {
    background: var(--luxury-gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), var(--glow-gold);
}

.quick-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-light);
}

.quick-info-item:last-child {
    border-bottom: none;
}

.quick-info-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.quick-info-value {
    font-size: 1rem;
    color: var(--text-heading);
    font-weight: 600;
}

/* Amenities Section - Luxury Style */
.amenities-section {
    padding: 5rem 0;
    background: var(--bg-cream);
}

.amenities-section .section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-heading);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 400;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    transition: all var(--transition-smooth);
}

.amenity-item:hover {
    transform: translateX(5px);
    border-color: var(--luxury-gold);
    box-shadow: var(--shadow-md);
}

.amenity-item i {
    font-size: 1.3rem;
    color: var(--luxury-gold);
    min-width: 24px;
}

.amenity-item span {
    font-size: 1rem;
    color: var(--text-primary);
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: all var(--transition-smooth);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-2xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

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

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-smooth);
    z-index: 10000;
}

.lightbox-close:hover {
    background: var(--luxury-gold);
    color: white;
    transform: rotate(90deg);
}

.lightbox-close i {
    font-size: 1.5rem;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .room-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .booking-sidebar {
        position: relative;
        top: 0;
    }

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

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .room-main h2 {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.5rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }

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

    .spec-card {
        padding: 1rem;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
}

/* Policies Section - Luxury Theme */
.policies-section {
    padding: 6rem 0;
    background: var(--bg-cream);
    position: relative;
}

.policies-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 800px;
    height: 1px;
    background: radial-gradient(circle, var(--luxury-gold) 0%, transparent 100%);
    opacity: 0.5;
}

.policies-section .section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-heading);
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 400;
    position: relative;
    display: inline-block;
    width: 100%;
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.policy-item {
    background: var(--bg-white);
    padding: 2.5rem;
    border: 1px solid rgba(201, 169, 97, 0.15);
    /* Subtle gold border */
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 4px;
}

.policy-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
}

.policy-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.policy-item:hover::after {
    transform: scaleX(1);
}

.policy-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-heading);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.policy-title i {
    font-size: 1.25rem;
    color: var(--text-white);
    background: var(--gradient-gold);
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
    transition: all var(--transition-smooth);
}

.policy-item:hover .policy-title i {
    transform: rotate(360deg);
    box-shadow: var(--glow-gold);
}

.policy-content {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex-grow: 1;
}

.policy-content p {
    margin-bottom: 0.5rem;
}

.policy-content p:last-child {
    margin-bottom: 0;
}

.policy-content strong {
    color: var(--luxury-gold-dark);
    font-weight: 600;
}

/* Tablet/Mobile Responsive */
@media (max-width: 900px) {
    .policy-grid {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
    }

    .policies-section .section-title {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

    .policy-item {
        padding: 2rem;
    }
}