@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700;900&display=swap');

:root {
    --red-primary: #E31B23;
    --red-hover: #b7151b;
    --white-pure: #ffffff;
    --white-soft: #fefefe;
    --shadow-pop: 10px 10px 0px #000000;
    --shadow-red: 0 10px 30px rgba(227, 27, 35, 0.2);
    --radius-street: 0px;
    /* Sharp and edgy */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--white-pure);
    color: #000;
    overflow-x: hidden;
}

/* HIGH ENERGY ANIMATIONS */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes punchIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    70% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideRed {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.float-element {
    animation: float 6s ease-in-out infinite;
}

/* NAVBAR RED */
.elote-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--red-primary);
    border-bottom: 2px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    transition: 0.2s;
}

.nav-links a:hover {
    background: white;
    color: var(--red-primary);
}

.nav-links a.active {
    background: white;
    color: var(--red-primary);
}

.lang-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
    font-weight: 900;
    padding: 0.2rem 0.8rem;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.9rem;
    border-radius: 4px;
    margin-left: 1rem;
}

.lang-btn:hover {
    background: white;
    color: var(--red-primary);
}

/* HERO: RED ENERGY */
.hero-energy {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--white-pure);
    padding-top: 100px;
    padding-bottom: 50px;
}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
}

.hero-text-side {
    flex: 1;
    text-align: left;
}

.hero-main-title {
    font-size: 8rem;
    font-weight: 900;
    color: var(--red-primary);
    line-height: 0.85;
    text-transform: uppercase;
    animation: punchIn 0.8s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.hero-sub {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    background: var(--red-primary);
    color: white;
    display: inline-block;
    padding: 0.5rem 2rem;
    transform: rotate(-2deg);
}

.hero-img-side {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    overflow: visible;
    /* Prevents clipping during animation */
}

.hero-img-contain {
    width: 100%;
    max-width: 450px;
    /* Slightly smaller for safer fit */
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img-contain img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Changed for PNGs */
    transition: 0.5s;
}

.exploding-img {
    filter: drop-shadow(20px 20px 10px rgba(0, 0, 0, 0.3));
    transform: rotate(-5deg);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.exploding-img:hover {
    transform: rotate(0deg) scale(1.05);
    filter: drop-shadow(30px 30px 15px rgba(227, 27, 35, 0.4));
}

/* SECTIONS */
.red-section {
    padding: 100px 5%;
}

.red-title-box {
    border-left: 15px solid var(--red-primary);
    padding-left: 2rem;
    margin-bottom: 4rem;
}

.red-title-box h2 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--red-primary);
    text-transform: uppercase;
}

/* STREET CARDS */
.street-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.street-card {
    background: white;
    border: 4px solid var(--red-primary);
    position: relative;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding-bottom: 2rem;
}

.street-card:hover {
    transform: translate(-10px, -10px);
    box-shadow: 15px 15px 0px var(--red-primary);
}

.card-img-energy {
    width: 100%;
    height: 300px;
    /* Increased height */
    overflow: visible;
    /* Crucial: let ingredients fly out! */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.card-img-energy img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    /* Changed from cover to show everything */
}

.card-body-energy {
    padding: 2rem;
}

.card-body-energy h3 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--red-primary);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.price-punch {
    background: var(--red-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    font-weight: 900;
    font-size: 1.5rem;
    display: inline-block;
    margin-bottom: 1rem;
}

/* MENU TABLE STYLE */
.menu-list-energy {
    margin-top: 2rem;
}

.menu-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 2px dashed var(--red-primary);
    font-weight: 700;
}

.menu-row span:last-child {
    color: var(--red-primary);
    font-weight: 900;
}

/* BUTTONS */
.btn-red-energy {
    background: var(--red-primary);
    color: white;
    border: none;
    padding: 1.5rem 3rem;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 8px 8px 0px #000;
}

.btn-red-energy:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px #000;
    background: var(--red-hover);
}

/* FOOTER */
.red-footer {
    background: var(--red-primary);
    color: white;
    padding: 80px 5%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
}

.footer-col h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    border-bottom: 4px solid white;
    display: inline-block;
}

/* HAMBURGER */
.elote-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    background: none;
    border: none;
}

.elote-hamburger span {
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
}

.elote-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.elote-hamburger.active span:nth-child(2) { opacity: 0; }
.elote-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-main-title {
        font-size: 6rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: var(--red-primary);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0;
        transition: right 0.4s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.3);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        display: block;
        font-size: 1rem;
    }

    .elote-hamburger {
        display: flex;
    }

    .hero-energy {
        padding-top: 120px;
    }

    .hero-layout {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-text-side {
        text-align: center;
    }

    .hero-main-title {
        font-size: 4rem;
        line-height: 1;
    }

    .hero-img-side {
        justify-content: center;
    }

    .hero-img-contain {
        max-width: 100%;
    }

    .red-title-box h2 {
        font-size: 2.5rem;
    }

    .street-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .red-footer {
        padding: 40px 5%;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 3rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .btn-red-energy {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .card-body-energy h3 {
        font-size: 1.5rem;
    }

    .red-title-box h2 {
        font-size: 2rem;
    }

    .red-section {
        padding: 60px 5%;
    }
}
/* --- BACK TO HUB --- */
.back-to-hub {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 9998;
    background: rgba(5, 7, 10, 0.85);
    backdrop-filter: blur(10px);
    color: #94a3b8;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
    font-family: 'Inter', system-ui, sans-serif;
}
.back-to-hub:hover {
    color: white;
    border-color: rgba(255,255,255,0.3);
    background: rgba(5, 7, 10, 0.95);
}
