/* ============================================
   JOKER BURGER - HOMEPAGE STYLES
   ============================================ */

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

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background-color: #0a0a0a;
    font-family: 'Open Sans', sans-serif;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 40px;
    position: relative;
    background: rgba(10, 10, 10, 0.589);
    
}
.home-banner-video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo a {
    display: block;
}

.logo-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #8b4513;
}

/* Desktop nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 60px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    font-family: 'Cinzel', serif;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #e8820c;
}

.nav-link.highlight {
    color: #e8820c;
    border-bottom: 2px solid #e8820c;
    padding-bottom: 2px;
}

.nav-link.active {
    color: #ffffff;
}

/* Nav right side */
.nav-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* ORDER NOW button */
.btn-order-now {
    background-color: #EB4800;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    white-space: nowrap;
}

.btn-order-now:hover {
    background-color: #cf6f08;
    transform: scale(1.02);
}

/* Mobile elements hidden on desktop */
.mobile-only {
    display: none;
}

.desktop-only {
    display: flex;
}

/* Hamburger button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-mobile-left {
    display: none;
}

/* Mobile dropdown */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.97);
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(232, 130, 12, 0.3);
}

.mobile-menu.open {
    display: flex;
}

.mobile-nav-link {
    text-decoration: none;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: color 0.2s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #e8820c;
}

.mobile-order {
    margin-top: 20px;
    text-align: center;
    padding: 14px 22px;
    border-radius: 4px;
}

/* Cart icon */
.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-icon svg {
    width: 26px;
    height: 26px;
    color: #ffffff;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #EB4800;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

/* Background image */
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

/* Dark overlay - strong at top, fades to transparent in middle, dark at bottom */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.55) 18%,
            rgba(0, 0, 0, 0.12) 38%,
            rgba(0, 0, 0, 0.08) 52%,
            rgba(0, 0, 0, 0.40) 72%,
            rgba(0, 0, 0, 0.88) 100%
        );
}

/* Hero text content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 230px;
    padding-left: 20px;
    padding-right: 20px;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(52px, 8vw, 100px);
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1.05;
    text-shadow:
        0 0 30px rgba(245, 180, 20, 0.6),
        0 0 60px rgba(245, 130, 0, 0.4),
        2px 2px 8px rgba(0,0,0,0.9);
    margin-bottom: 14px;
}
.hero-subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(14px, 2.2vw, 20px);
    font-weight: 500;
    color: #e8820c;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 12px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.hero-tagline {
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(13px, 1.5vw, 17px);
    font-weight: 400;
    color: #e0e0e0;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.9);
}

/* Hero logo */
.hero-logo {
    display: none;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #8b4513;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(232, 130, 12, 0.4);
}

/* Hero CTA buttons */
.hero-buttons {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 40px;
    padding-bottom: 48px;
    padding-left: 20px;
    padding-right: 20px;
    justify-content: center;
    width: 100%;
}

.btn-bezorgen,
.btn-afhalen {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 22px 100px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 180px;
    text-align: center;
}

.btn-bezorgen {
    background-color: #EB4800;
    color: #ffffff;
    border: 2px solid #EB4800;
}

.btn-bezorgen:hover {
    background-color: #cf6f08;
    border-color: #cf6f08;
    transform: translateY(-2px);
}

.btn-afhalen {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-afhalen:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 900px) {
    .navbar-inner {
        padding: 12px 24px;
    }

    .nav-links {
        gap: 22px;
    }

    .nav-link {
        font-size: 13px;
    }

    .btn-order-now {
        font-size: 12px;
        padding: 9px 16px;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 640px) {
    /* Show mobile elements */
    .mobile-only {
        display: flex;
    }

    .desktop-only {
        display: none !important;
    }

    .nav-mobile-left {
        display: flex;
        align-items: center;
    }

    .hamburger {
        display: flex;
    }

    /* Navbar layout on mobile */
    .navbar-inner {
        padding: 14px 20px;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    .nav-mobile-left {
        justify-self: start;
    }

    .nav-logo {
        justify-self: center;
    }

    .nav-right {
        justify-self: end;
    }

    /* Hide desktop nav links on mobile */
    .nav-links {
        display: none;
    }

    .logo-img {
        width: 100px;
        height: 100px;
    }

    /* Hero adjustments */
    .hero-content {
        padding-top: 200px;
        position: relative;
        z-index: 10;
    }

    .hero-logo {
        display: block;
        width: 90px;
        height: 90px;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: clamp(38px, 11vw, 56px);
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 13px;
        letter-spacing: 3px;
    }

    .hero-tagline {
        font-size: 13px;
    }

    /* Buttons stacked full width on mobile */
    .hero-buttons {
        
        align-items: stretch;
        padding-bottom: 110px;
        gap: 12px;
        
        margin: 0 auto;
        position: relative;
        z-index: 10;
    }

    .btn-bezorgen,
    .btn-afhalen {
        padding: 16px 24px;
        font-size: 15px;
        min-width: unset;
        width: 100%;
    }

    /* Background position on mobile - show burgers prominently */
    .hero-bg-img {
        object-position: center 50%;
    }

   /* Gebruik mobiele achtergrond */
.hero {
    background-image: url('burgers-mobile-bg.png');
    background-size: cover;
    background-position: center 200%;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.hero-bg {
    display: none;
}

.hero-overlay {
    display: none;
}

/* Extra aanpassing voor smallere toestellen */
@media (max-width: 390px) {

    .hero {
        background-size: 110% auto;
     
    }

    .hero-content {
        padding-top: 180px;
    }

    .hero-buttons {
        padding-bottom: 80px;
    }
}
@media (max-width: 340px) {

    .hero {
        background-size: 130% auto;
    }

    .hero-content {
        padding-top: 180px;
    }

    .hero-buttons {
        padding-bottom: 80px;
    }
}
    
}

/* ---- ACCOUNT ICON IN NAVBAR ---- */
.nav-account-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 4px;
    text-decoration: none;
}
.page-white .nav-account-icon { color: #222; }
.nav-account-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #EB4800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: .8rem;
}

/* Bottom nav account avatar */
.bottom-nav-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #EB4800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: .68rem;
}
