/* ===== GALLERY PAGE SPECIFIC STYLES ===== */

/* Gallery Header with floating shapes */
.gallery-header {
    min-height: 50vh;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    color: #fff;
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}
.gallery-header .floating-shape {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--blue);
    opacity: 0.15;
    filter: blur(80px);
    z-index: 1;
    animation: float 25s infinite alternate;
}
.gallery-header .shape1 { top: -150px; left: -150px; background: var(--primary); }
.gallery-header .shape2 { bottom: -150px; right: -150px; background: var(--teal); animation-duration: 30s; }
.gallery-header-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}
.gallery-header h1 {
    color: #fff;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    margin-bottom: 20px;
}
.gallery-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    max-width: 600px;
}

/* Gallery grid – no rounded corners, just images */
.gallery-section {
    padding: 0 0 100px;
    background: var(--bg-primary);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px; /* minimal gap to create even spacing */
}
.gallery-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-image:hover {
    transform: scale(1.02);
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Dark mode adjustment */
[data-theme="dark"] .gallery-image:hover {
    box-shadow: 0 10px 20px rgba(255,255,255,0.1);
}

/* CTA Section (reuse from style.css, but ensure it's here) */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section .floating-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--secondary);
    opacity: 0.1;
    filter: blur(60px);
    animation: float 20s infinite alternate;
}
.cta-section .shape3 { bottom: -50px; left: 10%; }
.cta-section h2 { color: #fff; margin-bottom: 15px; }
.cta-section p { color: rgba(255,255,255,0.9); margin-bottom: 30px; }
.cta-section .btn-primary {
    background: var(--gradient-accent);
    color: #2c353c;
}

/* Responsive */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .gallery-header {
        padding: 120px 0 60px;
        min-height: 40vh;
    }
    .gallery-header h1 {
        font-size: 2.5rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3px;
    }
}
@media (max-width: 480px) {
    .gallery-header h1 {
        font-size: 2rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}