/* Configurações Globais */
:root {
    --primary: #1A1A1A;
    --primary-dark: #D4AF37;
    --secondary: #2d3748;
    --light: #f8fafc;
    --white: #ffffff;
    --text: #4a5568;
    --whatsapp: #008000;
}

/* Quando a classe .dark-mode estiver ativa no body */
body.dark-mode {
    --primary: #D4AF37;   /* O dourado vira a cor principal */
    --white: #121212;    /* Fundo escuro */
    --light: #1e1e1e;    /* Seções secundárias escuras */
    --text: #D4AF37;     /* Texto claro */
    --secondary: #D4AF37;
}

/* Forçar a transição suave em tudo */
body { 
    transition: background 0.3s, color 0.3s; 
    background-color: var(--white); /* Importante para o fundo mudar */
}

/* Garante que a navbar acompanhe o tema */
.navbar { background: var(--white); }
.nav-links li a { color: var(--text); }

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.6; scroll-behavior: smooth; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.bg-white { background: var(--white); }
.bg-light { background: var(--light); }

/* Navegação */
.navbar { background: var(--white); height: 80px; display: flex; align-items: center; position: fixed; width: 100%; top: 0; box-shadow: 0 2px 10px rgba(0,0,0,0.1); z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-size: 24px; font-weight: 800; color: var(--primary); font-style: italic; }
.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li a { text-decoration: none; color: var(--secondary); margin-left: 30px; font-weight: 500; transition: 0.3s; }
.nav-links li a:hover { color: var(--primary); }
.btn-nav { background: var(--primary); color: var(--white) !important; padding: 10px 25px; border-radius: 50px; }

/* Hero */
.hero { padding: 180px 0 100px; background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%); }
.hero-flex { display: flex; align-items: center; gap: 50px; }
.hero-text h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; color: var(--secondary); }
.highlight { color: var(--primary); }
.hero-btns { display: flex; gap: 15px; margin-top: 30px; }
.hero-img img { width: 100%; max-width: 600px; border-radius:  110% / 70%; border: 0px solid var(--white); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

/* Botões */
.btn-primary { background: var(--primary); color: var(--white); padding: 15px 30px; border-radius: 8px; text-decoration: none; font-weight: 700; }
.btn-secondary { border: 2px solid var(--whatsapp); color: var(--whatsapp); padding: 15px 30px; border-radius: 8px; text-decoration: none; font-weight: 700; }
.btn-white { border: 2px solid var(--primary); background: var(--white); color: var(--primary); padding: 15px 40px; border-radius: 50px; text-decoration: none; font-weight: 700; display: inline-block; font-size: 1.1rem; }

/* Grid e Cards */
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; color: var(--secondary); }
.grid-3 { display: grid; 
    /* Força exatamente 2 colunas de tamanhos iguais */
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px; 
}

/* Ajuste para celular: volta para 1 coluna em telas pequenas */
@media (max-width: 600px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}
.card { background: var(--light); padding: 40px; border-radius: 20px; text-align: center; border-bottom: 5px solid var(--primary); }
.icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; }


/* Portfólio/Eventos */
.section-subtitle { text-align: center; margin: -40px 0 50px; color: var(--gray); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; }
.portfolio-card { background: var(--white); border-radius: 15px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.05); transition: 0.3s; }
.portfolio-card:hover { transform: translateY(-10px); }
.portfolio-card img { width: 100%; height: 450px; object-fit: cover; }
.portfolio-info { padding: 25px; }
.tag { background: #e6fffa; color: var(--primary); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; }

/* Sobre */
.flex-center { display: flex; align-items: center; gap: 40px; }
.about-img img { width: 100%; max-width: 400px; border-radius: 20px; }
.crefito { display: block; margin-bottom: 40px; font-weight: 600; color: var(--primary); }
.skills { list-style: none; margin-top: 20px; }
.skills li { margin-bottom: 10px; font-weight: 500; }
.skills i { color: var(--primary); margin-right: 10px; }

/* Contato CTA */
.contact-cta { background: var(--primary); color: var(--white); text-align: center; padding: 100px 0; }
.contact-cta h2 { font-size: 2.8rem; margin-bottom: 20px;}
.contact-info { margin-top: 70px; display: flex; justify-content: center; gap: 50px; opacity: 1.0; }
.footer { padding: 40px 0; text-align: center; background: #B8860B; color: #1A1A1A; }

/* Responsividade */
@media (max-width: 768px) {
    .hero-flex, .flex-center { flex-direction: column; text-align: center; }
    .nav-links { display: none; }   
    .hero-text h1 { font-size: 2.5rem; }
    .grid-2 { grid-template-columns: 1fr; }
}

.social-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn-social {
  text-decoration: none;
  font-size: 24px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  transition: 0.3s;
  
}

/* Cores Oficiais */
.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

.btn-social:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}