/* ============================
   FUDIS HOUSE — Premium Edition
   ============================ */

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

:root {
    --black: #000;
    --dark: #111;
    --gray-900: #1a1a1a;
    --gray-700: #444;
    --gray-500: #777;
    --gray-300: #ccc;
    --gray-100: #f5f5f5;
    --white: #fff;
    --red: #FF0000;
    --green: #008C45;
    --accent: #FF0000;
    --radius: 12px;
    --transition: .2s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden { display: none !important; }

/* ====== SCROLL ANIMATIONS ====== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .3s; }

/* ====== NAV ====== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    transition: box-shadow .3s ease, background .3s ease;
}

.nav.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform .2s ease;
}

.nav-brand:hover {
    transform: scale(1.05);
}

.nav-logo-img {
    width: 52px;
    height: 52px;
    border-radius: 6px;
    object-fit: contain;
}

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

.nav-links a {
    font-size: .875rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.nav-wolt)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width .3s ease;
}

.nav-links a:not(.nav-wolt):hover::after {
    width: 100%;
}

.nav-links a:hover { color: var(--dark); }

.nav-wolt {
    background: var(--red) !important;
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: .8rem !important;
    font-weight: 600 !important;
    transition: all .3s ease !important;
}

.nav-wolt:hover {
    background: var(--dark) !important;
    color: var(--white) !important;
    transform: scale(1.05);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    width: 20px;
    height: 1.5px;
    background: var(--dark);
    transition: var(--transition);
}

.nav-toggle.active span:first-child { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.active span:last-child { transform: rotate(-45deg) translate(4px, -4px); }

/* ====== HERO ====== */
.hero {
    padding: 120px 20px 60px;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-tag {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gray-500);
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-tag::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--red);
    display: inline-block;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.03em;
    margin-bottom: 16px;
}

.hero h1 span {
    color: var(--green);
    display: inline-block;
    animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--gray-500);
    margin-bottom: 28px;
    max-width: 420px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .8rem;
    color: var(--gray-500);
}

.dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gray-300);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-bg-wrapper {
    position: absolute;
    inset: -20px;
    border-radius: 24px;
    overflow: hidden;
    z-index: 0;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.35);
}

.hero-pizza {
    position: relative;
    z-index: 1;
    width: 130%;
    max-width: 650px;
    animation: float 5s ease-in-out infinite;
    filter: drop-shadow(0 24px 50px rgba(0,0,0,.2));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* ====== BUTTONS ====== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 100px;
    font-family: inherit;
    font-weight: 600;
    font-size: .875rem;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all .3s cubic-bezier(.16,1,.3,1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width .5s ease, height .5s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(.96);
}

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

.btn-dark:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,0,0,.25);
}

.btn-ghost {
    background: transparent;
    color: var(--dark);
    border-color: var(--gray-300);
}

.btn-ghost:hover {
    border-color: var(--dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

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

.btn-lg {
    padding: 14px 30px;
    font-size: .95rem;
}

/* ====== SECTION DIVIDER ====== */
.section-divider {
    text-align: center;
    padding: 0 20px;
    margin: -1px 0;
}

.section-divider svg {
    display: block;
    width: 100%;
}

/* ====== MENU ====== */
.menu {
    padding: 80px 0;
    background: var(--gray-100);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 32px;
}

.section-head h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -.03em;
}

.link-wolt {
    font-size: .875rem;
    font-weight: 600;
    color: var(--green);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.link-wolt:hover {
    gap: 8px;
    opacity: .8;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 32px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.tabs::-webkit-scrollbar { display: none; }

.tab {
    padding: 9px 20px;
    border: 1.5px solid var(--gray-300);
    border-radius: 100px;
    background: var(--white);
    font-family: inherit;
    font-weight: 600;
    font-size: .8rem;
    color: var(--gray-700);
    cursor: pointer;
    white-space: nowrap;
    transition: all .3s cubic-bezier(.16,1,.3,1);
}

.tab:hover {
    border-color: var(--dark);
    color: var(--dark);
    transform: translateY(-2px);
}

.tab.active {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

/* Card */
.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .35s cubic-bezier(.16,1,.3,1);
    border: 1px solid transparent;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,.1);
    border-color: rgba(255,0,0,.1);
}

.card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--white);
    position: relative;
}

.card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.03));
    pointer-events: none;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% 55%;
    transform: scale(1.5);
    transition: transform .5s cubic-bezier(.16,1,.3,1);
}

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

.card-body {
    padding: 14px 16px 16px;
}

.card-body h3 {
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -.01em;
}

.card-body p {
    font-size: .78rem;
    color: var(--gray-500);
    margin-bottom: 8px;
    line-height: 1.4;
}

.price {
    font-size: .85rem;
    font-weight: 700;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
}

.badge {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    font-size: .6rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .03em;
    vertical-align: middle;
    margin-left: 4px;
    animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,0,0,.3); }
    50% { box-shadow: 0 0 0 6px rgba(255,0,0,0); }
}

.menu-origin {
    font-size: .8rem;
    color: var(--gray-500);
    margin-top: 4px;
}

a.card {
    display: block;
    color: inherit;
}

/* ====== TRUSTED BANNER ====== */
.trust-banner {
    padding: 32px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    overflow: hidden;
}

.trust-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .85rem;
    color: var(--gray-500);
    font-weight: 500;
}

