/* --- FUENTES Y RESET --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;600&family=Playfair+Display:wght@700&family=Josefin+Sans:wght@300;400;600&display=swap');

body { font-family: 'Montserrat', sans-serif; margin: 0; padding: 0; }

/* --- HEADER --- */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    background: #fff;
    height: 150px; /* Un poco más alto para el logo grande */
}

.nav-left { flex: 1; display: flex; justify-content: flex-end; }
.nav-right { flex: 1; display: flex; justify-content: flex-start; }

.site-header nav ul { 
    display: flex; 
    list-style: none; 
    gap: 35px; /* Espacio cómodo entre los 3 items */
    margin: 0;
    padding: 0;
}

.site-header a { 
    text-decoration: none; 
    color: #333; 
    font-weight: 600; 
    font-size: 20px; /* Texto más grande y legible */
    transition: all 0.3s ease;
    animation: fadeInDown 0.8s ease forwards;
}

.site-header a:hover { 
    color: #c0392b; 
    transform: scale(1.05); /* Efecto profesional al pasar el mouse */
}

/* Logo más grande */
.logo { margin: 0 40px; }
.logo img { 
    height: 130px; /* Tamaño impactante */
    width: auto; 
    transition: transform 0.5s ease;
}
/* ==========================================================================
   2. REESTRUCTURACIÓN DE HERO SPLIT (REEMPLAZAR ANTERIOR)
   ========================================================================== */
.hero-split {
    height: 100vh;
    width: 100%;
    /* Mantenemos tu fondo original pero con un degradado sutil */
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6)), 
                url('https://myblog-yyserhusji.live-website.com/wp-content/uploads/2026/05/image-1.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}

.hero-split .hero-content {
    display: flex;
    width: 85%;
    max-width: 1300px;
    align-items: center;
    justify-content: space-between;
}

/* Columna Izquierda: Texto y CTA */
.hero-text-col {
    flex: 1.1;
    text-align: left;
    padding-right: 50px;
}

.hero-main-title {
    font-family: 'Playfair Display', serif; /* La tipografía premium */
    font-size: 85px !important; /* Texto MUCHO más impactante */
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-subtext {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.5;
    max-width: 580px;
    margin-bottom: 45px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.2);
}

/* El nuevo botón de reserva unificado y profesional */
.btn-hero-cta {
    background-color: #c0392b; /* Rojo italiano para el CTA principal */
    color: #fff;
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-hero-cta:hover {
    background-color: #a93226;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Columna Derecha: Se deja libre para el fondo de platos */
.hero-visual-col {
    flex: 1.2;
    height: 100vh; /* Ocupa el alto completo para mantener el fondo */
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .hero-split .hero-content { flex-direction: column; text-align: center; }
    .hero-text-col { padding-right: 0; margin-top: 50px; text-align: center; }
    .hero-main-title { font-size: 50px !important; }
    .hero-subtext { font-size: 18px; max-width: 100%; margin-bottom: 30px; }
    .hero-visual-col { display: none; } /* Ocultamos la columna derecha vacía en móvil */
}
/* --- ANIMACIONES --- */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-left { animation: fadeInLeft 1.5s ease-out; }
.animate-right { animation: fadeInRight 1.5s ease-out; }

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}
/* --- RESPONSIVE: MÓVILES --- */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column; /* Apila el logo y los menús */
        height: auto;
        padding: 20px;
    }

    .site-header nav ul {
        flex-direction: column; /* Pon los menús uno debajo del otro */
        align-items: center;
        gap: 10px;
        margin: 10px 0;
    }

    .nav-left, .nav-right {
        justify-content: center;
        width: 100%;
    }

    .logo { margin: 10px 0; }
    .logo img { height: 80px; } /* Logo más pequeño en móvil */

    .hero-content {
        flex-direction: column; /* El texto y la imagen se apilan */
        text-align: center;
        width: 90%;
    }
}
/* --- SECCIÓN SOBRE NOSOTROS (VERIFICACIÓN) --- */
.about-us {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.about-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-image { 
    flex: 1; 
    display: flex;
    justify-content: center;
    border: 2px dashed #ccc; /* BORDE DE PRUEBA: Si ves un recuadro punteado, el contenedor funciona */
}

/* --- 1. AÑADE ESTO A TU CLASE .about-image img --- */
.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    
    /* ACTIVAMOS LA ANIMACIÓN */
    opacity: 0; /* Empieza invisible */
    animation: revealFromCook 1.8s ease-out forwards; 
}

