/* styles.css */

/* ======== RESET GERAL ======== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ======== CONFIGURAÇÕES GERAIS ======== */
body {
    font-family: 'Fira Code', monospace;
    line-height: 1.6;
    position: relative;
    background-color: #282c34; /* Cinza escuro como base */
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ======== SEÇÃO SUPERIOR ======== */
.top-section {
    background: url('img/secao-superior.png') center/cover no-repeat;
    background-color: rgba(40, 44, 52, 0.7); /* Sobreposição com o cinza base */
    background-blend-mode: multiply;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    height: 60vh;
    text-align: left;
    position: relative;
}

h1 {
    font-size: 5rem;
    color: #ffffff;
    font-weight: 600;
}

/* Efeito de cursor piscando para os textos com digitação */
.typing-cursor::after {
    content: '|';
    margin-left: 5px;
    opacity: 1;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

p {
    font-size: 2rem;
    margin: 10px 0;
    color: #c7c7c7; /* Cinza mais claro para parágrafo */
    font-weight: 300;
}

.button-container {
    position: absolute;
    bottom: 20px;
    right: 100px;
}

button.menu-btn {
    background: #4a4a4a;
    border: 1px solid #00a3ff;
    padding: 8px 20px;
    font-size: 1rem;
    cursor: pointer;
    color: #ffffff;
    transition: background-color 0.3s, color 0.3s;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

button.menu-btn:hover {
    background-color: #00a3ff;
    color: #282c34;
}


/* Responsividade da Seção Superior */
@media (max-width: 768px) {
    .top-section {
        padding: 20px;
        height: 60vh;
    }

    h1 {
        font-size: 3rem;
    }

    p {
        font-size: 1.5rem;
    }

    .button-container {
        bottom: 15px;
        right: 15px;
    }

    button.menu-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .top-section {
        padding: 15px;
        height: 50vh;
    }

    h1 {
        font-size: 2.2rem;
    }

    p {
        font-size: 1.1rem;
    }

    .button-container {
        bottom: 10px;
        right: 10px;
    }

    button.menu-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* Substitua o bloco de código antigo por este */

/* ======== ESTILO DO BOTÃO DE FECHAR MENU ("Fechar") ======== */
.dropdown-close-icon {
    position: absolute;
    top: 25px;
    right: 40px;

    /* Estilo do botão (molde) */
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 20px; /* Ajusta o tamanho ao redor do texto */
    border-radius: 50px; /* Cantos bem arredondados para um visual de "pílula" */

    /* Estilo do texto "Fechar" */
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase; /* Deixa o texto em maiúsculas */

    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown-close-icon:hover {
    background-color: #00a3ff;
    color: #fff;
    border-color: #00a3ff;
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
    .dropdown-close-icon {
        top: 20px;
        right: 20px;
        padding: 6px 15px;
        font-size: 0.9rem;
    }
}

/* ======== SEÇÃO INFERIOR ======== */
.bottom-section {
    position: relative;
    min-height: 100vh;
    background: url('img/secao-inferior.png') center/cover no-repeat;
    background-color: rgba(40, 44, 52, 0.85); /* Sobreposição mais escura para legibilidade */
    background-blend-mode: darken;
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-text {
    position: relative;
    text-align: left;
    color: #ffffff;
    z-index: 1;
    width: 90%;
    max-width: var(--overlay-width, 1200px);
    margin: 0 auto;
    padding: 1rem;
}

.overlay-text ul {
    list-style: none;
    padding: 0;
    margin: 100px; /* Margem padrão para desktop */
    font-size: clamp(1.8rem, 2vw, 1.8rem);
    font-weight: 500;
}

.overlay-text li {
    margin: 1.5rem 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 15px;
    color: #e0e0e0;
}

.overlay-text h2 {
    font-size: clamp(3.5rem, 5vw, 3rem);
    font-weight: 700;
    color: #00a3ff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: var(--title-margin, 0rem); 
    text-align: center;
    position: relative;
    padding-top: 0rem;
}

.list-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    /* Filtro para a cor azul #00a3ff */
    filter: invert(56%) sepia(99%) saturate(4328%) hue-rotate(180deg) brightness(101%) contrast(101%);
}

/* Responsividade da Seção Inferior */
@media (max-width: 768px) {
    .bottom-section {
        height: 100vh;
    }

    .overlay-text h2 {
        font-size: 2.5rem;
        margin-bottom: var(--title-margin, 180px);
    }

    .overlay-text ul {
        font-size: 1.5rem;
        text-align: left; 
        margin: var(--list-margin-mobile, 20px 20px 20px 20px); 
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .bottom-section {
        height: 100vh;
    }

    .overlay-text h2 {
        font-size: 2rem;
        margin-bottom: var(--title-margin, 100px);
    }
    
    .overlay-text ul {
        font-size: 1.2rem;
        text-align: left;
        margin: var(--list-margin-mobile, 15px 15px 15px 15px);
        align-items: flex-start;
    }
}

/* ======== SEÇÃO MENU ======== */
.menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 10px rgba(0, 163, 255, 0.5); /* Sombra brilhosa azul */
}

.hamburger {
    font-size: 1.2rem;
}

.dropdown-menu {
    display: block;
    position: fixed;
    top: -70vh; 
    left: 0;
    width: 100%;
    height: 70vh; 
    background: linear-gradient(45deg, #4a4a4a, #282c34); /* Gradiente com cinzas modernos */
    z-index: 10;
    transition: top 0.5s ease-in-out;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.dropdown-menu.active {
    top: 0;
}

.dropdown-menu ul {
    list-style: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.dropdown-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.8rem;
    transition: color 0.3s;
    font-weight: 500;
}

.dropdown-menu a:hover {
    color: #00a3ff;
}

/* Responsividade da Seção Menu */
@media (max-width: 768px) {
    .dropdown-menu a {
        font-size: 1.6rem;
    }

    .hamburger {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .dropdown-menu a {
        font-size: 1.3rem;
    }

    .hamburger {
        font-size: 0.9rem;
    }
}

/* ======== SEÇÃO RODAPÉ ======== */
footer {
    background-color: #21252b; /* Cinza um pouco mais claro que o base */
    text-align: center;
    padding: 15px;
    font-family: "Fira Code", monospace;
}

footer p {
    color: #a0a0a0;
    font-size: 1rem;
    font-weight: 300;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: center; /* Centralizado */
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 10px; /* Espaço antes do texto de direitos */
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    width: 100%;
}

.social-icons img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-icons a:hover img {
    transform: scale(1.15);
}


/* Responsividade da Seção Rodapé */
@media (max-width: 768px) {
    .footer-container {
        padding: 0 20px 10px;
    }

    .social-icons {
        gap: 20px;
    }

    .social-icons img {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .social-icons {
        gap: 15px;
    }

    .social-icons img {
        width: 25px;
        height: 25px;
    }

    footer p {
        font-size: 0.85rem;
    }
}