/* Estilo geral */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
    background-color: #121212;
    overflow-x: hidden;
}

/* Cabeçalho com parallax */
.parallax-header {
    background: url('DALL·E\ 2025-01-16\ 20.28.35\ -\ A\ captivating\ background\ image\ representing\ the\ theme\ of\ children\ training\ as\ junior\ firefighters.\ The\ image\ features\ a\ sunny\ outdoor\ scene\ with\ a\ gro.webp') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6); /* Sombra no parallax */
}

.parallax-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7); /* Sombra no texto do cabeçalho */
}

.header-content .logo {
    max-width: 120px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.7)); /* Sombra na logo */
}

.header-content h1 {
    font-size: 3rem;
    margin: 0;
}

.header-content p {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Galeria */
.gallery-section {
    background-color: #1c1c1c;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.4); /* Sombra na transição da galeria */
}

.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #e74c3c;
}

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

.gallery-item {
    background-color: #292929;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5); /* Sombra na galeria */
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 16px rgba(0, 0, 0, 0.7); /* Sombra mais intensa ao passar o mouse */
}

.gallery-image {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.gallery-description {
    padding: 15px;
    text-align: left;
    box-shadow: inset 0 -2px 6px rgba(0, 0, 0, 0.3); /* Sombra interna nas descrições */
}

.gallery-description h3 {
    color: #e74c3c;
    margin-bottom: 10px;
}

.gallery-description p {
    color: #ccc;
}

/* Botão fixo */
.back-to-home {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.1em;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); /* Sombra no botão */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.back-to-home:hover {
    background-color: #45a049;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.7); /* Sombra mais intensa ao passar o mouse */
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.8); /* Sombra na imagem ampliada */
}

.modal .close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8); /* Sombra no botão de fechar */
}
