/* =========================================================
   HERO
   ========================================================= */
.hero {
    background: url("../img/hero.jpg") center / cover no-repeat;
    padding-bottom: 260px;
}

.hero-content h3 {
    font-family: "Montserrat", cursive;
    color: var(--brand-secondary);
    font-size: clamp(1rem, 4vw, 2rem);
    margin-bottom: 1rem;
}

.hero-content p {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    color: #fff;
    margin-top: 0.5rem;
    margin-bottom: 2.5rem;
}

/* =========================================================
   GALLERY SECTION
   ========================================================= */
.gallery-section {
    position: relative;
    background: linear-gradient( to bottom, #9E1F63 0%, #b98a54 70%, #c09c66 100% );
    padding: 2rem 1rem 6rem;
    overflow: hidden;
}

#bubbles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.25;
    pointer-events: none;
}

/* =========================================================
   GRID
   ========================================================= */
.gallery-grid {
    position: relative;
    z-index: 2;
    width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

/* =========================================================
   ITEMS
   ========================================================= */
.gallery-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .gallery-wrapper p {
        color: #fff;
        font-family: "Montserrat", sans-serif;
        text-align: center;
        padding: 0 1rem;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

        /* Hide missing images but preserve square */
        .gallery-item img[src=""],
        .gallery-item img:not([src]) {
            display: none;
        }

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 600px) {
    .gallery-grid {
        gap: 1rem;
    }
}
