/* Variáveis CSS para temas claro e escuro */
:root {
    /* Tema claro (padrão) */
    --footer-gradient-start: #ff7e00;
    --footer-gradient-end: #ff3300;
    --footer-text: #ffffff;
    --footer-bottom-bg: #f5f5f5;
    --footer-bottom-text: #333333;
    --input-bg: rgba(255, 255, 255, 0.2);
    --input-text: #ffffff;
    --input-border: rgba(255, 255, 255, 0.3);
}

/* Tema escuro - integrado com o sistema existente */
.dark-mode {
    --footer-gradient-start: #ff5500;
    --footer-gradient-end: #990000;
    --footer-text: #ffffff;
    --footer-bottom-bg: #1e1e1e;
    --footer-bottom-text: #f5f5f5;
    --input-bg: rgba(0, 0, 0, 0.2);
    --input-text: #ffffff;
    --input-border: rgba(255, 255, 255, 0.2);
}

/* Estilos do rodapé */
.footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-top: 4rem;
}

/* Parte superior do rodapé com gradiente */
.footer-gradient {
    background: linear-gradient(135deg, var(--footer-gradient-start), var(--footer-gradient-end));
    color: var(--footer-text);
    padding: 4rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* Navegação à esquerda */
.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 0.8;
}

/* Formulário de newsletter à direita */
.footer-newsletter {
    max-width: 400px;
    width: 100%;
}

.footer-newsletter p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.4;
}

.newsletter-form {
    display: flex;
    border-bottom: 1px solid var(--input-border);
    padding-bottom: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--input-text);
    padding: 0.5rem 0;
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    background: transparent;
    border: none;
    color: var(--footer-text);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateX(5px);
}

/* Área para ícone de seta */
.arrow-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
}

/* Parte inferior do rodapé */
.footer-bottom {
    background-color: var(--footer-bottom-bg);
    color: var(--footer-bottom-text);
    padding: 3rem 5% 2rem;
    position: relative;
}

/* Logo grande */
.footer-logo {
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.footer-logo h2 {
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--footer-bottom-text);
    position: relative;
    z-index: 2;
}

/* Informações de copyright e localização */
.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.copyright, .location, .time, .social-links {
    margin: 0.5rem 0;
}

.location {
    display: flex;
    align-items: center;
}

/* Ícone de localização */
.location-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
    text-align: center;
}

.social-links a {
    color: var(--footer-bottom-text);
    text-decoration: none;
    margin-left: 1rem;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.7;
}

/* Responsividade */
@media (max-width: 1200px) {
    .footer-logo h2 {
        font-size: 6rem;
    }
}

@media (max-width: 992px) {
    .footer-gradient {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-newsletter {
        max-width: 100%;
    }
    
    .footer-logo h2 {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {
    .footer-gradient {
        padding: 3rem 5%;
    }
    
    .footer-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .social-links {
        margin-top: 1rem;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    
    .social-links a {
        margin-left: 0;
    }
    
    .footer-logo h2 {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .footer-gradient {
        padding: 2rem 5%;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
    }
    
    .footer-logo h2 {
        font-size: 3rem;
    }
    
    .footer-nav a {
        font-size: 1rem;
    }
    
    .footer-newsletter p {
        font-size: 0.9rem;
    }
}
