:root {
    --black:   #0e0d0c;
    --off-white: #f0ece3;
    --red:     #e8230a;
    --yellow:  #f5c419;
    --dark:    #1a1816;
    --mid:     #2a2724;
    --dust:    #8b8882;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--black);
    color: var(--off-white);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    min-height: 100vh;
}

/* NOISE OVERLAY */
body::before {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9000;
    opacity: 0.6;
}

/* For undersider (Meny, Om oss, Kontakt) */
.page-wrapper {
    padding-top: 130px; 
    min-height: 80vh;
}

/* --- HORIZONTAL CSS LOGO STYLES --- */
.smaesh-logo-horizontal { display: flex; align-items: center; justify-content: center; gap: 0.4em; user-select: none; transition: transform 0.3s ease; }
.smaesh-logo-stacked { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 0.85; user-select: none; transition: transform 0.3s ease; }
.logo-header-scale { font-size: clamp(5.5px, 1.2vw + 2px, 9px); } 
.logo-footer-scale { font-size: clamp(10px, 2.5vw, 16px); }
.logo-text { font-family: 'Bebas Neue', sans-serif; font-size: 4.5em; line-height: 0.85; letter-spacing: 0.02em; margin: 0; }
.logo-smaesh { color: var(--off-white); }
.logo-smaesh .ae-highlight { color: var(--yellow); }
.logo-burger { color: transparent; -webkit-text-stroke: 0.035em var(--off-white); }

header { position: fixed; top: 0; left: 0; right: 0; z-index: 5000; padding: 25px 4%;  display: flex; align-items: center; justify-content: space-between; background: rgba(14, 13, 12, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(245, 196, 25, 0.15); transition: all 0.3s ease; }
.logo-link { text-decoration: none; position: relative; z-index: 1; display: block; }
.logo-link:hover .smaesh-logo-horizontal { transform: scale(1.03); }
.nav-right { display: flex; align-items: center; gap: 20px; position: relative; z-index: 1; }

.order-btn, .call-btn { text-decoration: none; font-family: 'Oswald', sans-serif; font-size: 0.95rem; font-weight: 900; letter-spacing: 1px; padding: 10px 22px; clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%); transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; text-transform: uppercase; }
.order-btn { background: var(--yellow); color: var(--black); }
.order-btn:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(245, 196, 25, 0.4); }
.call-btn { background: var(--red); color: #fff; }
.call-btn:hover { background: #fff; color: var(--red); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(232, 35, 10, 0.4); }

.menu-toggle { background: none; border: none; color: var(--off-white); cursor: pointer; padding: 4px; margin-left: 10px; display: flex; flex-direction: column; gap: 6px; }
.menu-toggle span { display: block; width: 30px; height: 2px; background: var(--off-white); transition: 0.3s; }
.menu-toggle span:nth-child(2) { width: 20px; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); width: 30px; }

.side-menu { position: fixed; top: 0; right: 0; width: 100%; max-width: 420px; height: 100vh; background: var(--dark); border-left: 1px solid rgba(245,196,25,0.15); z-index: 4500; transform: translateX(100%); transition: transform 0.5s cubic-bezier(0.77,0,0.18,1); display: flex; flex-direction: column; justify-content: center; padding: 0 60px; gap: 8px; }
.side-menu.open { transform: translateX(0); }
.side-menu a { font-family: 'Bebas Neue', sans-serif; font-size: 4rem; letter-spacing: 4px; color: rgba(240,236,227,0.3); text-decoration: none; transition: 0.3s; line-height: 1; }
.side-menu a:hover { color: var(--yellow); transform: translateX(15px); }
.side-menu-footer { position: absolute; bottom: 40px; left: 60px; font-size: 0.75rem; letter-spacing: 2px; color: #fff; font-weight: 700; text-transform: uppercase; }

.popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100dvh; background: rgba(0, 0, 0, 0.85); display: flex; justify-content: center; align-items: center; z-index: 9999; opacity: 0; visibility: hidden; transition: 0.4s ease; backdrop-filter: blur(5px); }
.popup-overlay.show-popup { opacity: 1; visibility: visible; }
.popup-content { background: var(--dark); border: 2px solid var(--yellow); padding: 30px 40px; border-radius: 8px; text-align: center; max-width: 90%; width: 450px; max-height: 90vh; overflow-y: auto; transform: scale(0.9); transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.9); }
.popup-overlay.show-popup .popup-content { transform: scale(1); }
.popup-close { position: absolute; top: 10px; right: 20px; background: none; border: none; color: var(--off-white); font-size: 2.5rem; font-weight: 300; cursor: pointer; transition: 0.3s ease; z-index: 10; }
.popup-close:hover { color: var(--red); transform: rotate(90deg); }
.popup-img { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; margin-bottom: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.popup-title { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; letter-spacing: 2px; color: var(--yellow); margin-bottom: 10px; }
.popup-text { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; line-height: 1.5; color: #fff; margin-bottom: 20px; font-weight: 300; }
.popup-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.hero { min-height: 100vh; display: grid; grid-template-rows: 1fr; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url('bilder/hero-full-bg.jpg') center/cover no-repeat; filter: brightness(0.35) saturate(0.6); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 110%, rgba(232,35,10,0.25) 0%, transparent 70%), linear-gradient(to bottom, transparent 40%, var(--black) 100%); }
.hero-content { position: relative; z-index: 10; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 4% 10vh; }
.hero-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(4rem, 13vw, 15rem); line-height: 0.85; letter-spacing: -2px; color: var(--off-white); margin: 0; width: 100%; }

