/* light-theme.css - VERSÃO FINAL COM OCULTAÇÃO DO BOTÃO DE TEMA NO MOBILE */

@keyframes aurora-flow {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.light-theme {
    --body-bg: #e2e8f0;
    background-color: #e2e8f0;
    color: #1a202c;
}

.light-theme #scene-container {
    background: #e2e8f0;
}

.light-theme nav {
    background: linear-gradient(
        90deg, 
        rgba(144, 164, 177, 0.4) 0%,
        rgba(61, 90, 128, 0.6) 25%,
        rgba(0, 255, 255, 0.5) 50%,
        rgba(61, 90, 128, 0.6) 75%,
        rgba(144, 164, 177, 0.4) 100%
    );
    background-size: 200% 100%;
    animation: aurora-flow 15s linear infinite;
    transition: background 0.5s ease;
}

.light-theme .nav-link, .light-theme .theme-toggle-button { color: #2d3748; }
.light-theme .nav-link:hover, .light-theme .theme-toggle-button:hover { color: #000; }
.light-theme .title-shadow { color: #1a202c; text-shadow: none; }
.light-theme #home h1 { color: #2d3748; }
.light-theme #home p { color: #4a5568; }

.light-theme .animated-gradient {
    background: linear-gradient(90deg, #3d5a80, #2c3e50, #3d5a80);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-flow 10s ease infinite;
}

.light-theme .glitch-hover:hover::before, .light-theme .glitch-hover:hover::after { background: var(--body-bg); }

.light-theme #entry-button {
    color: #2c3e50;
    border-color: #2c3e50;
    text-shadow: none;
    animation: none;
    background: rgba(255, 255, 255, 0.5);
}
.light-theme #entry-button:hover {
    background: rgba(255, 255, 255, 0.8);
}
.light-theme #static-button {
    color: #4a5568;
    border-color: rgba(74, 85, 104, 0.3);
    background: rgba(255, 255, 255, 0.2);
}
.light-theme #static-button:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(74, 85, 104, 0.6);
    color: #1a202c;
}

.light-theme .service-panel {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: none;
    transition: all 0.3s ease;
}

.light-theme .service-panel:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-10px) scale(1.02);
}

