* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Página inicial */
.landing-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;

}

.landing-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('img/background-inicio-2.png') center center/cover no-repeat;
    opacity: 1;
    /* Ajuste a transparência da imagem aqui (0 = transparente, 1 = opaco) */
    z-index: 1;
}

.landing-page::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 80%);
    z-index: 2;
}

.landing-page>* {
    position: relative;
    z-index: 3;
}

.logo-container {
    text-align: center;
    margin-bottom: 3rem;
}

.logo {
    width: 200px;
    height: 200px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.logo h1 {
    color: #000;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
}

.academy-subtitle {
    color: white;
    font-size: 1.2rem;
    margin-top: 1rem;
}

.main-buttons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn-main {
    background-color: #FFD700;
    color: #000;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 200px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-main:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Navegação principal */
.navbar {
    background-color: #000;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo {
    color: #FFD700;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-menu a:hover {
    color: #FFD700;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #FFD700;
    margin: 3px 0;
    transition: 0.3s;
}

/* Seções principais */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #000;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
}

/* Seção Home */
#home {
    padding-top: 4rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    /* espaço entre a logo e o texto */
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    color: yellow;
    /* herda a cor do nav */
}

.nav-logo .logo-img {
    height: 40px;
    /* ajusta o tamanho da logo */
    width: auto;
    /* mantém proporção */
    display: block;
}


/* Grade de horários */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.schedule-card {
    background-color: #f9f9f9;
    border-left: 4px solid #FFD700;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.schedule-card h3 {
    color: #000;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.schedule-item:last-child {
    border-bottom: none;
}

/* Galeria de fotos */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    background-color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* ajusta proporcionalmente sem cortar */
    display: block;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    font-weight: bold;
}

/* Faixas pretas */
.black-belts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.belt-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 2px solid #f0f0f0;
}

.belt-card:hover {
    transform: translateY(-5px);
    border-color: #FFD700;
}

.belt-avatar {
    width: 120px;
    /* largura */
    height: 160px;
    /* altura maior, para retângulo */
    border-radius: 8px;
    /* cantos levemente arredondados (pode tirar se quiser quadrado) */
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    font-size: 2rem;
    font-weight: bold;
    overflow: hidden;
    /* garante que a imagem não ultrapasse */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    /* opcional, destaque */
}

.belt-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* garante que a imagem preencha o retângulo sem distorcer */
}

.belt-info h3 {
    color: #000;
    margin-bottom: 0.5rem;
}

.belt-degree {
    background-color: #000;
    color: #FFD700;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Notícias */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-3px);
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-title {
    color: #000;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Contatos */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    background-color: #000;
    color: #fff;
    padding: 2rem;
    border-radius: 12px;
}

.contact-info h3 {
    color: #FFD700;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-form {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #FFD700;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #000;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
}

.btn-submit {
    background-color: #FFD700;
    color: #000;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background-color: #000;
    color: #FFD700;
}

/* Footer */
.footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

.footer p {
    color: #ccc;
}

/* Responsivo */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #000;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .main-buttons {
        width: 90%;
    }

    .btn-main {
        width: 100%;
        max-width: 300px;
    }

    .logo {
        width: 150px;
        height: 150px;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .schedule-grid,
    .gallery-grid,
    .black-belts-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 2rem 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .logo {
        width: 120px;
        height: 120px;
    }

    .logo h1 {
        font-size: 1.2rem;
    }
}

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

/* Conteúdo do modal */
.modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0px 6px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: fadeIn 0.3s ease;
}

/* Botão fechar */
.modal .close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal .close:hover {
    color: #FFD700;
}

/* Animação */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Conteúdo */
.modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    text-align: left;
    box-shadow: 0px 6px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: fadeIn 0.3s ease;
}

/* Botão fechar */
.modal .close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal .close:hover {
    color: #FFD700;
}

/* Animação */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}