.about-text { flex: 1; }

/* --- 2. ASEGÚRATE DE TENER ESTO AL FINAL DEL ARCHIVO --- */
@keyframes revealFromCook {
    0% { 
        opacity: 0; 
        transform: scale(0.8) translateY(30px) rotate(-5deg); 
    }
    100% { 
        opacity: 1; 
        transform: scale(1) translateY(0) rotate(0deg); 
    }
}

/* Responsividad */
@media (max-width: 768px) {
    .about-container { flex-direction: column; text-align: center; }
}
/* --- SECCIÓN PLATOS DESTACADOS --- */
.featured-dishes {
    padding: 80px 20px;
    text-align: center;
    background: #fff;
}

.featured-dishes h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.dish-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    
    /* ANIMACIÓN DE ENTRADA */
    opacity: 0;
    animation: fadeInSlideUp 0.8s ease-out forwards;
}

/* Retardos para que aparezcan uno a uno */
.dish-card:nth-child(1) { animation-delay: 0.2s; }
.dish-card:nth-child(2) { animation-delay: 0.4s; }
.dish-card:nth-child(3) { animation-delay: 0.6s; }

.dish-card:hover { transform: translateY(-10px); transition: 0.3s; }

.dish-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

/* Keyframes para el movimiento */
@keyframes fadeInSlideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsividad */
@media (max-width: 768px) {
    .dishes-grid { grid-template-columns: 1fr; }
}
/* --- SECCIÓN CONTACTO --- */
.contact-section {
    padding: 80px 20px;
    background: #f9f9f9;
}

.contact-container {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    gap: 50px;
    align-items: center;
}

.contact-info { flex: 1; }
.contact-info h2 { font-size: 36px; margin-bottom: 20px; }
.contact-details { list-style: none; padding: 0; margin-bottom: 20px; }
.contact-details li { margin-bottom: 10px; font-size: 18px; }

.contact-map { 
    flex: 1; 
    border-radius: 15px;
    overflow: hidden; /* Esto hace que el mapa tenga esquinas redondeadas */
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    animation: fadeIn 1.5s ease;
}

/* Responsividad */
@media (max-width: 768px) {
    .contact-container { flex-direction: column; text-align: center; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
/* --- 1. IMPORTACIÓN DE FUENTES --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Josefin+Sans:wght@300;400&display=swap');

/* --- 2. APLICACIÓN DE FUENTES --- */
h1, h2, h3 { 
    font-family: 'Playfair Display', serif; 
    text-transform: uppercase; /* Le da un toque muy profesional */
    letter-spacing: 1px;
}

body, p, a { 
    font-family: 'Josefin Sans', sans-serif; 
}

/* --- 3. EFECTO LÍNEA VERDE ITALIANA (MENÚ Y TÍTULOS) --- */
/* Definimos el color verde de la bandera de Italia */
:root {
    --italian-green: #008C45; 
}

/* Efecto para los enlaces del menú */
.site-header a {
    position: relative;
    transition: color 0.3s ease;
}

.site-header a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px; /* Grosor de la línea */
    bottom: -5px;
    left: 0;
    background-color: var(--italian-green);
    transition: width 0.3s ease;
}

.site-header a:hover::after {
    width: 100%;
}
/* --- UNIFICACIÓN DE TÍTULOS --- */
h2, 
.about-text h2, 
.featured-dishes h2, 
.contact-info h2, 
.reviews-container h2 {
    font-family: 'Playfair Display', serif !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #333 !important;
    margin-bottom: 40px !important;
    position: relative !important;
    display: inline-block !important;
}

/* La línea verde para todos */
h2::after, 
.about-text h2::after, 
.featured-dishes h2::after, 
.contact-info h2::after, 
.reviews-container h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 5px;
    bottom: -15px;
    left: 0;
    background-color: #008C45;
    transition: width 0.5s ease;
}

