/* ========== Reset & Variables ========== */
:root {
    --primary: #c0392b;
    --primary-dark: #a93226;
    --gold: #d4a853;
    --dark: #1a1a1a;
    --dark-light: #2c2c2c;
    --light: #fafafa;
    --gray: #777;
    --white: #fff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* ========== Navbar ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    font-weight: 400;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

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

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

.nav-links a:hover::after {
    width: 100%;
}

/* Botón "Reservar Mesa" en navbar */
.btn-reservar-nav {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
}

.btn-reservar-nav::after {
    display: none !important;
}

.btn-reservar-nav:hover {
    background: var(--primary-dark) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ========== Hero ========== */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1920') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 0 24px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gold);
    letter-spacing: 2px;
}

.hero .subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 16px;
    color: #ddd;
}

.hero .hero-text {
    font-size: 1.05rem;
    color: #bbb;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== Botones ========== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192, 57, 43, 0.4);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-2px);
}

/* ========== Secciones ========== */
section {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 8px;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

/* ========== Especialidades (Cards) ========== */
.especialidades {
    background: var(--white);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.card {
    background: var(--light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

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

.card-img {
    height: 240px;
    background-size: cover;
    background-position: center;
}

.card-body {
    padding: 24px;
    text-align: center;
}

.card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.card-body p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ========== Menú ========== */
.menu {
    background: #f5f0eb;
}

.menu-category {
    margin-bottom: 48px;
}

.menu-category h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 20px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: var(--white);
    padding: 20px 24px;
    border-radius: 12px;
    gap: 16px;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.menu-item:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    transform: translateX(4px);
}

.item-info h4 {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--dark);
}

.item-info p {
    font-size: 0.85rem;
    color: var(--gray);
}

.price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    white-space: nowrap;
    font-family: var(--font-heading);
}

/* ========== Nosotros ========== */
.nosotros-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.nosotros-text .section-title {
    text-align: left;
}

.nosotros-text p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.nosotros-img {
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ========== Reservas ========== */
.reservas {
    background: var(--white);
}

/* ========== Contacto ========== */
.contacto {
    background: #f5f0eb;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.6rem;
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.info-item h4 {
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--dark);
}

.info-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ========== Footer ========== */
.footer {
    background: var(--dark);
    color: #bbb;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 12px;
    font-weight: 600;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col ul a {
    color: #bbb;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 12px;
    font-size: 1.5rem;
}

.social-links a {
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
    .nosotros-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .nosotros-img {
        height: 300px;
        order: -1;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

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

    .hero h1 {
        font-size: 2.8rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stats {
        flex-direction: column;
        gap: 16px;
    }
}
