/* estilos gerais para as pages */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* animação de entrada */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.active {
    color: #ffffff;
    background: rgba(248, 11, 11, 0.6);
    box-shadow: 0 0 5px #ec0902, 0 0 20px #e21203, 0 0 50px #a52d08,
        0 0 100px #df3704;
}


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #000000, #111111, #222222);
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.topo {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 35px 30px;
    background-color: #000;
    position: relative;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    top: -25px;
    left: 200px;
}

.logo img {
    width: 200px;
    height: auto;
}


.navbar {
    display: flex;
    gap: 20px;
}

.nav {
    text-decoration: none;
    border-radius: 20px;
    padding: 12px 20px;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
}

.nav:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-3px);
}

.nav-admin {
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.nav-admin:hover {
    transform: translateY(-3px);
}


.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}


.footer {
    background: linear-gradient(to right, #000000, #1a1a1a);
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 80px;
    border-top: 1px solid #333;
}

.footer img {
    width: 200px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section h3 {
    color: #d85b08;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer-section h4 {
    color: #f5f5f5;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 2px;
    background: rgba(248, 11, 11, 0.6);
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #ccc;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: rgba(248, 11, 11, 0.6);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #222;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: rgba(248, 11, 11, 0.6);
    transform: translateY(-3px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-info i {
    color: rgba(248, 11, 11, 0.6);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #888;
    font-size: 14px;
}


/* RESPONSIVIDADE */
/* RESPONSIVIDADE */
/* RESPONSIVIDADE */
/* RESPONSIVIDADE */

@media (max-width: 768px) {
    .logo {
        display: flex;
        position: absolute;
        top: 25px;
        left: 20px;
        align-items: center;
        gap: 10px;
    }

    .logo img {
        width: 130px;
        height: auto;
        position: relative;
        bottom: 30px;
    }

    .logo h1 {
        font-size: 20px;
    }

    .navbar {
        position: absolute;
        top: 70px;
        right: 0;
        background-color: #111;
        flex-direction: column;
        width: 80vw;
        max-width: 250px;
        padding: 20px;
        display: none;
        border-radius: 10px 0 0 10px;
        box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    .navbar.active {
        display: flex;
        text-align: center;

    }

    .nav {
        padding: 10px 0;
        font-size: 18px;
    }

    .hamburger {
        display: flex;
        position: absolute;
        top: 25px;
        right: 30px;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1100;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: #fff;
        border-radius: 2px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
    }

    .contact-info p {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav {
        font-size: 16px;
    }

    .logo img {
        width: 130px;
        position: relative;
        bottom: 30px;
    }

    .logo h1 {
        font-size: 18px;
    }
}