/* assets/css/estilos.css */

:root {
    --primary: #045171;
    --dark: #333333;
    --light: #f1f5f9;
    --white: #ffffff;
    --accent: #d32332;
    --orange: #ffa71c;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    margin: 0;
    background-color: var(--light);
    color: var(--dark);
}

/* --- Navbar --- */
/* --- Navbar (Centrado y Alineado al Contenido) --- */
.navbar {

    color: var(--dark);
    
    /* Flexbox: Logo a la izquierda, Menú a la derecha */
    display: flex;
    flex-direction: row; 
    justify-content: space-between; 
    align-items: center;

    /* --- EL TRUCO PARA QUE NO ESTÉN EN LOS EXTREMOS --- */
    max-width: 1100px; /* Mismo ancho que tu clase .container */
    margin: 0 auto;    /* Esto centra la barra invisiblemente en el medio de la pantalla */
    width: 90%;        /* Ocupa el 90% en pantallas pequeñas, pero se detiene en 1100px */
    padding: 1.5rem 0; /* Relleno arriba y abajo, pero 0 a los lados para alinear exacto */
}
/* Enlaces (Menú) */
/* Logo */

.logo { 
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px; 
    width: auto;
    display: block;
}
.logo-2{
    height: 25em;
    display: flex;
    justify-content: center;
    /* Evita que el logo se aplaste si falta espacio */
    flex-shrink: 0;
}
.logo-2 img {
    /* Define la altura fija para que el SVG no se vuelva gigante */
    height: 100%; 
    width: auto; /* Mantiene la proporción correcta */
    display: block;
    
    /* Opcional: Si el SVG tiene mucho espacio vacío, usa esto para ajustarlo */
    /* object-fit: contain; */
}

.leer_mas{
    margin-top: 40px;
}
.leer_mas i{
    font-size: 0.8em; 
    margin-left: 5px;
}
.btn-hero-leer-mas {
    display: inline-block;
    color: #ffffff; /* Texto blanco */
    border: 2px solid #ffffff; /* Borde blanco */
    padding: 10px 30px;
    border-radius: 50px; /* Bordes muy redondos */
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background-color: transparent;
}

/* Efecto al pasar el mouse */
.btn-hero-leer-mas:hover {
    background-color: #ffffff; /* Fondo se vuelve blanco */
    color: #d32332; /* El texto se vuelve rojo (del color del fondo) */
    transform: translateY(-3px); /* Se levanta un poquito */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* Sombra suave */
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px; /* Espacio entre los botones */
    padding: 0;
    margin: 0;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    color: #334155;
    position: relative;
}

.nav-links a:hover {
    color: var(--orange);
}

/* Línea animada debajo de los enlaces */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--orange);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}
.btn-login {
    background-color: var(--primary);
    
    padding: 8px 16px;
    border-radius: 6px;
    transition: 0.3s;
}
.li-btn-login a{
    color: var(--light);
}
.li-btn-login a:hover{
    color:var(--white);
}
.btn-login:hover { 
    background-color: var(--orange); 
}
/* --- Sección Inicio (Información del Evento) --- */
.inicio-info {
    background: var(--white);
    padding: 1rem 1rem;
    border-top: 5px solid var(--primary);
    border-radius: 12px;
}

.titulo-seccion {
    text-align: center;
    font-size: 2.4rem;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 800;
}

.intro-text {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3rem auto;
    font-size: 1.2rem;
    color: #475569;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1rem;
}
.container div{
    text-align: center;
    margin-bottom: 3rem;
}

.btn-registro {
    display: inline-block;
    color: var(--light);
    padding: 10px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background-color: var(--primary);
}
.btn-registro:hover{
    background-color: var(--orange); /* Fondo se vuelve blanco */
    color: var(--light); /* El texto se vuelve rojo (del color del fondo) */
    transform: translateY(-3px); /* Se levanta un poquito */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* Sombra suave */
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-card {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: background-color 0.6s ease;
}

.info-card h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary);
    /*transition: color 0.3s,background-color 0.6s ease;*/
}
.info-card p {
    color: var(--dark);
   /* transition: color 0.3s, background-color 0.6s ease;*/

}
.info-card:hover {
    background: var(--orange);
    transform: translateY(-5px);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.info-card:hover H3, .info-card:hover p {
    transform: translateY(-5px);
    color: var(--white);
}
.subtitulo-seccion {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    text-align: center;
    color: var(--dark);
}

.lista-beneficios {
    max-width: 700px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
    color:  var(--white);
}

.lista-beneficios li {
    background: var(--dark);
    padding: 12px 18px;
    margin-bottom: 10px;
    border-left: 5px solid var(--primary);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: background-color 0.6s ease;
}
.lista-beneficios li:hover{
    background: var(--primary);
}


/* --- Hero & General --- */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(to right, #ffa71c, #d32332, #333333);

}
.hero_h1 {
    font-size: 3em;
    margin-block-start: 3em;
    color:  var(--white);
}

.hero_p {
    font-size: 2em;
    margin-block-start: 3em;
    margin-block-end: 3em;
    color:  var(--white);
}


#tienda{
    display: none;
}
h2 { 
    text-align: center; 
    margin-bottom: 2rem; 
    color: var(--dark); 
}

