/* ===============================================
   BATHROOM.CSS - TABBED VERSION WITH LARGE GALLERY
   Using !important to override main styles.css
   =============================================== */

/* Page Header Section - Clean Dark Design */
.page-header {
    background: #1a1a1a !important;
    padding: 20px 0 6px 0 !important;
    text-align: center !important;
    color: white !important;
    min-height: auto !important;
}

.page-header h1 {
    font-size: 42px !important;
    font-weight: bold !important;
    margin-bottom: 15px !important;
    color: #d4af37 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7) !important;
}

.page-header p {
    font-size: 24px !important;
    color: #d4af37 !important;
    margin: 0 !important;
    font-weight: 300 !important;
}

/* Tabbed Content Section - Dark Background */
.tabbed-content-section {
    background: #1a1a1a !important;
    padding: 40px 0 !important;
    color: white !important;
}

.tabbed-content-section .container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* Tab Navigation - Horizontal Layout */
.tab-navigation {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-bottom: 40px !important;
    padding: 0 20px !important;
    flex-wrap: wrap !important;
}

.tab-btn {
    background: rgba(255,255,255,0.1) !important;
    color: #e0e0e0 !important;
    border: 2px solid rgba(212,175,55,0.3) !important;
    padding: 15px 20px !important;
    border-radius: 8px 8px 0 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    min-width: 180px !important;
    text-align: center !important;
    flex: 1 1 auto !important;
    max-width: 280px !important;
}

.tab-btn:hover {
    background: rgba(212,175,55,0.2) !important;
    border-color: #d4af37 !important;
    color: #d4af37 !important;
    transform: translateY(-2px) !important;
}

.tab-btn.active {
    background: rgba(212,175,55,0.9) !important;
    color: #1a1a1a !important;
    border-color: #d4af37 !important;
    box-shadow: 0 4px 15px rgba(212,175,55,0.3) !important;
    font-weight: bold !important;
}

/* Tab Content Wrapper */
.tab-content-wrapper {
    position: relative !important;
    min-height: 300px !important;
}

/* Tab Content - Only Show Active Tab */
.tab-content {
    display: none !important;
    opacity: 0 !important;
    background: rgba(255,255,255,0.05) !important;
    padding: 40px !important;
    border-radius: 0 0 15px 15px !important;
    border-left: 4px solid #d4af37 !important;
    border-right: 4px solid #d4af37 !important;
    border-bottom: 4px solid #d4af37 !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: opacity 0.3s ease !important;
}

.tab-content.active {
    display: block !important;
    opacity: 1 !important;
    position: relative !important;
}

.tab-content h3 {
    font-size: 28px !important;
    color: #d4af37 !important;
    margin-bottom: 20px !important;
    font-weight: bold !important;
    text-align: center !important;
}

.tab-content p {
    font-size: 20px !important;
    line-height: 1.8 !important;
    color: #e0e0e0 !important;
    margin-bottom: 20px !important;
    text-align: justify !important;
}

.tab-content ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 20px 0 !important;
}

.tab-content li {
    font-size: 20px !important;
    line-height: 1.8 !important;
    color: #e0e0e0 !important;
    margin-bottom: 25px !important;
    padding-left: 25px !important;
    position: relative !important;
}

.tab-content li:before {
    content: "•" !important;
    color: #d4af37 !important;
    font-size: 28px !important;
    position: absolute !important;
    left: 0 !important;
    top: -5px !important;
    font-weight: bold !important;
}

.tab-content strong {
    color: #d4af37 !important;
    font-weight: bold !important;
}

/* Gallery Section - Large Images for Showroom Display */
.bathroom-gallery-section {
    background: #1a1a1a !important;
    padding: 80px 0 !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

.bathroom-gallery-section .container {
    max-width: 95% !important;
    margin: 0 auto !important;
    padding: 0 2.5% !important;
}

.bathroom-gallery-section h2 {
    text-align: center !important;
    font-size: 42px !important;
    font-weight: bold !important;
    color: #d4af37 !important;
    margin-bottom: 50px !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
}

.gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    width: 100% !important;
}

.gallery-item {
    position: relative !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    background: #000 !important;
    aspect-ratio: 16/13 !important;
}

.gallery-item:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(212,175,55,0.4) !important;
}

.gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
    display: block !important;
}

.gallery-item:hover img {
    transform: scale(1.02) !important;
}

.gallery-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(0,0,0,0.8) !important;
    color: white !important;
    padding: 6px 20px !important;
    transform: translateY(0) !important;
    transition: background 0.3s ease !important;
}

.gallery-item:hover .gallery-overlay {
    background: rgba(212,175,55,0.9) !important;
}

.gallery-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    text-align: center !important;
    color: white !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.gallery-item:hover .gallery-title {
    color: #1a1a1a !important;
}

/* Gallery Modal Styles - Enhanced for Showroom Display */
.gallery-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0,0,0,0.98) !important;
    z-index: 9999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
}

.gallery-modal.active {
    display: flex !important;
}

.modal-image-container {
    position: relative !important;
    max-width: 95% !important;
    max-height: 95% !important;
    background: #000 !important;
}

.modal-image-container img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

.modal-close,
.modal-nav {
    position: absolute !important;
    color: white !important;
    font-size: 30px !important;
    cursor: pointer !important;
    background: rgba(0,0,0,0.7) !important;
    padding: 15px !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    font-weight: bold !important;
    border: 2px solid rgba(212,175,55,0.5) !important;
}

.modal-close {
    top: 20px !important;
    right: 20px !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.modal-prev {
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.modal-next {
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.modal-close:hover,
.modal-nav:hover {
    background: rgba(212,175,55,0.9) !important;
    color: #1a1a1a !important;
    border-color: #d4af37 !important;
}

.modal-counter,
.modal-title {
    position: absolute !important;
    color: white !important;
    text-align: center !important;
    width: 100% !important;
    background: rgba(0,0,0,0.8) !important;
    padding: 10px 20px !important;
}

.modal-counter {
    bottom: 80px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}

.modal-title {
    bottom: 40px !important;
    font-size: 24px !important;
    font-weight: bold !important;
    color: #d4af37 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
}

/* Responsive Gallery for Mobile */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .gallery-item {
        aspect-ratio: 16/9 !important;
    }
    
    .modal-image-container {
        max-width: 100% !important;
        max-height: 100% !important;
    }
    
    .modal-close,
    .modal-nav {
        font-size: 24px !important;
        padding: 10px !important;
        width: 40px !important;
        height: 40px !important;
    }
    
    .modal-title {
        font-size: 18px !important;
        bottom: 20px !important;
    }
    
    .modal-counter {
        bottom: 60px !important;
        font-size: 16px !important;
    }
}

/* Regulatory Links Section - Light Background for Contrast */
.regulatory-links-section {
    background: #f8f9fa !important;
    padding: 60px 0 !important;
    border-top: 3px solid #d4af37 !important;
}

.regulatory-links-section h2 {
    text-align: center !important;
    font-size: 36px !important;
    font-weight: bold !important;
    color: #333 !important;
    margin-bottom: 40px !important;
}

.links-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    background: white !important;
    border-radius: 15px !important;
    padding: 40px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    border: 2px solid #d4af37 !important;
}

.links-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
}

.link-group ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.link-group li {
    margin-bottom: 15px !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

.link-group strong {
    color: #333 !important;
    font-weight: bold !important;
}

.link-group a {
    color: #d4af37 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.link-group a:hover {
    color: #b8941f !important;
    text-decoration: underline !important;
}