/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #1a1a1a; /* Fallback color */
    background-image: url('../BackgroundSite.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Efeito parallax simples */
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Overlay opcional para melhorar leitura do texto sobre a imagem */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Ajuste a opacidade conforme necessário */
    z-index: -1;
}

/* Cabeçalho */
header {
    display: flex;
    justify-content: center;
    /* Centraliza o conteúdo (nav) */
    align-items: center;
    padding: 20px 50px;
    width: 100%;
    z-index: 10;
    position: relative;
    /* Necessário para posicionar actions */
}

/* Logo no canto superior esquerdo */
.logo-container {
    position: absolute;
    left: 50px;
    /* Alinhado com o padding do header */
    display: flex;
    align-items: center;
}

.logo-horizontal {
    height: 65px;
    /* Ajuste a altura conforme necessário */
    width: auto;
    object-fit: contain;
}

/* O logo antigo foi removido */
.logo {
    display: none;
}

/* ... estilos de .logo-img não são mais necessários imediatamente, mas mantendo por segurança se o usuário reverter ... */

nav {
    /* Garante que o nav ocupe espaço necessário no centro */
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: white;
    /* Cor branca para o menu */
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    position: relative;
    padding: 10px 0;
    /* Aumenta a área de clique */
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 0;
    background-color: white;
    /* Sublinhado também branco */
    transition: width 0.3s;
}

nav a:hover {
    color: #f0f0f0;
    /* Um leve off-white no hover */
}

nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    position: absolute;
    /* Posicionamento absoluto à direita */
    right: 50px;
    /* Mesma distância do padding original */
}

.search-icon {
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.search-icon:hover {
    transform: scale(1.1);
}

.btn-login {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 8px 25px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
    font-weight: 500;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
}

/* Seção Principal (Hero) */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    margin-top: -50px;
    /* Compensação visual do header */
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 900px;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero p {
    font-size: 1.2rem;
    color: #f0f0f0;
    max-width: 700px;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Botão Laranja */
.btn-primary {
    background: linear-gradient(90deg, #ff8c00 0%, #ff5e00 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(90deg, #ff9d2e 0%, #ff7300 100%);
}

/* Botão Azul Transparente */
.btn-secondary {
    background: rgba(0, 50, 100, 0.6);
    border: 1px solid #4a90e2;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(0, 60, 120, 0.8);
    border-color: #6baef5;
}

/* Responsividade */
@media (max-width: 768px) {
    body {
        background-attachment: scroll; /* Corrige problema de background em mobile */
        background-color: #333; /* Cor de fundo de fallback */
    }

    header {
        padding: 15px 20px;
    }

    .logo-img {
        height: 40px;
    }

    nav {
        display: none;
    }

    /* TODO: Implementar menu mobile */

    .hero h1 {
        font-size: 2rem;
        padding: 0 10px;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Estilos da Página de Contato */
.contact-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 50px;
    /* Padding top compensa header */
    width: 100%;
    margin: 0 auto;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    width: 100%;
    max-width: 1100px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease-out;
}

.contact-info,
.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info h2,
.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
}

.contact-info p {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
    color: #ff8c00;
}

.contact-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: white;
}

.contact-text p,
.contact-text a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.contact-text a:hover {
    color: #ff8c00;
}

/* Formulário */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ddd;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff8c00;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, #ff8c00 0%, #ff5e00 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(255, 94, 0, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 94, 0, 0.5);
    background: linear-gradient(90deg, #ff9d2e 0%, #ff7300 100%);
}

/* Rodapé Global styles (can be reused) */
footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px 20px;
    text-align: center;
    color: #888;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
    font-size: 0.9rem;
}

.contact-container {
    padding-top: 100px;
}

/* Painel de Vidro Reutilizável (baseado em .contact-content) */
.glass-panel {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    margin: 40px auto;
    max-width: 1100px;
    width: 90%;
    color: #fff;
    animation: fadeIn 1s ease-out;
}

.glass-panel h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
    text-align: center;
}

.glass-panel p,
.glass-panel li {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.glass-panel ul {
    list-style: none;
    /* Remove padrão */
}

.glass-panel li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.glass-panel li::before {
    content: '✅';
    /* Ícone padrão, pode mudar no HTML se quiser */
    margin-right: 10px;
    font-size: 1.2rem;
}