.light-theme .service-title { color: #1a202c; text-shadow: none; }
.light-theme .service-panel:hover .service-title { color: #000; }
.light-theme .service-title::after { background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent); }
.light-theme .service-panel p { color: #4a5568; text-shadow: none; }
.light-theme .highlight-text { color: #2c3e50; text-shadow: none; }
.light-theme .service-icon { filter: none; color: #4a5568; }
.light-theme .service-panel:hover .service-icon { color: #000; filter: none; }

.light-theme .hologram-avatar-container {
    color: #4a5568;
    text-shadow: 0 0 10px rgba(74, 85, 104, 0.2);
}
.light-theme .hologram-avatar-container::before, 
.light-theme .hologram-avatar-container::after {
    border-color: #4a5568 transparent;
}
.light-theme .hologram-avatar-container .block::after {
    background: rgba(74, 85, 104, 0.5);
    box-shadow: 0 0 8px rgba(74, 85, 104, 0.6);
}

.light-theme #manifesto-trigger { color: #2c3e50; border-color: rgba(44, 62, 80, 0.3); }
.light-theme #manifesto-trigger:hover { background-color: rgba(44, 62, 80, 0.1); border-color: rgba(44, 62, 80, 0.7); text-shadow: none; }
.light-theme .skill-card { background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(0, 0, 0, 0.1); }
.light-theme .skill-card:hover { background: #fff; border-color: rgba(44, 62, 80, 0.5); }
.light-theme .skill-card svg { color: #2c3e50; }
.light-theme .skill-progress { background: linear-gradient(90deg, #3d5a80, #2c3e50); }

.light-theme #data-terminal-panel { background: rgba(226, 232, 240, 0.7); border: 1px solid rgba(0, 0, 0, 0.1); }
.light-theme #terminal-title { color: #2c3e50; text-shadow: none; }
.light-theme #terminal-text { color: #2d3748; }
.light-theme #terminal-text .closing-statement { color: #3d5a80; text-shadow: none; }
.light-theme #terminal-text::after { color: #1a202c; }

.light-theme .form-container { background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(45, 55, 72, 0.1); }
.light-theme .form-container::before { background-image: linear-gradient(rgba(45, 55, 72, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(45, 55, 72, 0.04) 1px, transparent 1px); }
.light-theme .form-section-title { color: #2c3e50; text-shadow: none; }
.light-theme .form-section-title::before, .light-theme .form-section-title::after { background: rgba(45, 55, 72, 0.1); }
.light-theme .form-input, .light-theme .form-textarea { background-color: rgba(255, 255, 255, 0.5); border-color: rgba(45, 55, 72, 0.2); color: #2d3748; }
.light-theme .form-input:focus, .light-theme .form-textarea:focus { border-color: #2c3e50; box-shadow: 0 0 10px rgba(44, 62, 80, 0.2); }

.light-theme .input-wrapper label {
    color: #4a5568;
}
.light-theme .form-input:not(:placeholder-shown) + label,
.light-theme .form-input:focus + label {
    background: #e2e8f0;
    color: #2c3e50;
}

.light-theme #quote-form .form-options-wrapper h4 {
    color: #1a202c; /* Altera a cor dos subtítulos (ex: FUNCIONALIDADES BÁSICAS) para preto */
}

.light-theme .form-choice-label {
    background-color: rgba(255, 255, 255, 0.5);
    border-color: rgba(45, 55, 72, 0.2);
    color: #4a5568;
}
.light-theme .form-choice-label:hover {
    background-color: rgba(255, 255, 255, 0.8);
    border-color: #3d5a80;
    color: #1a202c;
}
.light-theme input[type="radio"]:checked + .form-choice-label, 
.light-theme input[type="checkbox"]:checked + .form-choice-label {
    background-color: rgba(61, 90, 128, 0.1);
    border-color: #3d5a80;
    color: #2c3e50;
    text-shadow: none;
    box-shadow: 0 0 10px rgba(44, 62, 80, 0.2);
}
.light-theme input[type="radio"]:focus-visible + .form-choice-label,
.light-theme input[type="checkbox"]:focus-visible + .form-choice-label {
    background-color: rgba(61, 90, 128, 0.1);
    border-color: #3d5a80;
    color: #2c3e50;
    box-shadow: 0 0 10px rgba(44, 62, 80, 0.2);
}

.light-theme #dynamic-services-link { color: #4a5568; }
.light-theme #dynamic-services-link:hover { color: #1a202c; text-shadow: none; }
.light-theme #dynamic-services-link .cursor { color: #2c3e50; }
.light-theme #dynamic-services-link .text-cyan-400 { color: #3d5a80; }

.light-theme #hamburger-btn {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.1);
    color: #2d3748;
}

.light-theme .mobile-menu-container {
    background: rgba(226, 232, 240, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.light-theme .mobile-nav-link {
    color: #2d3748;
}

.light-theme .mobile-nav-link:hover {
    color: #000;
}

.light-theme #sound-toggle {
    top: 15px;
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(44, 62, 80, 0.2);
}

.light-theme #sound-toggle:hover {
    background: rgba(255, 255, 255, 0.9);
}

.light-theme #icon-sound-on {
    stroke: #2c3e50;
}

.light-theme #icon-sound-off {
    stroke: #c0392b;
}

/* ===== ESTILOS LGPD PARA TEMA CLARO ===== */

.light-theme .privacy-banner-content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #2d3748;
}

.light-theme .privacy-link {
    color: #3d5a80;
}

.light-theme #privacy-policy-modal .policy-text {
    color: #4a5568;
}

.light-theme #privacy-policy-modal .policy-text h4 {
    color: #2d3748;
}

.light-theme .form-checkbox {
    border-color: rgba(45, 55, 72, 0.4);
}

.light-theme .form-checkbox::before {
    box-shadow: inset 1em 1em #2c3e50;
}

.light-theme .form-checkbox:checked {
    background-color: rgba(61, 90, 128, 0.1);
    border-color: #3d5a80;
}

/* AJUSTE: Oculta o botão de tema do desktop em telas pequenas */
@media (max-width: 767px) {
  #theme-toggle-desktop {
    display: none;
  }
}

/* ================================================ */
/* ============= RODAPÉ - TEMA CLARO ============== */
/* ================================================ */

.light-theme .footer-line {
    background: linear-gradient(90deg, transparent, #4a5568, transparent);
    box-shadow: 0 0 8px rgba(74, 85, 104, 0.2);
}

.light-theme .footer-text {
    color: #4a5568; /* Cor de texto padrão para parágrafos no tema claro */
    text-shadow: none;
}
/* ================================================ */
/* ======= ESTILOS DO PORTFÓLIO (TEMA CLARO) ====== */
/* ================================================ */

.light-theme .portfolio-card {
    background: #f1f5f9;
}

.light-theme .portfolio-card::before {
    background: conic-gradient(from 0deg, transparent, transparent, #3d5a80, transparent, transparent);
}

.light-theme .portfolio-card .card-border {
    background: #f1f5f9;
}

.light-theme .portfolio-card:hover {
    background: #ffffff;
}

.light-theme .portfolio-overlay {
    background: radial-gradient(circle, rgba(226, 232, 240, 0.2) 0%, rgba(226, 232, 240, 0.7) 100%);
    color: #2c3e50;
    text-shadow: none;
}

.light-theme #project-modal {
    background-color: rgba(226, 232, 240, 0.8) !important;
    backdrop-filter: blur(10px) !important;
}

.light-theme #project-modal .modal-content {
    background: rgba(241, 245, 249, 0.8);
    border-color: rgba(44, 62, 80, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.light-theme #modal-category { color: #3d5a80; }
.light-theme #modal-title { color: #1a202c; text-shadow: none; }

.light-theme .scanline-overlay {
    background: linear-gradient(to bottom, transparent 0%, rgba(61, 90, 128, 0.2) 50%, transparent 100%);
}

.light-theme #modal-tabs { border-color: rgba(44, 62, 80, 0.2); }
.light-theme .modal-tab { color: #4a5568; }
.light-theme .modal-tab.active,
.light-theme .modal-tab:hover { color: #2c3e50; }
.light-theme .modal-tab::after { background-color: #2c3e50; }
.light-theme #modal-description { color: #2d3748; }
.light-theme #modal-architecture-list li { color: #2d3748; }
.light-theme #modal-architecture-list svg { color: #3d5a80; }

.light-theme .tech-stack-item {
    background-color: rgba(61, 90, 128, 0.05);
    border-color: rgba(61, 90, 128, 0.1);
    color: #4a5568;
}

.light-theme .tech-stack-item:hover {
    background-color: rgba(61, 90, 128, 0.15);
    color: #1a202c;
}

.light-theme .tech-stack-item .tech-icon {
    color: #3d5a80;
}

.light-theme .modal-action-button {
    border-color: #2c3e50;
    color: #2c3e50;
    text-shadow: none;
}

.light-theme .modal-action-button:hover {
    background-color: rgba(44, 62, 80, 0.1);
    box-shadow: none;
}
/* Estilo do painel de texto para o tema claro */
.light-theme .overlay-text-box {
    background: rgba(241, 245, 249, 0.7); /* Fundo claro e semitransparente */
    border: 1px solid rgba(44, 62, 80, 0.2); /* Borda escura sutil */
    color: #2c3e50;                   /* Texto escuro para contraste */
    text-shadow: none;                  /* Sem brilho no tema claro */
}
/* light-theme.css */

/* ... (todo o código existente) ... */


/* ================================================ */
/* ====== AJUSTES NOVO LAYOUT MODAL PORTFOLIO ====== */
/* ================================================ */

/* Ajusta o tamanho da coluna de texto para não esticar demais */
.modal-text-column {
    max-width: 600px; 
    margin: 0 auto;
}

/* Adiciona uma linha divisória e um espaçamento acima da seção da Stack */
.light-theme .modal-stack-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    /* Cor da borda para o tema claro */
    border-top: 1px solid rgba(44, 62, 80, 0.2); 
}

/* Ajusta a grade da stack para usar melhor o espaço horizontal */
.light-theme .tech-stack-grid {
    display: grid;
    /* Aumenta o tamanho mínimo dos itens para preencher melhor */
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}
/* ================================================ */
/* ====== ESTILOS BOTÃO DE TELA CHEIA (SVG) ====== */
/* ================================================ */

/*
  A classe 'group' foi adicionada ao contêiner da mídia no HTML.
  Isso faz com que o botão com 'group-hover:opacity-100' apareça
  quando o mouse estiver sobre qualquer parte da área de mídia.
*/

/* Estilo base do botão de tela cheia */
#video-fullscreen-btn {
    position: absolute;
    bottom: 0.75rem; /* 12px */
    right: 0.75rem;  /* 12px */
    background-color: rgba(10, 20, 40, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: #e0e0e0;
    border-radius: 0.375rem; /* rounded-md */
    padding: 0.5rem; /* 8px */
    z-index: 10;
    cursor: pointer;
    
    /* Começa invisível e aparece suavemente */
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

/* Efeito hover para o botão */
#video-fullscreen-btn:hover {
    background-color: rgba(10, 20, 40, 0.9);
    border-color: rgba(0, 255, 255, 0.5);
}

/* Mostra o botão quando o mouse está sobre o contêiner (classe 'group') */
.group:hover #video-fullscreen-btn {
    opacity: 1;
}

/* Ajuste específico para o tema claro */
.light-theme #video-fullscreen-btn {
    background-color: rgba(255, 255, 255, 0.5);
    border-color: rgba(44, 62, 80, 0.2);
    color: #2c3e50;
}

.light-theme #video-fullscreen-btn:hover {
    background-color: rgba(255, 255, 255, 0.8);
}
/* Estilos para os ícones de tela cheia */
#icon-enter-fullscreen {
   display: block; /* Mostra o ícone de maximizar por padrão */
}

#icon-exit-fullscreen {
   display: none; /* Esconde o ícone de minimizar por padrão */
}

/* O JavaScript vai alternar a visibilidade dessas classes */
.fullscreen-active #icon-enter-fullscreen {
   display: none;
}

.fullscreen-active #icon-exit-fullscreen {
   display: block;
}
/* ================================================ */
/* ====== ESTILOS PARA TELA CHEIA DO VÍDEO (v2) ====== */
/* ================================================ */

/* Quando o contêiner do vídeo estiver em tela cheia... */
.group:fullscreen {
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* ...o vídeo dentro dele deve ocupar todo o espaço... */
.group:fullscreen #modal-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Preenche a tela inteira, pode cortar bordas */
    max-width: none;   /* Remove qualquer restrição de largura */
    max-height: none;  /* Remove qualquer restrição de altura */
}

/* ...e o botão de tela cheia deve ficar sempre visível. */
.group:fullscreen #video-fullscreen-btn {
    opacity: 1;
}