:root {
    --primary-color: #2E9A98;
    --secondary-color: #E89DB1;
    --dark-color: #4A4A4A;
    --background-color: #FCFBF8;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--dark-color);
    line-height: 1.7;
    background-color: var(--background-color);
    font-size: 16px;
}
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: var(--primary-color);}

/* --- Header --- */
.site-header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    position: sticky;
    top: 0;
    width: 100%;
}
.header-container { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; }
.logo-img { max-height: 100px; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 10px; margin: 0; padding: 0;}
.main-nav a { text-decoration: none; color: var(--dark-color); font-weight: 600; font-size: 15px; padding: 8px 16px; border-radius: 20px; transition: all 0.3s ease; }
.main-nav a:hover { background-color: var(--primary-color); color: white; }
.btn { display: inline-block; background-color: var(--secondary-color); color: white; padding: 12px 30px; border-radius: 30px; text-decoration: none; font-weight: 600; transition: all 0.3s; border: none; }
.btn:hover { background-color: #d18ca0; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.15); }

/* --- Hero Section (index.html) --- */
.hero-banner {
    background-image: url('../assets/images/FTO_MKT_Bodegon-Torta-Floral-Ventana_20250825_v1.png');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.50);
    z-index: 1;
}
.hero-banner-container { position: relative; z-index: 2; max-width: 800px; }
.hero-banner-content h1 { font-size: 3.5em; color: white; margin-bottom: 20px; font-family: var(--font-heading); }
.hero-banner-content p { font-size: 1.2em; margin-bottom: 30px; line-height: 1.8; }
/* Botón 'Ver Próximos Talleres' en index.html - Verde */
.hero-banner-content .btn-primary {
    background-color: var(--primary-color);
}
.hero-banner-content .btn-primary:hover {
    background-color: #288a88;
}

/* --- Footer --- */
.site-footer { background-color: var(--dark-color); color: #ccc; padding: 60px 0 20px; }
.footer-container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { max-width: 150px; margin-bottom: 15px; filter: brightness(0) invert(1); } /* El logo del footer en blanco */
.footer-about p { color: #999; font-size: 0.95em; line-height: 1.6; }
.footer-contact h4, .footer-social h4 { font-family: var(--font-body); font-size: 1.2em; color: white; margin-bottom: 15px; }
.footer-contact p { display: flex; align-items: center; margin-bottom: 8px; font-size: 0.95em; }
.footer-contact i { margin-right: 10px; width: 20px; color: var(--primary-color); }
.footer-social .social-links a { color: #ccc; font-size: 1.5em; margin-right: 15px; transition: color 0.3s; text-decoration: none; }
.footer-social .social-links a:hover { color: var(--secondary-color); }
.footer-bottom { border-top: 1px solid #444; padding-top: 20px; text-align: center; font-size: 0.9em; color: #888; }

/* --- RESPONSIVE Y MENÚ HAMBURGUESA --- */
.hamburger-menu { display: none; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1001; }
.hamburger-line { display: block; width: 25px; height: 3px; background-color: var(--dark-color); margin: 5px 0; transition: all 0.3s ease-in-out; }

@media (max-width: 768px) {
    .main-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: white; box-shadow: 0 10px 10px rgba(0,0,0,0.1); z-index: 999; }
    .main-nav.is-active { display: block; }
    .main-nav ul { flex-direction: column; padding: 20px 0; gap: 0; }
    .main-nav li { width: 100%; text-align: center; }
    .hamburger-menu { display: block; }
    .hamburger-menu.is-active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger-menu.is-active .hamburger-line:nth-child(2) { opacity: 0; }
    .hamburger-menu.is-active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .hero-banner-content h1 { font-size: 2.5em; }
    .footer-container { grid-template-columns: 1fr; }
    /* Estilos responsivos para Sobre Mí */
    .story-container { flex-direction: column; }
    .story-image { margin-bottom: 30px; }
    /* Estilos responsivos para Contacto */
    .contact-content-wrapper { grid-template-columns: 1fr; }
    .contact-form-container { padding-left: 0; border-left: none; margin-top: 40px; }
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form textarea,
    .contact-form .btn {
        max-width: 100%;
        display: block;
    }
}

/* --- ESTILOS COMPARTIDOS PARA PÁGINAS INTERNAS (SOBRE MÍ, TALLERES, CONTACTO) --- */
.page-title-section {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 20px;
    text-align: center;
}
.page-title-section h1 {
    color: white;
    font-size: 3em;
    margin-bottom: 10px;
}
.page-title-section .page-subtitle, .page-title-section p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1em;
    color: #ccc;
}

/* --- ESTILOS ESPECÍFICOS PARA LA PÁGINA "TALLERES" --- */
.workshops-grid-section { padding: 80px 0; background-color: #f9f9f9; }
.workshops-grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: stretch;
}
.workshop-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.workshop-card:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0,0,0,0.15); }
.workshop-image img { width: 100%; height: 250px; object-fit: cover; }
.workshop-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.workshop-content h3 { font-family: var(--font-heading); margin-bottom: 15px; color: var(--dark-color); }
.workshop-content .description { margin-bottom: 20px; }
.workshop-features { list-style: none; padding-left: 0; margin-bottom: 20px; }
.workshop-features li { margin-bottom: 8px; }
/* Botones de las tarjetas de talleres - Verde */
.workshop-card .btn.btn-primary {
    background-color: var(--primary-color);
}
.workshop-card .btn.btn-primary:hover {
    background-color: #288a88;
}


