@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:wght@700;900&display=swap');

:root {
    --primary-red: #ce1126;
    --primary-gold: #f7b500;
    --deep-brown: #0d2040;
    --bg-dark: #0a1628;
    --bg-card: #112038;
    --text-light: #f0f4ff;
    --text-muted: #8da0bb;
    --accent: #ff4d00;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

header.scrolled {
    padding: 0.2rem 0;
}

header.scrolled .logo-container img {
    height: 65px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-container {
    flex-shrink: 0;
    margin-right: auto;
}

.logo-container img {
    height: 90px;
    transition: var(--transition);
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition);
}

nav a:hover {
    color: var(--primary-gold);
}

nav a:hover::after {
    width: 100%;
}

/* --- Hero --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), 
                url('hero-bg.png') center/cover;
    background-attachment: fixed;
}

.hero-content {
    max-width: 800px;
}

.hero-logo {
    width: 250px;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero h2 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom, #fff, #f7b500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--primary-red);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid var(--primary-red);
    box-shadow: 0 10px 30px rgba(206, 17, 38, 0.3);
}

.btn:hover {
    background: transparent;
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    transform: translateY(-5px);
}

/* --- Quiénes Somos --- */
.nosotros-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.nosotros-section .section-header span {
    color: var(--primary-red);
}

.nosotros-section .section-header h2 {
    color: #0d1b2a;
}

.nosotros-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(206, 17, 38, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 5rem;
    align-items: center;
}

.nosotros-img-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}

.nosotros-logo {
    width: 100%;
    max-width: 320px;
    filter: drop-shadow(0 20px 60px rgba(206, 17, 38, 0.35));
    animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}

.nosotros-badge {
    position: absolute;
    bottom: -10px;
    right: 10px;
    background: var(--primary-red);
    border: 3px solid var(--primary-gold);
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(206, 17, 38, 0.5);
}

.badge-year {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    opacity: 0.85;
}

.badge-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary-gold);
    line-height: 1;
}

.nosotros-content p {
    color: #2c3e50;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.nosotros-lead {
    font-size: 1.15rem !important;
    color: #0d1b2a !important;
    font-weight: 400;
    border-left: 3px solid var(--primary-red);
    padding-left: 1.2rem;
    margin-bottom: 2rem !important;
}

.nosotros-content strong {
    color: var(--primary-red);
}

.nosotros-mision {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(206, 17, 38, 0.05);
    border: 1px solid rgba(206, 17, 38, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.nosotros-mision i {
    color: var(--primary-red);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.nosotros-mision p {
    margin-bottom: 0 !important;
    color: #0d1b2a !important;
    font-size: 1rem !important;
}

@media (max-width: 768px) {
    .nosotros-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .nosotros-lead {
        border-left: none;
        border-top: 3px solid var(--primary-gold);
        padding-left: 0;
        padding-top: 1rem;
    }
    .nosotros-mision {
        text-align: left;
    }
}

/* --- Sections --- */
section {
    padding: 8rem 0;
}

#menu {
    background: #0a1628;
}

#galeria .section-header h2 {
    color: #0d1b2a;
}

#galeria .section-header span {
    color: var(--primary-red);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header span {
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.section-header h2 {
    font-size: 3rem;
    margin-top: 1rem;
}

/* --- Menu Grid --- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.menu-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(247, 181, 0, 0.05);
}

.menu-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border-color: rgba(247, 181, 0, 0.2);
}

.menu-img-container {
    height: 250px;
    overflow: hidden;
}

.menu-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-card:hover .menu-img-container img {
    transform: scale(1.1);
}

.menu-info {
    padding: 2rem;
}

.menu-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-gold);
}

.menu-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.menu-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .gallery-item {
        height: 380px;
    }
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* --- Reseñas Google --- */
.resenas-section {
    background: #f4f6f9;
}

.google-rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

.google-logo {
    height: 28px;
}

.rating-stars-big {
    color: #fbbc04;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.rating-text {
    color: #555;
    font-size: 0.9rem;
    font-weight: 600;
}

.resenas-section .section-header h2 {
    color: #0d1b2a;
}

.resenas-section .section-header span {
    color: var(--primary-red);
}

.resenas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.resena-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.resena-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.resena-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.reviewer-name {
    font-weight: 700;
    color: #0d1b2a;
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

.reviewer-date {
    color: #888;
    font-size: 0.78rem;
}

.resena-google-icon {
    height: 18px;
    margin-left: auto;
    opacity: 0.7;
}

.resena-stars {
    color: #fbbc04;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

.resena-texto {
    color: #444;
    font-size: 0.93rem;
    line-height: 1.7;
    font-style: italic;
}

@media (max-width: 768px) {
    .resenas-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Footer --- */
footer {
    background: var(--deep-brown);
    padding: 5rem 0 2rem;
    text-align: center;
    border-top: 5px solid var(--primary-gold);
}

.footer-logo {
    height: 100px;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-gold);
}

.btn-call {
    background: #4caf50;
    border-color: #4caf50;
}

.btn-call:hover {
    border-color: #4caf50;
    color: #4caf50;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn-maps {
    background: #4285f4;
    border-color: #4285f4;
}

.btn-maps:hover {
    border-color: #4285f4;
    color: #4285f4;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header {
    animation: fadeInDown 0.8s ease-out;
}

.hero h2 {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero p {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero .btn {
    animation: fadeInUp 1s ease-out 0.9s both;
}

/* Scroll Reveal Effect (Simplified) */
.menu-card, .gallery-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.menu-card.visible, .gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Response */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.8rem;
    }
    nav ul {
        display: none;
    }
    section {
        padding: 5rem 0;
    }
}

/* --- Language Selector --- */
.lang-selector {
    display: flex;
    gap: 0.5rem;
    margin: 0 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 20px;
    transition: var(--transition);
    text-transform: uppercase;
}

.lang-btn.active {
    background: var(--primary-gold);
    color: var(--bg-dark);
}

.lang-btn:hover:not(.active) {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-dark);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.5s ease-in-out;
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    nav a {
        font-size: 1.2rem;
    }

    .lang-selector {
        margin: 0 1rem;
    }
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.8rem;
    }
    
    .logo-container img {
        height: 60px;
    }

    header.scrolled .logo-container img {
        height: 45px;
    }

    .nosotros-logo {
        max-width: 220px;
    }

    .footer-logo {
        height: 70px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .nosotros-content {
        padding: 0 1rem;
    }

    .btn.btn-small {
        display: none; /* Hide order button in mobile header to save space */
    }
}

/* Animations and tweaks */
[data-i18n] {
    transition: opacity 0.3s ease;
}

.fade-out {
    opacity: 0;
}

