/* Gallery Page Specific Styles */

/* Body padding to account for fixed navbar */
body {
    padding-top: 80px;
}

/* Hero Section */
.gallery-hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/media/gallery-hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-hero-content {
    max-width: 800px;
}

.gallery-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.gallery-hero-content p {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styles - ADDED */
.btn-primary {
    background-color: #D4AF37; /* Mustard gold */
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #c19d30;
}

/* Showcase Sections */
.event-showcase,
.decorations-showcase {
    padding: 4rem 2rem;
    text-align: center;
}

.event-showcase {
    background-color: white;
}

.decorations-showcase {
    background-color: #f8f8f8;
}

.event-showcase h2,
.decorations-showcase h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.event-showcase p,
.decorations-showcase p {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Showcase Grid */
.showcase-grid,
.decorations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-item,
.decoration-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 300px;
    cursor: pointer;
}

.showcase-item img,
.decoration-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.showcase-item:hover img,
.decoration-item:hover img {
    transform: scale(1.05);
}

.showcase-overlay,
.decoration-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.showcase-item:hover .showcase-overlay,
.decoration-item:hover .decoration-overlay {
    transform: translateY(0);
}

.showcase-overlay h3,
.decoration-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.showcase-overlay p,
.decoration-overlay p {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    margin-bottom: 0;
    color: #f8f8f8;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 1rem;
    font-family: 'Lato', sans-serif;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .gallery-hero {
        padding: 6rem 1rem 3rem;
        min-height: 50vh;
    }
    
    .gallery-hero-content h1 {
        font-size: 2rem;
    }
    
    .event-showcase h2,
    .decorations-showcase h2 {
        font-size: 1.8rem;
    }
    
    .showcase-grid,
    .decorations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }
    
    .gallery-hero {
        padding: 4rem 1rem 2rem;
        min-height: 40vh;
    }
    
    .gallery-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .event-showcase,
    .decorations-showcase {
        padding: 3rem 1rem;
    }
    
    .showcase-grid,
    .decorations-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-item,
    .decoration-item {
        height: 250px;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
    }
    
    .gallery-hero-content p {
        font-size: 1rem;
    }
}