/* --- ESTILOS ESPECÍFICOS PARA "SOBRE MÍ" --- */
.story-section { padding: 80px 0; }
.story-container {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}
.story-image {
    flex-basis: 40%;
}
.story-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.story-content {
    flex-basis: 60%;
}
/* Títulos de sección en Sobre Mí (¡Hola! Soy Leo, La Formación, Mi Misión Hoy) - unificar tamaño */
.story-intro h2,
.story-block .story-subtitle {
    font-size: 2.2em; /* Ajustado para ser consistente y legible */
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.2;
    border-bottom: 2px solid var(--secondary-color); /* Separador visual */
    padding-bottom: 10px;
    display: inline-block; /* Para que el borde se ajuste al texto */
}
.story-block p { margin-bottom: 15px; } /* Espaciado entre párrafos */
.final-cta {
    display: block;
    text-align: center;
    font-size: 2.5em;
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 50px;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.final-cta:hover {
    transform: scale(1.05);
}


/* --- ESTILOS ESPECÍFICOS PARA "CONTACTO" --- */
.contact-section { padding: 80px 0; }
.contact-container { background-color: white; padding: 40px; border-radius: 15px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.contact-content-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; } /* Restaurado a 2 columnas */
.contact-info h3 { font-size: 1.8em; margin-bottom: 15px; }
/* Espaciado después del texto de introducción en Nuestros Canales */
.contact-info p:first-of-type {
    margin-bottom: 35px;
}
/* Estilo para los ítems de contacto (WhatsApp, Correo, Ubicación) */
.contact-info .info-item {
    display: flex;
    align-items: flex-start; /* Alinea texto arriba si es multilínea, ícono centrado */
    margin-bottom: 25px;
}
.contact-info .info-item i {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-right: 15px;
    width: 30px; /* Ancho fijo para alineación vertical de iconos */
    text-align: center;
    padding-top: 2px; /* Ajuste fino si el ícono parece muy arriba */
}
.contact-info .info-item div { /* Contenedor para el texto del ítem */
    display: flex;
    flex-direction: column; /* Para que H4 y el texto queden uno debajo del otro si hay más */
}
.contact-info .info-item h4 {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 3px; /* Espacio entre el título del campo y su valor */
    color: var(--dark-color);
    line-height: 1.2; /* Ajuste de altura de línea */
}
.contact-info .info-item span { /* Para el texto del valor (número, email, dirección) */
    font-size: 1em;
    color: #666; /* Un color un poco más suave */
    line-height: 1.2;
}

/* Contenedor del formulario */
.contact-form-container {
    padding-left: 40px;
    border-left: 1px solid #eee;
}
.contact-form-container h3 { font-size: 1.8em; margin-bottom: 25px; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9em; }

/* Campos del formulario - Restaurados y con ancho consistente */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%; /* Ocupa el 100% del contenedor */
    max-width: 350px; /* Ancho máximo para que no se extienda demasiado */
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1em;
    box-sizing: border-box;
}
.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Botón "Enviar Mensaje" - Verde y con ancho ajustado */
.contact-form .btn {
    width: auto;
    max-width: 200px; /* Ancho más pequeño para el botón */
    padding: 12px 25px;
    font-size: 1em;
    margin-top: 15px;
    background-color: var(--primary-color); /* Verde */
    color: white;
    text-align: center;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block; /* Para que respete el max-width */
}
.contact-form .btn:hover {
    background-color: #288a88; /* Verde más oscuro al hover */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}