/* --- Formulario --- */
.form-modern {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    max-width: 450px;
    margin: 0 auto;
}

.form-modern input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-sizing: border-box;
}

.form-modern button {
    width: 100%;
    padding: 12px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}
.form-modern button:hover{
    background-color: var(--orange); /* Fondo se vuelve blanco */
    color: var(--white); /* El texto se vuelve rojo (del color del fondo) */
    transform: translateY(-3px); /* Se levanta un poquito */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* Sombra suave */
}

.Textbox-preunta{
    width: 100%; 
    padding: 12px; 
    margin-bottom: 15px; 
    border-radius: 8px; 
    border: 1px solid #cbd5e1;
    box-sizing: border-box;
}
/* --- Tienda (Grid) --- */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.product-card:hover { transform: translateY(-5px); }

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.badge {
    position: absolute; 
    top: 10px; 
    right: 10px;
    background: var(--accent); color: white;
    padding: 4px 10px; border-radius: 20px; font-size: 0.8rem;
}

.product-info { 
    padding: 1.5rem; 
}
.price-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-top: 1rem; 
}
.price { 
    font-size: 1.5rem; 
    font-weight: 800; 
}
.btn-add { 
    background: var(--dark); 
    color: white; 
    border: none; 
    padding: 8px 12px; 
    border-radius: 6px; 
    cursor: pointer; 
}

/* --- Tablas Admin --- */
table { 
    width: 100%; 
    border-collapse: collapse; 
    background: white; 
    margin-top: 20px; 
}
th, td { 
    padding: 12px; 
    border-bottom: 1px solid #ddd; 
    text-align: left; 
}
th { 
    background-color: var(--dark); 
    color: white; 
}


/* --- Estilos para el Enlace de Dirección --- */
.link-direccion {
     /*color:var(--dark); Color del texto normal */
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
    border-bottom: 1px dashed #ffa71c; /* Subrayado sutil */
}

.link-Conferencistas{
text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
    border-bottom: 1px dashed #ffa71c; /* Subrayado sutil */
}
/* --- Estilos de la Ventana Modal --- */
.modal-overlay {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Fondo oscuro semitransparente */
    backdrop-filter: blur(5px); /* Efecto borroso bonito */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}


.modal-overlay.active {
    display: flex; /* Usamos flex para centrar */
    opacity: 1;
}


.modal-content {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 680px; /* Ancho máximo de la tarjeta */
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    text-align: left;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}



.modal-content h3 {
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid #ffa71c;
    display: inline-block;
    padding-bottom: 5px;
}
.modal-content h2 {
    color: #045171; 
    margin-bottom: 5px;
}
.modal-img{
    margin: 20px auto; 
    width: 120px; 
    height: 120px; 
    border-radius: 50%; 
    overflow: hidden; 
    border: 4px solid #ffa71c;
}
.modal-img img{
    width: 100%; 
    height: 100%; 
    object-fit: cover;
}

/* Botón de Cerrar (X) */
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

.close-btn:hover {
    color: #ef4444;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #ddd;
}
.modal-info a{
        background-color: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 6px;
    transition: 0.3s;
    text-decoration: none;
}

.modal-info p {
    color: #334155;
    margin: 8px 0;
    font-size: 0.95rem;
}
/* --- Footer Moderno --- */
.site-footer {
    background-color:var(--dark); /* Azul muy oscuro/Gris */
    color: #cbd5e1; /* Texto gris claro */
    padding: 4rem 0 0 0;
    margin-top: 60px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

        /* Pequeña línea decorativa debajo de los títulos */
.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: #ffa71c; /* Tu color naranja de acento */
    border-radius: 2px;
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

        /* Enlaces del Footer */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: #ffa71c;
    padding-left: 5px; /* Efecto de movimiento al pasar el mouse */
}

        /* Sección de Contacto */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}
.contact-item a{
    color:#cbd5e1; 
    text-decoration:none;
}
.contact-item a:hover{
    color:  var(--orange);
}
.contact-icon {
    color: #ffa71c;
    font-size: 1.1rem;
    margin-top: 3px;
}


        /* Redes Sociales */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1e293b;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: #ffa71c;
    transform: translateY(-3px);
}

/* Copyright inferior */
.footer-bottom {
    text-align: center;
    border-top: 1px solid #334155;
    margin-top: 3rem;
    padding: 2rem;
    font-size: 0.85rem;
    color: var(--light);
    background-color: var(--orange);
}
.footer-bottom p{
text-shadow:  0 5px 15px rgba(0,0,0,0.2);
}
/* =========================================
   DISEÑO RESPONSIVO (MOVIL)
   ========================================= */

   @media screen and (max-width: 768px) {
    
    .logo-2 {
        height: 12em;
        width: 100%; /* Ocupa todo el ancho disponible */
        justify-content: center; /* Centra la imagen horizontalmente */
        margin-bottom: 15px; /* Empuja el menú hacia abajo para que no se peguen */
    }

    .logo-2 img {
        height: 100%; /* Un poco más pequeño en celulares para que se vea elegante */
    }
}

