/* =========================================
   RESET Y ESTILOS BASE
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    background-color: #222222;
    scroll-behavior: smooth;
}

/* =========================================
   BARRA DE NAVEGACIÓN
========================================= */
.navbar {
    position: fixed; 
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 60px;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.nav-left { display: flex; align-items: center; gap: 25px; }
.icon-btn { background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; }
.nav-links { display: flex; list-style: none; gap: 25px; align-items: center; }
.nav-links a {
    color: #ffffff; text-decoration: none; font-size: 13px;
    font-weight: 700; letter-spacing: 1px; transition: color 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: #c49a6c; }
.btn-outline { border: 2px solid #ffffff; padding: 8px 15px; transition: all 0.3s ease; }
.btn-outline:hover { background-color: #ffffff; color: #000000; }

.logo { font-family: 'Great Vibes', cursive; font-size: 42px; line-height: 0.7; text-align: right; color: #fff; }
.logo-small { font-family: 'Montserrat', sans-serif; font-size: 9px; letter-spacing: 3px; font-weight: 700; }

/* =========================================
   HERO SECTION
========================================= */
.hero {
    position: relative; height: 100vh; display: flex; justify-content: center;
    align-items: center; text-align: center;
    /* Opción 3: Pasta fresca artesanal con harina */
    background: url('https://images.unsplash.com/photo-1551183053-bf91a1d81141?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.65); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 900px; padding: 0 20px; }
.script-title { font-family: 'Great Vibes', cursive; font-size: 60px; font-weight: 400; margin-bottom: 5px; }
.main-title { font-size: 72px; font-weight: 800; font-style: italic; letter-spacing: 1px; margin-bottom: 25px; }
.subtitle { font-size: 18px; line-height: 1.6; font-weight: 400; margin-bottom: 40px; }
.cta-button {
    display: inline-block; color: #ffffff; text-decoration: none; font-weight: 700;
    font-size: 14px; padding: 15px 35px; border: 2px solid #ffffff; transition: all 0.3s ease;
}
.cta-button:hover { background-color: #ffffff; color: #000000; }

/* =========================================
   SECCIÓN FEATURES (Menús frescos)
========================================= */
/* Contenedor general */
.features-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 40px;
    background-color: #ffffff;
    width: 100%;
}

.features-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 60px; /* Espacio entre las fotos y el texto */
    flex-wrap: wrap;
}

/* Contenedor de las dos imágenes */
.features-images {
    display: flex;
    gap: 20px; /* Separación entre las dos fotos verticales */
    align-items: flex-start;
}

/* Ajuste asimétrico de las imágenes como en la captura */
.feat-img {
    background-size: cover;
    background-position: center;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05); /* Sombra suave */
}

.feat-img.img-1 {
    width: 240px;
    height: 420px;
    margin-top: 30px; /* La primera imagen queda un poco más abajo */
}

.feat-img.img-2 {
    width: 240px;
    height: 420px; /* Alturas iguales pero desfasadas verticalmente */
}

/* Bloque de texto derecho completamente centrado */
.features-text {
    flex: 1;
    min-width: 350px;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra todo el contenido internamente */
    text-align: center;
}

/* Estilos de tipografías simulando la imagen */
.gold-script {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: #c5a880; /* Tono dorado/marrón suave elegante */
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.dark-script {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #1a2b4c; /* El azul oscuro de tu paleta */
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.divider-icon {
    color: #c5a880;
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.features-text .desc {
    font-family: 'Open Sans', sans-serif;
    color: #777777;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 480px;
}

/* Estilo para simular la firma manuscrita "SolTech" del final */
.signature-brand {
    font-family: 'Great Vibes', 'Caveat', cursive;
    color: #1a2b4c;
    font-size: 2.2rem;
    margin-top: 10px;
}

/* Adaptación para pantallas móviles */
@media (max-width: 768px) {
    .features-container {
        flex-direction: column;
        gap: 40px;
    }
    .feat-img.img-1, .feat-img.img-2 {
        width: 160px;
        height: 280px;
        margin-top: 0; /* En móvil se alinean para no romper el scroll */
    }
}

.features-text { flex: 1; padding: 20px; }
.features-text .desc { color: #888888; font-size: 14px; line-height: 1.8; margin-bottom: 30px; }







/* Asegura que la imagen ocupe todo el espacio de su contenedor */
.feat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Hace que la foto se recorte perfectamente sin deformarse */
    border-radius: 4px; /* Opcional: le da una ligera curvatura a las esquinas si te gusta */
    display: block;
}

/* Mantenemos tu estructura base limpia */
.features-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 40px;
    background-color: #ffffff;
    width: 100%;
}

.features-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.features-images {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feat-img.img-1 {
    width: 240px;
    height: 420px;
    margin-top: 30px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08); /* Añade profundidad */
}

.feat-img.img-2 {
    width: 240px;
    height: 420px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08);
}

.features-text {
    flex: 1;
    min-width: 350px;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}





/* =========================================
   SECCIÓN MENÚ CUADRÍCULA
========================================= */
.menu-section { background-color: #ffffff; color: #333333; padding: 40px 0 0 0; text-align: center; }
.menu-intro { max-width: 800px; margin: 0 auto 40px auto; padding: 0 20px; }
.gold-script { font-family: 'Great Vibes', cursive; color: #c49a6c; font-size: 32px; margin-bottom: -10px; }
.dark-script { font-family: 'Great Vibes', cursive; color: #1a1a1a; font-size: 56px; margin-bottom: 15px; }
.divider-icon { color: #c49a6c; font-size: 24px; letter-spacing: 5px; margin-bottom: 20px; text-align: center; }
.menu-subtitle { font-size: 15px; color: #888888; line-height: 1.6; }

.menu-tabs { display: flex; justify-content: center; gap: 40px; margin-bottom: 50px; }
.tab { font-family: 'Great Vibes', cursive; font-size: 28px; color: #1a1a1a; cursor: pointer; padding-bottom: 5px; transition: color 0.3s ease; }
.tab:hover, .tab.active { color: #c49a6c; border-bottom: 2px solid #c49a6c; }

.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
.menu-img { background-size: cover; background-position: center; min-height: 400px; position: relative; z-index: 1; }
.menu-text { background-color: #ffffff; padding: 60px 40px; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; z-index: 2; }
.bump-right::after, .bump-left::after {
    content: ''; position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background-color: #ffffff; border-radius: 50%;
}
.bump-right::after { right: -20px; }
.bump-left::after { left: -20px; }
.badge { position: absolute; top: 20px; font-size: 11px; font-weight: 700; padding: 5px 10px; letter-spacing: 1px; }
.gold-badge { background-color: #c49a6c; color: #ffffff; left: 20px; }
.bump-left .gold-badge { left: auto; right: 20px; }
.price { font-family: 'Great Vibes', cursive; color: #c49a6c; font-size: 26px; margin-bottom: 5px; }
.dish-title { font-family: 'Great Vibes', cursive; font-size: 32px; color: #1a1a1a; margin-bottom: 10px; text-align: center; }
.small-divider { color: #888888; font-size: 14px; margin-bottom: 20px; }
.dish-desc { color: #aaaaaa; font-size: 13px; line-height: 1.8; text-align: center; }

.menu-footer { background-color: #ffffff; padding: 60px 0; text-align: center; }
.btn-dark { display: inline-block; background-color: #1a1a1a; color: #ffffff; text-decoration: none; font-weight: 700; font-size: 13px; padding: 18px 40px; letter-spacing: 2px; transition: background-color 0.3s ease; }
.btn-dark:hover { background-color: #c49a6c; }

/* =========================================
   SECCIÓN GUESTBOOK (Testimonios)
========================================= */
.guestbook-section {
    position: relative; padding: 100px 20px; text-align: center;
    background: url('guestbook-bg.jpg') center/cover fixed; 
}
.guestbook-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 1; }
.guestbook-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; }
.white-script-large { font-family: 'Great Vibes', cursive; color: #ffffff; font-size: 56px; margin-bottom: 50px; }

.testimonials-container {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.test-card {
    background-color: #ffffff; padding: 50px 30px 30px 30px; position: relative; color: #333333; box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.red-ribbon {
    position: absolute; top: 0; left: 30px; width: 25px; height: 45px; background-color: #cc0000;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
}
.stars { color: #ffcc00; font-size: 18px; margin-bottom: 20px; }
.quote { font-family: 'Great Vibes', cursive; font-size: 26px; line-height: 1.4; margin-bottom: 30px; }
.avatar { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 15px auto; background-size: cover; border: 2px solid #d4af37; }
.author { font-size: 12px; color: #888; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* =========================================
   FOOTER Y RESERVAS
========================================= */
.footer-section { background-color: #222222; padding: 0 20px 40px 20px; position: relative; }
.footer-grid {
    max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 40px; align-items: center;
}
.text-center { text-align: center; }
.white-script-small { font-family: 'Great Vibes', cursive; color: #ffffff; font-size: 32px; margin-bottom: 15px; }
.white-script-medium { font-family: 'Great Vibes', cursive; color: #ffffff; font-size: 42px; margin-bottom: 10px; }
.footer-col p { color: #888888; font-size: 14px; line-height: 1.8; margin-bottom: 15px; }
.gold-link { color: #c49a6c; font-size: 12px; font-weight: 700; text-decoration: none; letter-spacing: 1px; }

/* === CAJA DE RESERVAS (Curvas arregladas) === */
.reservation-box {
    background-color: #111111; 
    padding: 50px 40px; 
    text-align: center;
    position: relative; 
    transform: translateY(-40px); /* Ajustado para que no suba exageradamente */
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    z-index: 10;
}

/* Usamos porcentajes para crear una curva elíptica mucho más suave */
.res-top-shape {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    width: 140px; height: 30px; background-color: #111111; 
    border-radius: 50% 50% 0 0;
}

.res-bottom-shape {
    position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%);
    width: 140px; height: 30px; background-color: #111111; 
    border-radius: 0 0 50% 50%;
}


.schedule { list-style: none; margin-bottom: 30px; }
.schedule li {
    display: flex; justify-content: space-between; font-size: 13px; color: #aaaaaa;
    padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,0.1);
}
.schedule li:last-child { border-bottom: none; }
.btn-gold-outline {
    display: inline-block; width: 100%; color: #c49a6c; border: 1px solid #c49a6c; padding: 15px 0;
    font-size: 13px; font-weight: 700; text-decoration: none; letter-spacing: 1px; transition: all 0.3s ease;
}
.btn-gold-outline:hover { background-color: #c49a6c; color: #111111; }

/* Barra inferior del footer */
.footer-bottom {
    max-width: 1100px; margin: 0 auto 0 auto; display: flex; justify-content: space-between;
    align-items: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px;
}
.social-icons a {
    color: #888; text-decoration: none; font-size: 14px; margin-right: 15px;
    width: 35px; height: 35px; display: inline-flex; justify-content: center; align-items: center;
    border-radius: 50%; background: rgba(255,255,255,0.05); transition: all 0.3s ease;
}
.social-icons a:hover { background: #c49a6c; color: #fff; }
.newsletter { display: flex; align-items: center; background: rgba(255,255,255,0.05); border-radius: 20px; overflow: hidden; padding-right: 5px;}
.newsletter input {
    background: none; border: none; padding: 10px 20px; color: #fff; font-size: 12px; outline: none; width: 250px;
}
.newsletter button {
    background: none; border: none; color: #c49a6c; font-size: 18px; cursor: pointer; padding: 0 10px;
}

/* =========================================
   DISEÑO RESPONSIVO (Móviles y Tablets)
========================================= */
@media (max-width: 1024px) {
    .menu-grid { grid-template-columns: repeat(2, 1fr); }
    .bump-right::after, .bump-left::after { display: none; }
    .nav-links { display: none; }
    .features-container { flex-direction: column; }
    .features-images { width: 100%; height: 400px; }
    .testimonials-container { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .reservation-box { transform: translateY(0); margin: 30px 0; }
    .res-top-shape, .res-bottom-shape { display: none; } /* Quitamos las muescas en móvil por la estructura */
}
@media (max-width: 768px) {
    .menu-grid { grid-template-columns: 1fr; }
    .testimonials-container { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 20px; }
}

/* =========================================
   MODAL (POPUP) DE RESERVAS
========================================= */
.reservation-modal {
    display: none; /* Oculto por defecto */
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); z-index: 9999;
    justify-content: center; align-items: center;
}

/* Esta clase se añade con JS para mostrarlo */
.reservation-modal.active {
    display: flex;
}

.modal-content {
    background: #ffffff; width: 90%; max-width: 850px;
    padding: 60px; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.close-btn {
    position: absolute; top: 30px; right: 30px;
    background: #c49a6c; color: #fff; border: none;
    width: 35px; height: 35px; font-size: 24px; cursor: pointer;
    display: flex; justify-content: center; align-items: center; border-radius: 3px;
}

.reservation-form {
    display: flex; flex-direction: column; gap: 20px;
}

.form-row { display: grid; gap: 20px; }
.form-row.cols-3 { grid-template-columns: repeat(3, 1fr); }

.reservation-form input, .reservation-form select, .reservation-form textarea {
    width: 100%; padding: 15px 20px; border: 1px solid #eeeeee;
    color: #888888; font-family: 'Montserrat', sans-serif; font-size: 13px;
    outline: none; transition: border 0.3s;
}

.reservation-form input:focus, .reservation-form select:focus, .reservation-form textarea:focus {
    border-color: #c49a6c;
}

.btn-dark-full {
    background: #222222; color: #ffffff; border: none; width: 100%;
    padding: 20px; font-weight: 800; font-size: 14px; letter-spacing: 1px;
    cursor: pointer; transition: background 0.3s ease; margin-top: 10px;
}

.btn-dark-full:hover { background: #c49a6c; }

.modal-footer-note {
    text-align: center; margin-top: 20px; font-size: 12px;
    color: #1a1a1a; font-weight: 800; letter-spacing: 1px;
}

.gold-text { color: #c49a6c; }

/* Modal responsivo para móviles */
@media (max-width: 768px) {
    .modal-content { padding: 40px 20px; }
    .form-row.cols-3 { grid-template-columns: 1fr; }
}