/* Royal Reema Decorations Custom CSS */
/* Add this to your theme's custom CSS section */

/* Gallery Container */
.royal-reema-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Gallery Header */
.gallery-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('data:image/svg+xml;utf8,');
    background-size: cover;
}

.gallery-header h1 {
    font-size: 3.5rem !important;
    color: #a67f78 !important;
    margin-bottom: 10px !important;
    font-weight: 300 !important;
    letter-spacing: 2px !important;
    font-family: 'Cormorant Garamond', serif !important;
}

.gallery-subtitle {
    font-size: 1.2rem !important;
    color: #8a8a8a !important;
    margin-bottom: 30px !important;
    font-style: italic !important;
}

.gallery-divider {
    height: 2px !important;
    width: 80px !important;
    background: linear-gradient(to right, transparent, #d4a5a5, transparent) !important;
    margin: 30px auto !important;
}

/* Gallery Filters */
.gallery-filters {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    margin-bottom: 40px !important;
    gap: 10px !important;
}

.gallery-filter-btn {
    padding: 10px 20px !important;
    background: transparent !important;
    border: 1px solid #d4a5a5 !important;
    color: #a67f78 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border-radius: 30px !important;
    font-size: 1rem !important;
}

.gallery-filter-btn:hover, 
.gallery-filter-btn.active {
    background: #d4a5a5 !important;
    color: white !important;
}

/* Gallery Grid */
.gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 25px !important;
    margin-bottom: 50px !important;
}

.gallery-item {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    cursor: pointer !important;
    transition: transform 0.3s ease !important;
}

.gallery-item:hover {
    transform: translateY(-5px) !important;
}

.gallery-item img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.5s ease !important;
}

.gallery-item:hover img {
    transform: scale(1.05) !important;
}

.gallery-item-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)) !important;
    padding: 20px !important;
    color: white !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1 !important;
}

.gallery-item-title {
    font-size: 1.2rem !important;
    margin-bottom: 5px !important;
}

.gallery-item-desc {
    font-size: 0.9rem !important;
}

/* Lightbox */
.royal-lightbox {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.9) !important;
    z-index: 10000 !important;
    justify-content: center !important;
    align-items: center !important;
}

.royal-lightbox-content {
    max-width: 90% !important;
    max-height: 90% !important;
    position: relative !important;
}

.royal-lightbox-content img {
    max-width: 100% !important;
    max-height: 80vh !important;
    border-radius: 5px !important;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5) !important;
}

.royal-lightbox-close {
    position: absolute !important;
    top: -40px !important;
    right: 0 !important;
    color: white !important;
    font-size: 2rem !important;
    cursor: pointer !important;
}

.royal-lightbox-caption {
    color: white !important;
    text-align: center !important;
    margin-top: 15px !important;
    font-size: 1.1rem !important;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-header h1 {
        font-size: 2.5rem !important;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
        gap: 15px !important;
    }
}

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&display=swap');