/* Centrar línea en secciones centradas */
.featured-dishes h2::after, 
.reviews-container h2::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
}

h2:hover::after { width: 100% !important; }
/* --- FOOTER: 4 COLUMNAS PREMIUM --- */
.site-footer {
    background-color: #1c2520;
    color: #e8e6e1;
    padding: 60px 20px 30px;
    margin-top: 60px;
    border-top: 5px solid #008C45;
    font-family: 'Josefin Sans', sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas exactas */
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h3 {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 18px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-bottom: 1px solid #008C45;
    padding-bottom: 10px;
}

/* Estilo de los items con iconos */
.footer-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #d1d1d1;
}

.footer-info-item svg {
    color: #008C45; /* Iconos en verde */
    flex-shrink: 0;
}

/* Listas de Páginas */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #d1d1d1;
    text-decoration: none;
    transition: 0.3s;
    font-size: 15px;
}

.footer-links a:hover {
    color: #008C45;
    padding-left: 5px;
}

/* Horario Organizado */
.footer-hours {
    list-style: none;
    padding: 0;
    font-size: 14px;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 5px;
}

.day { font-weight: 600; color: #008C45; }
.closed { color: #e74c3c; font-weight: bold; }

/* Logo A Taula Sin Filtros */
.ataula-box {
    text-align: center;
    background: rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: 10px;
}

.ataula-box img {
    max-width: 130px;
    height: auto;
    filter: none !important; /* Quitamos cualquier filtro blanco */
}

/* Responsive */
@media (max-width: 992px) {
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .footer-container { grid-template-columns: 1fr; }
}
/* --- SECCIÓN RESEÑAS GOOGLE (Faltaba en tu CSS) --- */
.google-reviews {
    padding: 80px 20px;
    background-color: #ffffff;
    text-align: center;
}

.reviews-container h2 {
    margin-bottom: 40px;
}

.trustindex-widget {
    min-height: 150px; /* Evita que la página salte mientras carga el widget */
}
/* --- ANIMACIONES GENERALES (Para que todo se mueva al cargar) --- */
.hero-left, .hero-right, .about-image, .about-text, .dish-card, .google-reviews, .contact-container {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

/* Retardos para que no salga todo de golpe */
.about-us { animation-delay: 0.3s; }
.featured-dishes { animation-delay: 0.5s; }
.google-reviews { animation-delay: 0.7s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- SECCIÓN RESEÑAS GOOGLE (CORREGIDA) --- */
.google-reviews {
    padding: 100px 20px;
    background-color: #ffffff;
    text-align: center;
    width: 100%;
    display: block;
    opacity: 1 !important; /* Forzamos que la sección sea visible siempre */
    transform: none !important;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 40px;
    display: inline-block;
    position: relative;
}

/* Forzar que el contenido del plugin se vea */
.trustindex-content-fix {
    min-height: 300px; /* Espacio reservado para que no salte la pantalla */
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Línea verde para este título específico */
.reviews-container h2::after {
    content: '';
    position: absolute;
    width: 60%; /* Empieza con algo de línea */
    height: 4px;
    bottom: -10px;
    left: 20%;
    background-color: #008C45;
    transition: width 0.5s ease;
}

.reviews-container h2:hover::after {
    width: 100%;
    left: 0;
}
/* --- ANIMACIÓN PARA CONTACTO Y REDES (EFECTO PÁGINAS) --- */

/* 1. Animación para Dirección y Teléfono */
.contact-animate {
    transition: all 0.3s ease;
    cursor: default;
}

.contact-animate:hover {
    color: #008C45; /* Cambia a verde al pasar el mouse */
    padding-left: 8px; /* El mismo efecto de desplazamiento de "Páginas" */
}

/* 2. Estilo y Animación para los enlaces de Redes Sociales */
.social-icons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d1d1d1;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease; /* Para que el movimiento sea suave */
}

.social-link svg {
    transition: transform 0.3s ease;
    color: #008C45; /* Iconos en verde italiano */
}

/* El mismo efecto que en la sección Páginas */
.social-link:hover {
    color: #008C45; /* Cambia texto a verde */
    padding-left: 8px; /* Se desplaza a la derecha */
}

.social-link:hover svg {
    transform: scale(1.1); /* El icono crece un poquito */
}
/* --- AJUSTE CENTRADO Y ANIMACIÓN PEDIDOS ONLINE --- */

.footer-col:last-child {
    text-align: center; /* Centra el contenido de la columna de Pedidos Online */
}

.ataula-box {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra la imagen y el texto horizontalmente */
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    transition: all 0.3s ease-out !important;
}

/* Animación: En lugar de usar padding-left (que lo empuja), 
   usaremos transform para que se desplace sin perder su centro */
.ataula-box:hover {
    transform: translateX(10px); /* El mismo efecto de Páginas pero más limpio */
    opacity: 0.9;
}

.ataula-box img {
    max-width: 150px; /* Un pelín más grande para que destaque */
    height: auto;
    border-radius: 10px; /* Le da un toque más suave */
    filter: none !important;
    transition: transform 0.3s ease;
}

.ataula-box:hover img {
    transform: scale(1.05); /* Crece un poquito al pasar el mouse */
}

.ataula-box p {
    margin-top: 15px;
    font-size: 14px; /* Un poquito más legible que antes */
    color: #d1d1d1;
    transition: color 0.3s ease;
}

.ataula-box:hover p {
    color: #008C45; /* El texto se pone verde al igual que el resto */
}
.experience-section {
    padding: 60px 20px;
    background: #fff;
}

.experience-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    height: 500px; /* Altura fija para el mosaico */
}

.exp-item {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.exp-item.large { flex: 2; } /* La foto grande ocupa más espacio */
.exp-item.small { flex: 1; min-width: 250px; }

.exp-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px;
    color: white;
    transition: background 0.3s ease;
}

.exp-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 5px;
    color: #fff;
}

.exp-item p {
    font-size: 14px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

/* Efecto al pasar el ratón */
.exp-item:hover { transform: scale(1.02); }
.exp-item:hover .exp-overlay { background: linear-gradient(transparent, rgba(0,140,69,0.8)); } /* Verde italiano al hover */
.exp-item:hover p { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
    .experience-container { height: auto; flex-direction: column; }
    .exp-item { height: 300px; }
}
/* --- SECCIÓN RESERVAS CTA --- */
.reservation-cta {
    position: relative;
    padding: 100px 20px;
    background: url('https://myblog-yyserhusji.live-website.com/wp-content/uploads/2026/05/image-1.jpg') no-repeat center center/cover;
    background-attachment: fixed; /* Efecto Parallax */
    text-align: center;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Oscurecemos un poco el fondo para que el texto resalte */
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.reservation-cta h2 {
    color: #fff !important;
    font-size: 42px !important;
    margin-bottom: 20px !important;
}

.reservation-cta h2::after {
    background-color: #fff !important; /* Línea blanca para resaltar sobre el fondo oscuro */
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.reservation-cta p {
    font-size: 20px;
    margin-bottom: 40px;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
}

/* Botones de Reserva */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-reservation-main {
    background-color: #008C45; /* Verde Italiano */
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-reservation-main:hover {
    background-color: #006b35;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.btn-reservation-alt {
    background-color: transparent;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    text-transform: uppercase;
    border: 2px solid white;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-reservation-alt:hover {
    background-color: white;
    color: #333;
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .reservation-cta h2 { font-size: 32px !important; }
    .cta-buttons { flex-direction: column; }
}
/* ==========================================================================
   ANIMACIONES HERO SPLIT (AL FINAL DEL ARCHIVO)
   ========================================================================== */

/* Efecto para que el fondo de la sección principal aparezca */
.hero-split {
    animation: fadeInBackground 1.2s ease-out forwards;
}

/* Efectos de deslizamiento en capas para el texto */
.hero-main-title {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease-out 0.3s forwards; /* Aparece 0.3s después */
}

.hero-subtext {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease-out 0.6s forwards; /* Aparece 0.6s después */
}

.btn-hero-cta {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease-out 0.9s forwards; /* Aparece 0.9s después */
}

/* Keyframes para la entrada */
@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Keyframe suave para el fondo */
@keyframes fadeInBackground {
    from { opacity: 0.5; }
    to { opacity: 1; }
}