/* CSS global - estilos compartilhados entre todas as páginas */

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variáveis CSS para cores e espaçamentos */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --text-color: #333;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-radius: 8px;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Tipografia */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    margin-bottom: 1rem;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* Botões */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    transition: var(--transition);
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Estrutura base do cabeçalho */
.main-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.header-logo {
    font-size: 1.875rem;
    font-weight: bold;
    color: var(--primary-color);
    font-family: 'Cinzel', serif;
    text-decoration: none;
    transition: var(--transition);
}

.header-logo:hover {
    color: var(--secondary-color);
}

/* Navegação desktop */
.main-nav {
    display: none;
    gap: 0.5rem; /* Equivalente ao space-x-2 */
}

.nav-link {
    color: #64748b;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-link.active {
    color: #1e293b;
    font-weight: 600;
}

/* Botão do menu móvel */
.mobile-menu-button {
    display: block;
    background: none;
    border: none;
    color: #1e293b;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-button svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Menu móvel */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.mobile-nav .nav-link:hover {
    background-color: #f1f5f9;
}

/* Responsividade */
@media (min-width: 768px) {
    .main-nav {
        display: flex;
    }
    
    .mobile-menu-button {
        display: none;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}
