/* Base Styles & Variables */
:root {
    --primary: #FF5A00;
    /* Vibrant Orange */
    --primary-dark: #cc4800;
    --secondary: #D92525;
    /* Salsa Red */
    --accent: #FFD166;
    /* Corn Yellow */
    --dark: #0F0E0E;
    --dark-light: #1A1818;
    --light: #F8F5F2;
    /* Tortilla White */
    --text-main: #333333;
    --text-light: #E0E0E0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    display: block;
}

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

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.bg-dark {
    background-color: var(--dark-light);
    color: var(--text-light);
}

.text-light {
    color: var(--light) !important;
}

.text-light-dim {
    color: #aaaaaa !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 90, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 90, 0, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
    backdrop-filter: blur(5px);
}

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

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

.btn-accent:hover {
    background-color: #b01a1a;
    transform: translateY(-3px);
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(15, 14, 14, 0.95);
    padding: 12px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
}

.navbar.scrolled .nav-logo {
    color: var(--primary);
}

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

.nav-links a {
    color: white;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

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

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

.nav-social {
    color: var(--accent) !important;
    font-size: 1.2rem;
}

.burger-menu {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--dark);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    right: 0;
}

.mobile-link {
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
}

.mobile-social {
    font-size: 2rem;
    color: var(--primary);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 14, 14, 0.85) 0%, rgba(15, 14, 14, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.hero-logo {
    max-width: 300px;
    margin: 0 auto 30px auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: var(--light);
    opacity: 0.9;
}

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* About Section */
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary);
    color: white;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(255, 90, 0, 0.4);
    border: 8px solid var(--light);
}

.experience-badge .number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    margin-bottom: 10px;
    text-align: center;
}

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

.section-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
    text-align: center;
}

.about-content {
    text-align: center;
}

/* Menu Section */
.menu-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

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

.menu-card {
    background: #252424;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.card-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
}

.card-price {
    background-color: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card-content {
    padding: 25px;
    text-align: center;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
    text-align: center;
}

.card-desc {
    color: #bbbbbb;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
}

/* CTA Banner */
.cta-banner {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: white;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(217, 37, 37, 0.85);
    /* Salsa Red Overlay */
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Footer */
.site-footer {
    background-color: var(--dark);
    color: white;
    padding-top: 80px;
}

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

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #aaa;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #2a2828;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: var(--transition);
}

.footer-socials a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3,
.footer-hours h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--accent);
}

.footer-links ul,
.footer-contact ul,
.footer-hours ul {
    list-style: none;
}

.footer-links li,
.footer-contact li,
.footer-hours li {
    margin-bottom: 15px;
    color: #bbb;
    font-size: 0.95rem;
}

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

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact i {
    color: var(--primary);
    margin-right: 10px;
    width: 15px;
}

.footer-bottom {
    background-color: #080808;
    padding: 20px 0;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

/* About Background */
.about-bg {
    background-image: url('assets/images/background nosotros.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 14, 14, 0.85);
    z-index: 1;
}

.relative-z {
    position: relative;
    z-index: 2;
}

.about-bg .section-title {
    color: white;
}

.about-bg .section-text {
    color: #ddd;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 90, 0, 0.2);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9)
    }

    to {
        transform: scale(1)
    }
}

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

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--primary);
    text-decoration: none;
}

/* Floating WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    background-color: #1ebe57;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

/* Animations Trigger Classes */
.reveal {
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0);
}

.fade-bottom {
    transform: translateY(50px);
}

.fade-left {
    transform: translateX(-50px);
}

.fade-right {
    transform: translateX(50px);
}


/* Responsive Design */
@media (max-width: 992px) {
    .section-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .burger-menu {
        display: block;
    }

    .hero-title {
        font-size: 3rem;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .experience-badge {
        right: 10px;
        bottom: -10px;
        width: 100px;
        height: 100px;
    }

    .experience-badge .number {
        font-size: 1.8rem;
    }

    .section-title,
    .section-subtitle,
    .section-text,
    .card-title,
    .card-desc,
    .about-content {
        text-align: center;
    }

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

    .cta-content h2 {
        font-size: 2.5rem;
        text-align: center;
    }

    .card-img-wrapper {
        height: 450px;
        /* Make the menu images vertical on mobile */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 20px auto;
    }

    .footer-socials {
        justify-content: center;
    }
}

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

    .hero-logo {
        max-width: 200px;
    }
}