/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

.primary-color {
    color: #00593a !important;
}

.primary-bg {
    background-color: #00593a !important;
}

body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    background-color: #f9f9f9;
    color: #1a1a1a;
}

.gradient-bg {
    background: linear-gradient(135deg, #00593a 0%, #000000 100%);
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hover-scale {
    transition: transform 0.3s ease-in-out;
}

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


.logo-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.card-hover {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.card-hover:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Estilos base */


/* Main background com imagem e overlay */
main {
    position: relative;
    isolation: isolate;
    /* Cria um novo contexto de empilhamento */
}

main::before,
main::after {
    content: "";
    position: absolute;
    inset: 0;
    /* Shorthand para top: 0, right: 0, bottom: 0, left: 0 */
    z-index: -1;
}

main::before {
    background-image: url("./images/background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.9;
}

main::after {
    background: linear-gradient(135deg, rgb(0, 89, 58) 0%, rgba(0, 0, 0, 0.9) 100%);
    opacity: 0.5;
}

/* Estilos do header responsivo */
.mobile-menu-button {
    display: none;
}

.mobile-menu-items {
    display: none;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .mobile-menu-items {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #00593a;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 50;
    }

    .mobile-menu-items.active {
        display: block;
    }

    .mobile-menu-items a {
        display: block;
        padding: 0.5rem 0;
        color: white;
        text-align: center;
    }

    main::before {
        background-attachment: scroll;
    }
}

.logo-text {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.hover-scale:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Ajustes responsivos */
@media (max-width: 640px) {
    .text-5xl {
        font-size: 2.5rem;
    }

    .text-4xl {
        font-size: 2rem;
    }

    .text-3xl {
        font-size: 1.75rem;
    }

    .py-20 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* Ajustes de acessibilidade */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}