/* Knapper i Hero */
.hero-nav-btns { display: flex; gap: 12px; margin-top: 35px; flex-wrap: wrap; opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s 0.7s forwards; }
.hero-nav-btn { font-family: 'Oswald', sans-serif; font-size: 0.8rem; letter-spacing: 2px; font-weight: 900; text-transform: uppercase; color: #fff; text-decoration: none; padding: 12px 28px; border: 1px solid rgba(255,255,255,0.3); border-radius: 4px; transition: all 0.3s ease; backdrop-filter: blur(4px); background: rgba(0,0,0,0.2); }
.hero-nav-btn:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); transform: translateY(-3px); }

.rotating-text { display: inline-block; transition: opacity 0.5s ease-in-out, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); text-shadow: 0 10px 30px rgba(0,0,0,0.8); min-height: 2em; }
.rotating-text.fade-out { opacity: 0; transform: translateY(-20px) scale(0.98); }
.yellow-letter { color: var(--yellow); }
.hero-sub { display: flex; align-items: center; gap: 20px; margin-top: 30px; opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s 0.6s forwards; }
.hero-sub p { font-size: 0.8rem; letter-spacing: 4px; text-transform: uppercase; color: #fff; font-weight: 700; }
.hero-sub-line { flex: 1; height: 1px; background: rgba(240,236,227,0.3); max-width: 120px; }
.scroll-indicator { position: absolute; bottom: 40px; right: 4%; writing-mode: vertical-rl; font-size: 0.65rem; letter-spacing: 4px; color: #fff; font-weight: 700; text-transform: uppercase; display: flex; align-items: center; gap: 12px; opacity: 0; animation: fadeIn 1s 1.2s forwards; }
.scroll-indicator::before { content: ''; display: block; width: 1px; height: 50px; background: linear-gradient(to bottom, transparent, #fff); }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }

.hours-bar { background: var(--dark); border-top: 1px solid rgba(240,236,227,0.06); border-bottom: 1px solid rgba(240,236,227,0.06); padding: 18px 4%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; position: relative; z-index: 20; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-family: 'Oswald', sans-serif; font-size: 0.8rem; letter-spacing: 3px; padding: 8px 18px; border: 1px solid currentColor; font-weight: 900; border-radius: 4px; }
.status-pill.open { color: #4ade80; }
.status-pill.closed { color: var(--red); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hours-list { display: flex; gap: 30px; flex-wrap: wrap; }
.hours-item { font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: #fff; font-weight: 700; }
.hours-item strong { margin-right: 6px; color: var(--yellow); }

.ticker { overflow: hidden; border-bottom: 3px solid var(--yellow); background: var(--black); padding: 0; }
.ticker-inner { display: flex; white-space: nowrap; animation: tickerScroll 20s linear infinite; }
.ticker-item { font-family: 'Bebas Neue', sans-serif; font-size: clamp(3rem, 7vw, 5.5rem); letter-spacing: 4px; padding: 15px 40px; color: transparent; -webkit-text-stroke: 1.5px rgba(245,196,25,0.7); flex-shrink: 0; }
.ticker-item .sep { color: var(--red); -webkit-text-stroke: 0; margin: 0 20px; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

#lunch-banner { display: none; background: var(--yellow); padding: 16px 4%; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; }
.lunch-text { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 3px; color: var(--black); }
.lunch-link { font-family: 'Oswald', sans-serif; font-size: 0.8rem; font-weight: 900; letter-spacing: 3px; color: var(--black); text-decoration: none; border-bottom: 2px solid var(--black); padding-bottom: 2px; transition: opacity 0.3s ease; text-transform: uppercase; }
.lunch-link:hover { opacity: 0.6; }

.menu-section { padding: 40px 4% 100px; position: relative; }
.menu-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 60px; gap: 20px; flex-wrap: wrap; }
.menu-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(4rem, 10vw, 8rem); letter-spacing: -1px; line-height: 0.9; color: var(--off-white); }
.menu-title .outline { -webkit-text-stroke: 2px rgba(240,236,227,0.2); color: transparent; }

.cat-tabs { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 50px; border-bottom: 1px solid rgba(240,236,227,0.1); }
.cat-tab { font-family: 'Oswald', sans-serif; font-size: 0.75rem; letter-spacing: 2px; font-weight: 900; text-transform: uppercase; padding: 12px 24px; cursor: pointer; color: rgba(255,255,255,0.5); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color 0.3s ease, border-color 0.3s ease; background: none; border-top: none; border-left: none; border-right: none; }
.cat-tab:hover { color: var(--off-white); }
.cat-tab.active { color: var(--yellow); border-bottom-color: var(--yellow); }

.cat-panel { display: none; animation: panelFade 0.5s ease forwards; }
.cat-panel.active { display: block; }
@keyframes panelFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.cat-img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; margin-bottom: 30px; box-shadow: 0 8px 20px rgba(0,0,0,0.5); transition: transform 0.5s ease; }
.cat-img:hover { transform: scale(1.01); }

.menu-table { width: 100%; }
.menu-table-header { display: grid; grid-template-columns: 1fr auto; padding: 10px 0; border-bottom: 1px solid rgba(240,236,227,0.08); margin-bottom: 10px; }
.menu-table-header span { font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; color: #fff; font-weight: 900; }
.menu-row { display: grid; grid-template-columns: 1fr auto; align-items: start; padding: 20px 0; border-bottom: 1px solid rgba(240,236,227,0.06); transition: all 0.25s ease; gap: 20px; border-radius: 6px; }
.menu-row:hover { background: rgba(245, 196, 25, 0.05); padding-left: 15px; padding-right: 15px; margin-left: -15px; margin-right: -15px; box-shadow: inset 0 0 0 1px rgba(245, 196, 25, 0.1); }
.menu-row-left { min-width: 0; }
.menu-row-name { font-family: 'Oswald', sans-serif; font-size: 1.05rem; letter-spacing: 1px; font-weight: 900; color: #fff; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.badge { font-size: 0.5rem; letter-spacing: 2px; padding: 3px 8px; font-family: 'DM Sans', sans-serif; font-weight: 900; text-transform: uppercase; border-radius: 3px; }
.badge-best { background: var(--yellow); color: var(--black); }
.badge-deal { background: var(--red); color: #fff; }
.menu-row-desc { margin-top: 5px; font-size: 0.8rem; color: #bbb; font-weight: 300; font-style: italic; text-transform: lowercase; letter-spacing: 0.3px; line-height: 1.5; }
.menu-row-price { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; color: var(--yellow); white-space: nowrap; letter-spacing: 1px; }
.promo-highlight { background: rgba(245, 196, 25, 0.08); border: 1px solid rgba(245, 196, 25, 0.3); padding: 20px 15px; margin: -1px -15px 0 -15px; }

.menu-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.mini-category h4 { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: 1px; color: #fff; padding-bottom: 12px; border-bottom: 1px solid rgba(240,236,227,0.08); margin-bottom: 15px; }
.mini-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid rgba(240,236,227,0.04); gap: 15px; transition: background 0.2s ease; border-radius: 4px; }
.mini-row:hover { background: rgba(255,255,255,0.03); padding-left: 8px; padding-right: 8px; margin-left: -8px; margin-right: -8px; }
.mini-row-left { min-width: 0; }
.mini-name { font-family: 'Oswald', sans-serif; font-size: 0.85rem; letter-spacing: 1px; color: #fff; font-weight: 900; }
.mini-desc { font-size: 0.7rem; color: #aaa; font-style: italic; margin-top: 3px; line-height: 1.4; }
.mini-price { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; color: var(--yellow); white-space: nowrap; }

.delivery-section { padding: 60px 4% 100px; display: flex; justify-content: center; align-items: center; flex-direction: column; text-align: center; }
.delivery-inner { width: 100%; display: flex; flex-direction: column; align-items: center; }
.delivery-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.5rem, 8vw, 6rem); line-height: 0.9; letter-spacing: 1px; margin-bottom: 40px; width: 100%; text-align: center; }
.delivery-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.del-btn { font-family: 'Oswald', sans-serif; font-size: 0.85rem; letter-spacing: 2px; font-weight: 900; text-decoration: none; padding: 16px 40px; text-transform: uppercase; transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease; display: inline-flex; align-items: center; gap: 12px; border-radius: 4px; }
.del-btn:hover { transform: translateY(-4px); filter: brightness(1.1); }
.del-foodora { background: #D70F64; color: #fff; box-shadow: 0 10px 20px rgba(215, 15, 100, 0.25); }
.del-wolt { background: #009DE0; color: #fff; box-shadow: 0 10px 20px rgba(0, 157, 224, 0.25); }

.marquee-band { overflow: hidden; background: var(--red); padding: 14px 0; border-top: 2px solid rgba(0,0,0,0.2); }
.marquee-inner { display: flex; white-space: nowrap; animation: tickerScroll 12s linear infinite; }
.marquee-item { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 6px; color: rgba(255,255,255,0.7); padding: 0 30px; flex-shrink: 0; }
.marquee-item span { color: rgba(0,0,0,0.5); margin: 0 10px; }

.about-section { padding: 40px 4% 120px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; }
.about-visual-wrap { position: relative; width: 100%; aspect-ratio: 4/5; border-radius: 8px; overflow: hidden; clip-path: circle(15% at 50% 50%); transform: scale(0.95); transition: clip-path 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, transform 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.15s; will-change: clip-path, transform; }
.about-visual.in .about-visual-wrap { clip-path: circle(150% at 50% 50%); transform: scale(1); }
.about-visual-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2) brightness(0.85); transform: scale(1.4); transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.15s; will-change: transform; }
.about-visual.in .about-visual-img { transform: scale(1); }
.about-visual-accent { position: absolute; bottom: -20px; right: -20px; width: 60%; aspect-ratio: 1; border: 2px solid var(--yellow); z-index: -1; border-radius: 4px; opacity: 0; transition: opacity 1s ease 0.6s; }
.about-visual.in .about-visual-accent { opacity: 1; animation: spin 20s linear infinite; }

@keyframes spin { 100% { transform: rotate(360deg); } }

@supports (animation-timeline: view()) {
    .about-visual.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .about-visual-wrap { animation: maskExpand linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; transition: none !important; }
    .about-visual-img { animation: imageScaleDown linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; transition: none !important; }
    .about-visual-accent { opacity: 1; animation: spin 20s linear infinite, fadeAccent linear both; animation-timeline: auto, view(); animation-range: auto, entry 20% cover 45%; transition: none; }
}

@keyframes maskExpand { 0% { clip-path: circle(5% at 50% 50%); transform: scale(0.92); } 100% { clip-path: circle(150% at 50% 50%); transform: scale(1); } }
@keyframes imageScaleDown { 0% { transform: scale(1.5); filter: grayscale(0.6) brightness(0.7); } 100% { transform: scale(1); filter: grayscale(0.2) brightness(0.85); } }
@keyframes fadeAccent { 0%, 50% { opacity: 0; } 100% { opacity: 1; } }

.about-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(3rem, 6vw, 5.5rem); line-height: 0.9; letter-spacing: -1px; margin-bottom: 35px; color: var(--yellow); }
.about-text { font-size: 1rem; line-height: 1.85; color: #ddd; font-weight: 300; margin-bottom: 20px; }
.about-stat { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@keyframes waveFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
.wavy-stat { display: inline-block; animation: waveFloat 3.5s ease-in-out infinite; }
.wavy-stat:nth-child(2) { animation-delay: 0.6s; }
.wavy-stat:nth-child(3) { animation-delay: 1.2s; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 3.5rem; letter-spacing: -1px; color: #fff; min-height: 1.2em; text-shadow: 0 5px 15px rgba(245,196,25,0.3); }
.stat-label { font-size: 0.65rem; letter-spacing: 2px; font-weight: 900; text-transform: uppercase; color: var(--yellow); margin-top: 4px; min-height: 1.2em; }

.magic-section { position: relative; padding: 100px 4%; background: #11151c; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 80vh; border-top: 1px solid rgba(240,236,227,0.06); overflow: hidden; cursor: crosshair; }
.magic-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(3rem, 6vw, 5rem); color: var(--off-white); margin-bottom: 60px; letter-spacing: 2px; z-index: 200; text-align: center; }
.magic-title span { color: var(--yellow); }

#magic_wand { width: clamp(30px, 8vmin, 50px); aspect-ratio: 1 / 10; background: linear-gradient(to right, rgb(26 24 28) 10%, rgb(42 40 44) 45% 55%, rgb(26 24 28) 90%); position: absolute; left: 50%; top: 50%; translate: -50%; rotate: -3deg; z-index: 100; border-radius: 3vmin; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8); overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.magic-section:hover #magic_wand, .magic-section:active #magic_wand { opacity: 1; }
#magic_wand > .wand_cap { height: 20%; width: 100%; background: linear-gradient(to right, var(--yellow) 10%, #fff 45% 55%, var(--yellow) 90%); }

#tiles { display: flex; align-items: center; justify-content: center; position: relative; z-index: 50; }
.magic-tile { display: grid; place-items: center; width: clamp(150px, 35vmin, 300px); position: relative; overflow: hidden; aspect-ratio: 1; background-color: #212d40; border-radius: 6vmin; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), inset 0 2px 10px rgba(255, 255, 255, 0.15); transition: transform 0.3s ease; --opacity: 0; --blur: 1; }
.magic-tile:nth-child(1) { rotate: -4deg; z-index: 4; }
.magic-tile:nth-child(2) { rotate: 4deg; z-index: 3; margin-left: -8vmin; }
.magic-tile:nth-child(3) { rotate: -4deg; z-index: 2; margin-left: -8vmin; }
.magic-tile:nth-child(4) { rotate: 4deg; z-index: 1; margin-left: -8vmin; }
.magic-tile:hover { transform: translateY(-10px); }
.magic-tile > svg { width: 30%; height: auto; fill: #364156; }
.magic-tile > img { height: 100%; width: 100%; aspect-ratio: 1; position: absolute; left: 0; top: 0; object-fit: cover; opacity: var(--opacity); filter: blur(calc(var(--blur) * 10px)); transition: opacity 0.15s, filter 0.15s; }

.map-section { padding: 40px 4% 100px; }
.map-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; gap: 20px; flex-wrap: wrap; }
.map-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(3rem, 7vw, 5rem); letter-spacing: -1px; line-height: 0.9; }
.map-link { font-family: 'Oswald', sans-serif; font-size: 0.75rem; letter-spacing: 2px; font-weight: 900; text-transform: uppercase; color: var(--yellow); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: opacity 0.3s ease, padding 0.3s ease; }
.map-link:hover { opacity: 0.8; padding-bottom: 6px; }
.map-frame { width: 100%; height: 420px; border: none; display: block; filter: grayscale(0.8) invert(0.05); border-radius: 8px; }

footer { padding: 50px 4% 30px; background: var(--black); border-top: 1px solid rgba(240,236,227,0.08); }
.footer-top { display: flex; flex-direction: column; align-items: center; gap: 35px; padding-bottom: 35px; border-bottom: 1px solid rgba(240,236,227,0.06); margin-bottom: 25px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; max-width: 800px; text-align: center; }
.footer-col h5 { font-family: 'Oswald', sans-serif; font-size: 0.75rem; letter-spacing: 2px; font-weight: 900; text-transform: uppercase; color: #fff; margin-bottom: 15px; }
.footer-col p, .footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.7); text-decoration: none; display: block; margin-bottom: 6px; font-weight: 300; transition: color 0.3s ease, transform 0.3s ease; }
.footer-col a:hover { color: var(--yellow); transform: translateY(-2px); }
.footer-bottom { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 20px; }
.footer-copy { font-size: 0.7rem; letter-spacing: 2px; font-weight: 700; color: rgba(255,255,255,0.4); text-transform: uppercase; }
.footer-zella p { font-size: 0.7rem; letter-spacing: 2px; font-weight: 700; color: rgba(255,255,255,0.4); text-transform: uppercase; margin-bottom: 12px; }
.footer-zella a { color: var(--yellow); text-decoration: none; transition: opacity 0.3s ease; }
.footer-zella a:hover { opacity: 0.7; }
.zella-logo { filter: brightness(0) invert(1); width: 140px; display: block; margin: 0 auto; transition: transform 0.3s ease; }
.footer-zella a:hover .zella-logo { transform: scale(1.05); }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-car { opacity: 0; display: inline-block; }
.reveal-car.in { animation: carBrake 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
@keyframes carBrake { 0% { transform: translateX(180px) scale(2.2) skewX(-25deg); opacity: 0; } 50% { transform: translateX(-15px) scale(1.1) skewX(10deg); opacity: 1; } 75% { transform: translateX(8px) scale(1.05) skewX(-5deg); opacity: 1; } 100% { transform: translateX(0) scale(1) skewX(0); opacity: 1; } }

/* MOBILE */
@media (max-width: 900px) {
    .about-section { grid-template-columns: 1fr; }
    .about-visual { margin-bottom: 30px; }
}
@media (max-width: 768px) {
    header { padding: 22px 4%; }
    .nav-right { gap: 10px; }
    .order-btn, .call-btn { padding: 8px 12px; font-size: 0.75rem; letter-spacing: 0.5px; }
    .cat-tabs { display: flex; justify-content: center; gap: 8px; }
    .cat-tab { flex: 1 1 30%; padding: 10px 4px; font-size: 0.7rem; letter-spacing: 0.5px; text-align: center; }
    .cat-tab:last-child { flex: 1 1 100%; }
    .zella-logo { width: 90px; }
    .magic-tile:nth-child(2), .magic-tile:nth-child(3), .magic-tile:nth-child(4) { margin-left: -12vmin; }
}
@media (max-width: 600px) {
    .hours-bar { flex-direction: column; align-items: flex-start; }
    .hours-list { gap: 15px; }
    .footer-cols { grid-template-columns: 1fr; gap: 30px; }
    .delivery-btns { flex-direction: column; }
    .del-btn { text-align: center; justify-content: center; }
    .cat-img { height: 180px; }
    .popup-content { padding: 25px 20px; }
    .popup-img { height: 150px; }
    .popup-title { font-size: 1.8rem; margin-bottom: 10px; }
    .popup-text { font-size: 0.85rem; margin-bottom: 15px; }
    .ticker-inner { animation-duration: 9s; }
    .marquee-inner { animation-duration: 6s; }
    .hero-nav-btns { justify-content: center; }
}