.trust-icon {
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ====== CTA ====== */
.cta {
    padding: 80px 0;
    text-align: center;
    background: var(--red);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(255,255,255,.06) 0%, transparent 60%);
    animation: cta-shimmer 8s linear infinite;
}

@keyframes cta-shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -.03em;
    margin-bottom: 8px;
    position: relative;
}

.cta p {
    color: rgba(255,255,255,.85);
    margin-bottom: 28px;
    font-size: 1rem;
    position: relative;
}

.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.cta .btn-dark {
    background: var(--white);
    color: var(--red);
    border-color: var(--white);
}

.cta .btn-dark:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

.cta .btn-outline {
    color: var(--white);
    border-color: rgba(255,255,255,.4);
}

.cta .btn-outline:hover {
    background: var(--white);
    color: var(--red);
    border-color: var(--white);
}

/* ====== REVIEWS ====== */
.reviews {
    padding: 80px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.review-card {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 24px;
    transition: all .35s cubic-bezier(.16,1,.3,1);
    border: 1px solid transparent;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.06);
    border-color: rgba(255,0,0,.08);
    background: var(--white);
}

.review-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .75rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255,0,0,.25);
}

.review-top strong {
    display: block;
    font-size: .88rem;
}

.review-meta {
    font-size: .72rem;
    color: var(--gray-500);
}

.review-stars {
    color: #FBBF24;
    font-size: 1rem;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.review-card p {
    font-size: .85rem;
    color: var(--gray-700);
    line-height: 1.5;
    margin-bottom: 8px;
}

.review-tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 600;
    color: var(--gray-500);
    background: var(--white);
    padding: 3px 10px;
    border-radius: 100px;
}

.review-card:hover .review-tag {
    background: var(--gray-100);
}

/* Reviews summary */
.reviews-summary {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-big-score {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1;
    margin-bottom: 4px;
}

.reviews-stars-big {
    font-size: 1.5rem;
    letter-spacing: 4px;
    color: #FBBF24;
    margin-bottom: 4px;
}

.reviews-count {
    font-size: .85rem;
    color: var(--gray-500);
}

/* ====== ABOUT ====== */
.about {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-img {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-img img {
    border-radius: var(--radius);
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform .5s ease;
}

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

.about-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -.03em;
    margin-bottom: 16px;
}

.about-text p {
    color: var(--gray-500);
    margin-bottom: 12px;
    font-size: .95rem;
    line-height: 1.6;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-100);
}

.about-stats div {
    text-align: center;
}

.about-stats strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--red);
}

.about-stats span {
    font-size: .78rem;
    color: var(--gray-500);
}

/* ====== CONTACT ====== */
.contact {
    padding: 80px 0;
    background: var(--gray-100);
}

.contact h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -.03em;
    margin-bottom: 32px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 32px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item strong {
    display: block;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: .95rem;
    line-height: 1.6;
}

.contact-item a {
    color: var(--red);
    font-weight: 500;
    transition: var(--transition);
}

.contact-item a:hover { opacity: .7; }

.contact-map {
    height: 340px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

/* ====== FOOTER ====== */
.footer {
    padding: 28px 0;
    border-top: 3px solid;
    border-image: linear-gradient(to right, var(--green) 33%, var(--white) 33%, var(--white) 66%, var(--red) 66%) 1;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .78rem;
    color: var(--gray-500);
}

.footer a {
    color: var(--accent);
    font-weight: 500;
    transition: var(--transition);
}

.footer a:hover {
    opacity: .7;
}

/* ====== WA FLOAT ====== */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,.35);
    z-index: 99;
    transition: all .3s cubic-bezier(.16,1,.3,1);
    animation: wa-bounce 3s ease-in-out infinite;
}

@keyframes wa-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.wa-float:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 28px rgba(37,211,102,.5);
    animation: none;
}

/* ====== BACK TO TOP ====== */
.back-top {
    position: fixed;
    bottom: 90px;
    right: 28px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;
    cursor: pointer;
    font-size: .85rem;
    color: var(--dark);
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.back-top.show {
    opacity: 1;
    pointer-events: auto;
}

.back-top:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
    transform: translateY(-2px);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px 20px;
        gap: 20px;
        border-bottom: 1px solid var(--gray-100);
        box-shadow: 0 12px 32px rgba(0,0,0,.06);
    }

    .nav-links.open { display: flex; }

    .nav-links a {
        color: var(--dark);
        font-size: 1rem;
        font-weight: 600;
    }

    .nav-links a:not(.nav-wolt)::after {
        display: none;
    }

    .nav-links a:hover {
        color: var(--red);
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 100px 20px 40px;
        gap: 32px;
        text-align: center;
    }

    .hero-tag { justify-content: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-info { justify-content: center; flex-wrap: wrap; }
    .hero-image { order: -1; }
    .hero-pizza { max-width: 320px !important; width: 100% !important; }

    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }

    .grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 10px;
    }

    .card-body { padding: 10px 12px 12px; }
    .card-body h3 { font-size: .82rem; }
    .card-body p { font-size: .72rem; }

    .footer-inner { flex-direction: column; gap: 4px; text-align: center; }

    .section-head { flex-direction: column; gap: 8px; }

    .trust-inner { gap: 24px; }
    .trust-item { font-size: .78rem; }

    .reviews-big-score { font-size: 3rem; }

    .about-stats { gap: 20px; }
}
