/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */

:root {
    --primary: #64b01b; /* Junction Green */
    --dark: #1a1a1a; /* Junction Black */
    --light: #f9f9f9;
    --white: #ffffff;
    --font-main: "Jost", sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* ==========================================================================
   2. GLOBAL BASE STYLES
   ========================================================================== */

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: var(--font-main);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h1 {
    font-size: clamp(4rem, 8vw, 6rem);
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.4);
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin-top: 5px;
}

/* ==========================================================================
   3. REUSABLE COMPONENTS (Buttons, Grids, etc.)
   ========================================================================== */

.container {
    max-width: 1100px;
    margin: auto;
    padding: 2rem;
}

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

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
    font-weight: 800;
    text-transform: uppercase;
}

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

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

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

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* ==========================================================================
   4. NAVIGATION
   ========================================================================== */

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-logo {
    height: 60px;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--dark);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */

.hero {
    min-height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/assets/img/j-2.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

.hero-lead {
    margin-bottom: 1.5rem;
    line-height: 0.9;
    letter-spacing: -0.03em;
}

.hero-details {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* --- Hero Status Badge & Animation --- */
.hero-status {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-dot {
    height: 8px;
    width: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 1;
    }
    70% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

.status-text {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   6. ABOUT SECTION
   ========================================================================== */

.about-section p {
    font-size: 1.2rem;
}

.rounded-img {
    width: 100%;
    border-radius: 15px;
}

/* ==========================================================================
   7. MENU SECTION
   ========================================================================== */

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.menu-box {
    border: 2px solid var(--dark);
    padding: 1.5rem;
    background: var(--white);
    transition: transform 0.2s ease;
}

.menu-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.menu-header {
    border-bottom: 2px solid var(--dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.menu-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.menu-time {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--primary);
}

.menu-list {
    list-style: none;
}
.menu-list li {
    margin-bottom: 1.2rem;
}

.item-main {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.1rem;
    gap: 0.5rem;
}

.item-name {
    font-weight: 600;
    text-transform: uppercase;
}

.item-desc {
    font-size: 0.9rem;
    color: #666;
    margin-top: 4px;
    line-height: 1.3;
}

.item-allergens {
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

/* ==========================================================================
   8. BOLD FOOTER (CTA)
   ========================================================================== */

.bold-footer {
    position: relative;
    background: url("/assets/img/the-junction-trailer.jpg") no-repeat center center/cover;
    color: var(--white);
    padding: 8rem 0 4rem 0;
    overflow: hidden;
}

.bold-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.bold-footer .container {
    position: relative;
    z-index: 2;
}

.footer-cta {
    display: flex;
    flex-direction: column;
}

.eyebrow {
    display: block;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.big-text {
    font-size: clamp(2.5rem, 10vw, 6rem) !important;
    line-height: 0.9;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.big-text::after {
    display: none;
}

.footer-flex-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.status-badge {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.1rem;
    transform: skewX(-10deg);
}

.giant-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    transition: 0.3s;
}

.giant-link:hover {
    color: var(--primary);
    padding-left: 10px;
}

/* ==========================================================================
   9. ORKNET BOTTOM BAR
   ========================================================================== */

footer.footer-bottom {
    background: #000;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer.footer-bottom p {
    color: var(--white);
    opacity: 0.6;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.orknet-logo {
    height: 25px;
    width: auto;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
    opacity: 0.8;
}

.orknet-logo:hover {
    transform: scale(1.05);
    opacity: 1;
}

/* ==========================================================================
   10. GLOBAL MEDIA QUERIES
   ========================================================================== */

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        padding: 0 2rem;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .bold-footer {
        padding: 4rem 0 2rem 0;
    }

    .footer-flex-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    footer.footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 3rem 1rem;
    }
}
