@charset "utf-8";
/* CSS Document */


/* Declaración de la fuente local */
@font-face {
    font-family: 'Fraf';
    src: url('../fonts/fraFont.woff2') format('truetype'); /* Asegúrate que la ruta sea correcta */
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* Variables de Marca */
:root {
    --azul-profundo: #050036;
    --naranja-destaque: #ec5212;
    --blanco: #ffffff;
    --max-width: 1080px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h2, 
.main-nav a, 
body {
    font-family: 'Poppins', sans-serif;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--blanco);
    color: var(--azul-profundo);
    line-height: 1.6;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
.main-header {
    background-color: var(--blanco);
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0; /* Sutil separación */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px; /* Ajustable según el diseño del logo */
    width: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--azul-profundo);
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--naranja-destaque);
}


/* --- Estilos de Hover --- */
.main-nav ul li a {
    position: relative;
    text-decoration: none;
    color: var(--azul-profundo);
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Línea animada bajo el texto */
.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--naranja-destaque);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav ul li a:hover {
    color: var(--naranja-destaque);
}

.main-nav ul li a:hover::after {
    width: 100%;
}

/* --- Menú Hamburguesa (Mobile) --- */
.menu-toggle {
    display: none; /* Oculto en desktop */
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--azul-profundo);
    transition: 0.3s;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Visible en móvil */
        z-index: 100;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%; /* Escondido a la derecha */
        background-color: var(--blanco);
        width: 80%;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        right: 0; /* Aparece al dar click */
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    /* Animación X de la hamburguesa */
    .menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; }
    .menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -7px); }
}





/* Hero Section */
.hero {
    padding: 20px 0;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px; /* Altura sugerida para desktop */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la foto llene el espacio sin deformarse */
}

.hero-overlay-logo {
    position: absolute;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1); /* Opcional: un toque sutil de transparencia */
    backdrop-filter: blur(2px); /* Efecto moderno */
    padding: 40px;
    border-radius: 50%; /* Si el logo es circular */
}

.hero-overlay-logo img {
    max-width: 250px;
    height: auto;
}

/* Media Query para Móviles */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-image-wrapper {
        height: 300px;
    }
}

/* Encabezado Principal (H1) - Fragile */
h1 {
    font-family: 'Fraf', serif;
	font-weight: 400;
    font-size: 4rem; /* Ajusta según el diseño del Valle de Guadalupe */
    color: var(--azul-profundo);
    margin-bottom: 20px;
}



/* Texto de secciones */
p {
    font-weight: 400;
    font-size: 1rem;
    color: var(--azul-profundo);
}

.sep001 { height:64px; width:100%; margin:10px 0 0 0; background-image:url(../imagenes/divS001.jpg); background-position:top center; background-repeat:repeat-x; }

.sep002 { height:56px; width:100%; margin:10px 0 0 0; background-image:url(imagenes/flor-cinta02.png); background-position:top center; background-repeat:repeat-x; }


.footerZone { background-color:#1395a3; color:#FFF; padding:20px; text-align:center; }

/*Footer*/

.main-footer {
    background-color: #1395a3; /* El color que pediste */
    color: #ffffff;
    padding: 80px 0 0 0; /* Espacio arriba, 0 abajo para la barra de copyright */
    font-family: 'Poppins', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    text-align: left;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

/* Una pequeña línea decorativa bajo los títulos */
.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--naranja-destaque);
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Estilos de los links */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.footer-col ul li a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Iconos de redes sociales en el footer */
.social-icons-footer {
    display: flex;
    gap: 15px;
}

.social-icons-footer img {
    width: 40px; /* Un poco más pequeños que en la landing para que no roben cámara */
    height: 40px;
    transition: transform 0.3s;
}

.social-icons-footer a:hover img {
    transform: translateY(-5px);
}

/* Barra inferior de Copyright */
.footer-bottom {
    background-color: rgba(0,0,0,0.1); /* Oscurecemos un poquito el fondo aqua */
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    margin-top: 40px;
}

/* Ajuste Responsivo */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-icons-footer {
        justify-content: center;
    }
}