body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: #f5e9e0;
    color: #333;
}

/* ===== Header / Menu ===== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fffaf5;
    flex-wrap: wrap;
    /* permite quebrar linha em mobile */
}

.header .logo {
    font-size: 2rem;
    font-weight: bold;
}

nav.menu {
    display: flex;
    flex-wrap: wrap;
    /* ajusta links no mobile */
    gap: 10px;
}

nav.menu a {
    margin-left: 0;
    /* removido para mobile-friendly, controlado pelo gap */
    text-decoration: none;
    color: #333;
    font-weight: 500;
}


nav.menu a:hover {
    color: #e91e63;
}

/* ===== Gallery Section ===== */
.gallery {
    padding: 40px 20px;
    text-align: center;
}

.gallery h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}


.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;

    /* efeito flutuante */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.gallery-grid img:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .gallery h2 {
        font-size: 1.7rem;
        margin-bottom: 20px;
    }

    .gallery-grid {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .gallery h2 {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }

    nav.menu {
        justify-content: flex-start;
    }

    nav.menu a {
        font-size: 0.9rem;
    }

    nav.menu a i {
        margin-right: 8px;
        vertical-align: middle;
    }

}

/* ===== Lightbox (foto ampliada) ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===== Rodapé Instagram ===== */
.insta-footer {
    text-align: center;
    padding: 30px 10px;
    background-color: #fffaf5;
    border-top: 1px solid #f2dcd2;
}

.insta-footer p {
    margin: 0 0 10px;
    font-size: 1rem;
    color: #333;
}

.insta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #e1306c;
    font-weight: bold;
    font-size: 1.1rem;
}

.insta-link:hover {
    text-decoration: underline;
}

.insta-logo {
    width: 24px;
    height: 24px;
}

/* ===== Navegação Lightbox ===== */
.lightbox .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 2.5rem;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.2s;
}

.lightbox .nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox .prev {
    left: 20px;
}

.lightbox .next {
    right: 20px;
}

@media (max-width: 480px) {
    .lightbox .nav {
        font-size: 2rem;
        padding: 8px 12px;
    }
}