/* Gallery Page Specific Styles */

/* Gallery Hero Section */
.gallery-hero {
    background: linear-gradient(rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 600"><rect fill="%23ff6b6b" width="1000" height="600"/><circle fill="%23feca57" cx="200" cy="150" r="50"/><circle fill="%2348dbfb" cx="800" cy="400" r="80"/><rect fill="%23ff9ff3" x="300" y="200" width="100" height="100" rx="20"/><circle fill="%2355a3ff" cx="700" cy="100" r="60"/></svg>');
    background-size: cover;
    background-position: center;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 82px;
}

.gallery-hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease-out;
}

/* Gallery Page Main Section */
.gallery-page {
    padding: 80px 0;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
}

/* Gallery Tabs */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.tab-btn.active {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Gallery Grid Container */
.gallery-grid-container {
    position: relative;
}

.gallery-page .gallery-grid {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    animation: fadeIn 0.5s ease-in;
}

.gallery-page .gallery-grid.active {
    display: grid;
}

/* Gallery Items */
.gallery-page .gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}

.gallery-page .gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

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

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

/* Gallery Overlay */
.gallery-page .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-page .gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-page .gallery-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-page .gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Gallery CTA Section */
.gallery-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .gallery-tabs {
        gap: 0.5rem;
        margin-bottom: 2rem;
        justify-content: flex-start;
        padding: 0 0.5rem;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .gallery-page .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .gallery-page .gallery-item img {
        height: 200px;
    }
    
    .gallery-page .gallery-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .gallery-page .gallery-overlay h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .gallery-hero-content h1 {
        font-size: 2rem;
    }
    
    .gallery-tabs {
        gap: 0.3rem;
        justify-content: flex-start;
        padding: 0 0.3rem;
    }
    
    .tab-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .gallery-page .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-page .gallery-item img {
        height: 180px;
    }
} 