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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #fafafa;
}

/* TOP BAR + NAVBAR JAKO JEDEN BLOK */
.header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    text-align: center;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.top-bar .info span {
    margin-right: 2rem;
}

.top-bar .payments {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* SOCIAL MEDIA LINK W TOP BAR */
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
}

.social-link:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

.social-link i {
    font-size: 1.1rem;
}

.navbar {
    background: #FFF6EE;
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #ff6b35;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('img/hero.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 2.5rem;
    max-width: 800px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(255,107,53,0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,107,53,0.6);
}

.menu-button {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.menu-button:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* SECTIONS */
.section {
    padding: 5rem 0;
    background: white;
    position: relative;
    overflow: hidden;
}

/* PRAWDZIWE ZDJĘCIA PIZZY I SKŁADNIKÓW W TLE SEKCJI MENU */
#menu {
    background: #fff;
    position: relative;
}

#menu .container {
    position: relative;
    z-index: 2;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

#menu .section-title {
    color: #e87722;
}

/* MENU TABS */
.menu-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tab-button {
    background: #f8f9fa;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.tab-button:hover {
    background: rgba(255, 107, 53, 0.1);
}

.tab-button.active {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
}

/* SUB-MENU BUTTONS */
.sub-menu-tabs {
    display: none;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.sub-menu-tabs.active {
    display: flex;
}

.sub-tab-button {
    background: rgba(255, 107, 53, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.2);
    color: #666;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.sub-tab-button:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: #ff6b35;
}

.sub-tab-button.active {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

.menu-list {
    display: none;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
    min-height: 200px;
    position: relative;
    z-index: 10;
}

.menu-list.active {
    display: block;
}

.pizza-subcategory {
    display: none;
}

.pizza-subcategory.active {
    display: block;
}

.menu-item {
    background: white;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #ff6b35;
    transition: all 0.3s;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    min-height: 70px;
    position: relative;
    z-index: 10;
    gap: 1rem;
}

.menu-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.menu-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    overflow: hidden;
}

.menu-left {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.menu-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ff6b35;
    min-width: 30px;
}

.menu-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.menu-ingredients {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.menu-prices {
    display: flex;
    gap: 0;
    min-width: 240px;
    margin-left: auto;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

.price-column {
    flex: 1;
    text-align: right;
    padding: 0 0.25rem;
}

.size-label {
    font-size: 0.75rem;
    color: #999;
    font-weight: 500;
    margin-bottom: 0.1rem;
}

.price-value {
    font-size: 1rem;
    font-weight: 700;
    color: #ff6b35;
}

/* CONTACT SECTION */
#contact {
    background: #f8f9fa;
}

/* DELIVERY SECTION */
#delivery {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

#delivery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1526367790999-0150786686a2?w=1200');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

#delivery .container {
    position: relative;
    z-index: 2;
}

/* BISTRO SECTION */
#bistro img {
    transition: transform 0.3s ease;
}

#bistro img:hover {
    transform: scale(1.05);
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('https://images.unsplash.com/photo-1546470427-e26264be0b90?w=180'),
        url('https://images.unsplash.com/photo-1592924357228-91a4daadcfea?w=100'),
        url('https://images.unsplash.com/photo-1618164436241-4473940d1f5c?w=150'),
        url('https://images.unsplash.com/photo-1618375569909-3c8616cf7733?w=90'),
        url('https://images.unsplash.com/photo-1607509686899-746c5e8d8b85?w=140'),
        url('https://images.unsplash.com/photo-1614961071062-c4e5c4cb0c1d?w=95'),
        url('https://images.unsplash.com/photo-1486297678162-eb2a19b0a32d?w=160'),
        url('https://images.unsplash.com/photo-1618164436241-4473940d1f5c?w=85'),
        url('https://images.unsplash.com/photo-1563565375-f3fdfdbefa83?w=130'),
        url('https://images.unsplash.com/photo-1628840042765-356cda07504e?w=110'),
        url('https://images.unsplash.com/photo-1571490830729-25daf530c817?w=80');
    background-size: 
        180px auto, 100px auto, 150px auto, 90px auto, 140px auto, 95px auto,
        160px auto, 85px auto, 130px auto, 110px auto, 80px auto;
    background-position: 
        8% 12%, 90% 15%, 12% 72%, 85% 80%, 42% 8%, 70% 88%,
        22% 42%, 92% 48%, 75% 22%, 32% 85%, 58% 58%;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

#contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 8% 12%, rgba(248,249,250,0) 0%, rgba(248,249,250,0.7) 100px, rgba(248,249,250,0.85) 140px),
        radial-gradient(circle at 90% 15%, rgba(248,249,250,0.3) 0%, rgba(248,249,250,0.8) 60px, rgba(248,249,250,0.9) 90px),
        radial-gradient(circle at 12% 72%, rgba(248,249,250,0) 0%, rgba(248,249,250,0.7) 90px, rgba(248,249,250,0.85) 130px),
        radial-gradient(circle at 85% 80%, rgba(248,249,250,0.3) 0%, rgba(248,249,250,0.8) 55px, rgba(248,249,250,0.9) 85px),
        radial-gradient(circle at 42% 8%, rgba(248,249,250,0) 0%, rgba(248,249,250,0.7) 85px, rgba(248,249,250,0.85) 120px),
        radial-gradient(circle at 70% 88%, rgba(248,249,250,0.2) 0%, rgba(248,249,250,0.75) 60px, rgba(248,249,250,0.88) 90px),
        radial-gradient(circle at 22% 42%, rgba(248,249,250,0) 0%, rgba(248,249,250,0.65) 95px, rgba(248,249,250,0.82) 135px),
        radial-gradient(circle at 92% 48%, rgba(248,249,250,0.4) 0%, rgba(248,249,250,0.82) 50px, rgba(248,249,250,0.92) 80px),
        radial-gradient(circle at 75% 22%, rgba(248,249,250,0.1) 0%, rgba(248,249,250,0.72) 80px, rgba(248,249,250,0.87) 115px),
        radial-gradient(circle at 32% 85%, rgba(248,249,250,0.2) 0%, rgba(248,249,250,0.75) 70px, rgba(248,249,250,0.88) 100px),
        radial-gradient(circle at 58% 58%, rgba(248,249,250,0.4) 0%, rgba(248,249,250,0.8) 50px, rgba(248,249,250,0.9) 75px);
    z-index: 1;
    pointer-events: none;
}

#contact .container {
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 3rem;
    color: #ff6b35;
    margin-bottom: 1rem;
}

.contact-card a {
    color: inherit;
    text-decoration: none;
}

/* FLOATING CALL BUTTON */
.floating-call {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255,107,53,0.4);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10000;
    animation: pulse 2s infinite;
}

.floating-call:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(255,107,53,0.6);
}

@keyframes pulse {
    0% { box-shadow: 0 10px 30px rgba(255,107,53,0.4); }
    50% { box-shadow: 0 0 0 0 rgba(255,107,53,0.7); }
    100% { box-shadow: 0 10px 30px rgba(255,107,53,0.4); }
}

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

    .nav-menu {
        position: fixed;
        top: 110px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 110px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 1rem;
        font-size: 0.8rem;
    }

    .top-bar .info span {
        margin-right: 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .menu-tabs {
        flex-direction: column;
        align-items: center;
    }

    .menu-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        min-height: auto;
    }

    .menu-left {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .menu-prices {
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
    }

    .price-column {
        flex: none;
        width: 30%;
        text-align: center;
    }
}
