/* public/css/style.css */

/* =========================================
   1. IMPORTAÇÃO DE FONTES
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;800&display=swap');

/* =========================================
   2. VARIÁVEIS (TEMA ESCURO - PADRÃO)
   ========================================= */
:root {
    --primary-orange: #FF5722;
    --bg-body: #0a0a0a;
    --text-main: #ffffff;
    --text-secondary: #b0b0b0;
    --card-bg: rgba(255, 255, 255, 0.05);
    --nav-bg: rgba(10, 10, 10, 0.95);
    --shadow-color: rgba(0,0,0,0.5);
    
    --input-bg: #1a1a1a;
    --input-border: #333;
    --input-text: #fff;
}

/* TEMA CLARO */
body.light-theme {
    --bg-body: #f4f4f4;
    --text-main: #1a1a1a;
    --text-secondary: #555555;
    --card-bg: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.98);
    --shadow-color: rgba(0,0,0,0.1);

    --input-bg: #ffffff;
    --input-border: #ccc;
    --input-text: #333;
}

/* =========================================
   3. RESET E ESTRUTURA BÁSICA
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
}

ul {
    list-style: none;
}

/* =========================================
   4. HEADER & NAVEGAÇÃO
   ========================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%; 
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 87, 34, 0.1);
    height: 140px; 
}

header .logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

header .logo img {
    height: 120px; 
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

body.light-theme header .logo img {
    border-radius: 12px;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    margin-right: 1rem;
}

.nav-link {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: var(--primary-orange);
}

.theme-toggle-btn {
    background: none;
    border: 1px solid var(--text-secondary);
    color: var(--text-main);
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

.theme-toggle-btn:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.btn-outline {
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-outline:hover {
    background-color: var(--primary-orange);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 87, 34, 0.4);
}

/* =========================================
   5. FORMULÁRIOS E BOTÕES GERAIS
   ========================================= */
input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    color: var(--input-text);
    outline: none;
    font-family: 'Montserrat', sans-serif;
    margin-top: 5px;
}

input:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 5px rgba(255, 87, 34, 0.2);
}

label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-cta {
    display: inline-block;
    background-color: var(--primary-orange);
    color: #fff;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.5);
}

/* =========================================
   6. HERO SECTION & LAYOUT GERAL
   ========================================= */
.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    padding: 0 5%;
    padding-top: 170px; 
    min-height: 100vh;
    align-items: center; /* Centraliza verticalmente o texto e a imagem */
    position: relative;
}

.content-side {
    position: relative;
    z-index: 10;
}

.main-title {
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-main);
    margin-bottom: 3rem;
    max-width: 600px;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.info-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-left: 4px solid var(--primary-orange);
    border-radius: 0 10px 10px 0;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.secondary-title {
    color: var(--primary-orange);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.description-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-info strong {
    color: var(--text-main);
    display: block;
    margin-top: 0.5rem;
}

/* =========================================
   7. IMAGEM LATERAL (AJUSTE DE POSIÇÃO E TAMANHO)
   ========================================= */
.visual-side {
    position: relative;
    height: 100%;
    display: flex;
    /* MUDANÇA: Centralizar verticalmente em vez de jogar para baixo */
    align-items: center; 
    /* Centralizar horizontalmente na coluna */
    justify-content: center; 
    z-index: 1;
    pointer-events: none;
}

.visual-side img {
    width: 100%;
    /* MUDANÇA: Aumentado de 600px para 750px */
    max-width: 750px; 
    height: auto;
    filter: drop-shadow(0 0 20px var(--shadow-color));
}

/* =========================================
   8. ESTILOS ESPECÍFICOS DO DASHBOARD
   ========================================= */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}
.modal-content {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    border: 1px solid var(--primary-orange);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    margin: 0 8px;
    transition: 0.3s;
    padding: 5px;
}
.action-btn.edit { color: #33b5e5; }
.action-btn.delete { color: #ff4444; }
.action-btn:hover { transform: scale(1.2); }

.custom-file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px dashed var(--text-secondary);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-align: center;
}
.custom-file-label:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    background-color: rgba(255, 87, 34, 0.05);
}
.custom-file-label i { font-size: 1.5rem; margin-bottom: 8px; }
input[type="file"] { display: none; }

.new-row { animation: highlightRow 1.5s ease; }
@keyframes highlightRow {
    0% { background-color: rgba(0, 200, 81, 0.2); }
    100% { background-color: transparent; }
}

/* =========================================
   9. RESPONSIVIDADE (MOBILE)
   ========================================= */
@media (max-width: 992px) {
    header {
        height: 100px; 
        padding: 0.5rem 1rem;
        justify-content: center; 
    }

    header .logo img {
        height: 80px; 
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 140px;
        padding-bottom: 2rem;
        text-align: center;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .info-card {
        text-align: left;
    }

    .visual-side, .nav-menu {
        display: none;
    }
    
    .theme-toggle-btn {
        position: absolute;
        right: 15px;
        top: 30px; 
    }
    
    .btn-outline {
        position: absolute;
        left: 15px;
        top: 33px;
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
}/* --- RODAPÉ (FOOTER) --- */
footer {
    background-color: var(--nav-bg); 
    color: var(--text-main);
    padding: 25px 5%; /* Padding lateral para alinhar com o resto do site */
    margin-top: auto;
    border-top: 1px solid rgba(255, 87, 34, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Container para separar os textos */
.footer-container {
    max-width: 1400px; /* Alinha com o limite do site se houver */
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* O SEGRED0: Joga um pra cada ponta */
    align-items: center;
    flex-wrap: wrap; /* Permite quebrar linha no mobile */
    gap: 15px;
}

footer p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Estilo do "Designed by" */
.credit strong {
    color: var(--primary-orange); /* Syntaxys fica laranja */
    font-weight: 700;
}

/* Ajuste para Mobile (ficar um em cima do outro) */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}/* Substitua ou adicione isso na seção do RODAPÉ no final do arquivo */

.syntaxys-link {
    text-decoration: none; /* Tira o sublinhado padrão */
    transition: opacity 0.3s ease;
}

.syntaxys-link strong {
    color: var(--primary-orange); /* Mantém a cor da marca */
    font-weight: 700;
    cursor: pointer;
}

.syntaxys-link:hover {
    opacity: 0.7; /* Efeito visual ao passar o mouse */
    text-decoration: underline; /* Sublinha ao passar o mouse (opcional) */
}