/* ===========================
   Page Header
   =========================== */

.page-header {
    padding: 6rem 0 4rem;
    margin-top: 55px;
    text-align: center;
    background-color: #1a1a1a;
}

.page-header h1 {
    margin-bottom: 1rem;
    color: var(--color-white);
}

.page-header p {
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

/* ===========================
   Gallery Grid (Masonry Layout)
   =========================== */

.gallery-section {
    padding: var(--spacing-xl) 0;
    background-color: #1a1a1a;
}

.gallery-grid {
    column-count: 3;
    column-gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-color: #2a2a2a;
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.3s ease;
    display: block;
    border-radius: 4px;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gallery-item:hover img {
    transform: scale(1.02);
    filter: brightness(0.95);
}

/* ===========================
   CTA Section
   =========================== */

.cta-section {
    padding: var(--spacing-xl) 0;
    background-color: #2a2a2a;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
    color: var(--color-white);
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.7);
}

/* ===========================
   Responsive Gallery
   =========================== */

@media (max-width: 1024px) {
    .gallery-grid {
        column-count: 3;
        column-gap: 0.875rem;
    }
    
    .gallery-item {
        margin-bottom: 0.875rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        column-count: 2;
        column-gap: 0.75rem;
    }
    
    .gallery-item {
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        column-count: 1;
        column-gap: 0;
    }
    
    .gallery-item {
        margin-bottom: 0.5rem;
    }
}

