:root {
    /* Colors */
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --text-main: #f5f5f5;
    --text-muted: #aaaaaa;
    
    --rojo-chile: #C41E3A;
    --naranja: #CC5500;
    --verde-lima: #32CD32;

    /* Fonts */
    --font-main: 'Outfit', sans-serif;

    /* Spacing & Sizes */
    --nav-height: 70px;
    --container-max: 1200px;
    
    /* Effects */
    --glass-bg: rgba(18, 18, 18, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

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

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--rojo-chile);
    color: #fff;
}

.btn-primary:hover {
    background-color: #a0152c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

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

.btn-outline:hover {
    background-color: var(--naranja);
    color: #fff;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: 50px;
}

.btn-full {
    width: 100%;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.lang-label {
    opacity: 0.5;
    transition: opacity 0.3s;
}

.lang-label.active {
    opacity: 1;
    color: var(--naranja);
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--bg-card);
    transition: .4s;
    border: 1px solid var(--glass-border);
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 2px;
    background-color: var(--rojo-chile);
    transition: .4s;
}

input:checked + .slider:before {
    transform: translateX(20px);
    background-color: var(--naranja);
}

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Mobile Menu Button */
.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: 0.3s;
}

.mobile-nav {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    padding: 20px;
    align-items: center;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
    border-bottom: 1px solid var(--glass-border);
}

.mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mob-link {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Floating WhatsApp Button */
.btn-float-wa {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: var(--verde-lima);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(50, 205, 50, 0.4);
    z-index: 999;
    transition: transform 0.3s ease;
}

.btn-float-wa:hover {
    transform: scale(1.1);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(18,18,18,0.3) 0%, rgba(18,18,18,0.9) 100%);
    z-index: -1;
}

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

.badge {
    display: inline-block;
    background-color: rgba(196, 30, 58, 0.2);
    color: var(--rojo-chile);
    border: 1px solid var(--rojo-chile);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* --- Global Section Elements --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--rojo-chile);
    margin-bottom: 10px;
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--naranja);
    margin: 0 auto 15px;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- Authentic Flavor Section --- */
.authentic-section {
    padding: 100px 0;
}

.authentic-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.authentic-text {
    flex: 1;
}

.authentic-text h2 {
    font-size: 2.8rem;
    color: var(--rojo-chile);
    margin-bottom: 10px;
    line-height: 1.2;
}

.authentic-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.authentic-images {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    aspect-ratio: 4 / 3;
}

.stacked-img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    cursor: pointer;
    border: 4px solid var(--bg-dark);
}

.img-main {
    position: absolute;
    width: 75%;
    top: 0;
    left: 0;
    z-index: 1;
}

.img-secondary {
    position: absolute;
    width: 60%;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.stacked-img.active {
    z-index: 3;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

/* --- Seasonal Menu Section --- */
.seasonal-menu-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.menu-list-container {
    max-width: 650px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-item-row {
    display: flex;
    align-items: baseline;
    font-size: 1.25rem;
    padding: 5px 0;
}

.item-name {
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.5px;
}

.item-dots {
    flex-grow: 1;
    border-bottom: 2px dotted rgba(255,255,255,0.2);
    margin: 0 15px;
    position: relative;
    top: -4px;
}

.item-price {
    font-weight: 800;
    color: var(--naranja);
}

.menu-footnote {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
}

/* --- Lechon Section --- */
.lechon-section {
    padding: 80px 0;
    background-color: var(--bg-card);
}

.lechon-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(204, 85, 0, 0.1));
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
}

.lechon-text {
    flex: 1;
}

.lechon-text h2 {
    font-size: 2.2rem;
    color: var(--naranja);
    margin-bottom: 15px;
}

.lechon-text p {
    font-size: 1.1rem;
    color: var(--text-main);
}

.lechon-video {
    flex: 1;
    border-radius: var(--radius);
    max-height: 400px;
    object-fit: cover;
    box-shadow: var(--shadow);
    width: 100%;
}

@media (max-width: 900px) {
    .authentic-content {
        flex-direction: column;
    }
    .authentic-images {
        margin-top: 20px;
        width: 100%;
        max-width: 450px;
        margin: 20px auto 0;
    }
    .lechon-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
}

@media (max-width: 600px) {
    .menu-item-row {
        font-size: 1.05rem;
    }
    .item-dots {
        margin: 0 10px;
    }
}

/* --- Logistics Section --- */
.logistics-section {
    padding: 60px 0;
    background-color: #000;
}

.logistics-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius);
    margin-bottom: 40px;
    border: 1px solid var(--glass-border);
}

.info-block {
    text-align: center;
}

.info-block .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background-color: rgba(204, 85, 0, 0.1);
    color: var(--naranja);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-block.highlight .icon {
    background-color: rgba(196, 30, 58, 0.1);
    color: var(--rojo-chile);
}

.info-block h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.info-block p {
    color: var(--text-muted);
}

.community-banner {
    background: linear-gradient(45deg, var(--rojo-chile), var(--naranja));
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.community-banner p {
    font-size: 1.2rem;
    font-weight: 600;
    max-width: 600px;
}

.btn-community {
    background-color: #fff;
    color: var(--bg-dark);
    text-transform: uppercase;
    font-weight: 800;
}

.btn-community:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* --- Gallery Section --- */
.gallery-section {
    padding: 100px 0;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 20px;
    grid-auto-flow: dense;
    padding: 0 20px;
    max-width: 1600px;
    margin: 0 auto;
}

.grid-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    background-color: var(--bg-card);
}

.grid-item:nth-child(even) {
    grid-row: span 2;
}

.gallery-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.grid-item:hover .gallery-media {
    transform: scale(1.03);
}

/* --- Footer --- */
.footer {
    background-color: #0a0a0a;
    padding: 60px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    opacity: 0.8;
}

.blessing {
    font-size: 1.1rem;
    color: var(--naranja);
    font-style: italic;
    max-width: 500px;
}

.footer-contact p {
    color: var(--text-muted);
}

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

/* --- Lightbox Gallery --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--naranja);
}

.gallery-media {
    cursor: pointer;
}

/* --- Media Queries --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-actions {
        display: none;
    }

    .menu-btn {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

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

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

    .masonry-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        grid-gap: 15px;
        padding: 0 15px;
    }
}
