/* Forzar tema claro y colores personalizados */
:root {
    /* Colores principales */
    --color-primary: #2d8659;
    --color-primary-hover: #246d48;
    --color-primary-focus: rgba(45, 134, 89, 0.125);
    
    /* Colores de títulos */
    --color-heading: #2d8659;
    
    /* Colores de fondo y bordes */
    --color-nav-bg: var(--pico-background-color);
    --color-nav-border: var(--pico-muted-border-color);
    --color-separator: var(--pico-muted-border-color);
    
    /* Sombras */
    --shadow-nav: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-image: 0 4px 6px rgba(0, 0, 0, 0.1);
    
    /* Fuentes */
    --font-family-heading: 'Cormorant Garamond', serif;
    --font-family-body: 'Montserrat', sans-serif;
    
    /* Override de variables de Pico */
    --pico-primary: var(--color-primary);
    --pico-primary-hover: var(--color-primary-hover);
    --pico-primary-focus: var(--color-primary-focus);
}

/* Fuentes personalizadas */
body {
    font-family: var(--font-family-body);
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    font-weight: 600;
}

/* Navegación fija */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-nav-bg);
    border-bottom: 1px solid var(--color-nav-border);
    padding: 0.5rem 0.5rem;
    box-shadow: var(--shadow-nav);
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0 auto;
    padding: 0 1rem;
    gap: 1.5rem;
    max-width: 1200px;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

nav a {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    font-family: var(--font-family-body);
    letter-spacing: 0.5px;
}

nav a:hover {
    color: var(--color-primary);
}

/* Espaciado para compensar la navegación fija */
body {
    padding-top: 4rem;
}

/* Contenedor principal */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Secciones */
section {
    padding: 3rem 0;
    min-height: 60vh;
    scroll-margin-top: 5rem;
}

section:first-of-type {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Imágenes responsivas */
img {
    max-width: 100%;
    height: auto;
    border-radius: var(--pico-border-radius);
    margin: 2rem 0;
    box-shadow: var(--shadow-image);
}

/* Separadores horizontales */
hr {
    margin: 3rem 0;
    border: none;
    border-top: 2px solid var(--color-separator);
}

/* Títulos */
h1 {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--color-heading);
    font-weight: 700;
    letter-spacing: 2px;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--color-heading);
    font-weight: 600;
    letter-spacing: 1px;
}

h3, h4, h5, h6 {
    color: var(--color-heading);
    font-weight: 600;
}

/* Centrar el primer párrafo de cada sección */
section > p:first-of-type {
    text-align: center;
    font-size: 1.2rem;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-wrap: wrap;
        gap: 0.5rem;
        font-size: 0.9rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    section {
        min-height: auto;
        padding: 2rem 0;
    }
}
