/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Brand Colors from Logo */
    --primary: #ed1c24;
    /* Red - Main brand color */
    --primary-dark: #c41620;
    /* Darker red for hover states */
    --primary-light: #f44336;
    /* Lighter red variant */
    --accent-orange: #f49040;
    /* Orange - Secondary accent */
    --accent-yellow: #fdcd4c;
    /* Yellow - Tertiary accent */

    /* Neutral Colors */
    --secondary: #1a1a1a;
    /* Dark background */
    --accent: #f8f8f8;
    /* Light background */
    --text: #333;
    /* Body text */
    --text-light: #666;
    /* Lighter text */
    --white: #ffffff;
    /* White */

    /* Shadows */
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.15);
    --shadow-red: rgba(237, 28, 36, 0.3);
    /* Red shadow for buttons */

    --transition: all 0.3s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px var(--shadow-dark);
}

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

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
    height: 50px;
}

.logo:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.logo-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

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

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

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

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

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    gap: 5px;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary);
    transition: var(--transition);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    margin-top: 80px;
    min-height: calc(100vh - 80px);

    background:
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        linear-gradient(135deg, var(--primary), var(--primary-dark));

    display: flex;
    justify-content: center;
    align-items: flex-start;

    padding: clamp(2rem, 6vh, 4rem) 1rem;
}

.hero-content {
    max-width: 900px;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.2s backwards;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-logo {
    width: 100%;
    max-width: 600px;
}

.hero-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}


/* ============================================
   BUTTONS & CALL TO ACTION
   ============================================ */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.cta-button-secondary {
    background: transparent;
    border: 2px solid var(--white);
}

.cta-button-secondary:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* ============================================
   FOOD STICKERS
   ============================================ */
.food-stickers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    animation: fadeInUp 1s ease 0.6s backwards;
    flex-wrap: wrap;
    order: 2;
    /* Makes stickers appear SECOND */
}

.sticker {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.sticker:hover {
    transform: translateY(-10px) rotate(5deg);
}

.sticker-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
    padding: 5rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent-orange) 50%, var(--accent-yellow) 100%);
    border-radius: 2px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-image {
    height: 400px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 5rem;
    box-shadow: 0 20px 40px var(--shadow-dark);
    transition: var(--transition);
}

.about-image:hover {
    transform: scale(1.05);
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2.5rem 2rem;
    background: var(--accent);
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-dark);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   CTA SECTIONS (Reservation & Order)
   ============================================ */
.cta-section {
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
}

.reservation-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.order-cta {
    background: var(--secondary);
    color: var(--white);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-info {
    margin-top: 2rem;
    font-size: 1rem;
    opacity: 0.9;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--secondary);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-orange);
    font-size: 1.3rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.footer-section a {
    color: #ccc;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--accent-orange);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #888;
    font-size: 0.9rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ============================================
   RESPONSIVE DESIGN - TABLET
   ============================================ */
@media (max-width: 768px) {

    /* Navigation */
    .logo {
        height: 45px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: left 0.3s ease;
        box-shadow: 0 5px 10px var(--shadow);
    }

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

    .nav-links a::after {
        display: none;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 2.8rem;
        margin-bottom: 1.2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
        line-height: 1.5;
    }

    /* Keep cover on tablets */
    .hero::before {
        background-size: cover;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        height: 300px;
    }

    /* Sections */
    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 3rem 1rem;
    }

    /* CTA */
    .cta-section {
        padding: 4rem 1.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo-img {
        margin: 0 auto;
        height: 50px;
    }

    .social-links {
        justify-content: center;
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */
@media (max-width: 480px) {

    /* Navigation */
    .logo {
        height: 40px;
    }

    nav {
        padding: 0.8rem 1rem;
    }

    /* Hero */
    .hero {
        min-height: 105vh;
        height: auto;
        margin-top: 70px;
        padding-top: 2rem;
        /* było 3rem – mniej odstępu u góry */
        padding-bottom: 3.5rem;
        display: flex;
        align-items: flex-start;
        /* było center – logo idzie wyżej */
        justify-content: center;
    }

    .hero-logo {
        max-width: none;
        width: 120%;
        /* lekko podnosi samo logo */
    }

    .hero-content {
        padding: 1rem;
        margin-top: 0;
        width: 100%;
        max-width: 100%;
        gap: 1.3rem;
        /* mniejsza przerwa między logo, tekstem i przyciskiem */
        align-items: center;
        /* wyśrodkowanie w osi poziomej */
    }

    .hero-content .cta-button {
        align-self: center;
        /* przycisk idealnie na środku pod logo/tekstem */
        margin-top: 7rem;
    }

    .hero::before {
        background-size: contain;
        background-position: center top;
        opacity: 1;
    }

    .hero-content {
        padding: 1rem;
        margin-top: 0;
        width: 100%;
        max-width: 100%;
        gap: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
        width: auto;
        display: inline-block;
    }

    /* Food Stickers */
    .food-stickers {
        gap: 1rem;
        flex-wrap: wrap;
        margin-top: 10rem;
    }

    .sticker {
        width: 70px;
        height: 70px;
    }

    /* About */
    .about-text h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .about-text p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .about-image {
        height: 250px;
    }

    .about-image img {
        max-width: 90%;
        height: auto;
        object-fit: contain;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .feature-card p {
        font-size: 0.95rem;
    }

    /* Sections */
    section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    /* CTA */
    .cta-section {
        padding: 3rem 1rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .cta-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .cta-info {
        font-size: 0.9rem;
        margin-top: 1.5rem;
    }
}

/* ============================================
   RESPONSIVE DESIGN - VERY SMALL MOBILE
   ============================================ */
@media (max-width: 375px) {
    .hero {
        min-height: 105vh;
        padding-bottom: 1rem;
    }

    .hero::before {
        background-size: 95% auto;
        background-position: center 15%;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .cta-button {
        padding: 0.7rem 1.8rem;
        font-size: 0.85rem;
    }

    .food-stickers {
        gap: 0.8rem;
        margin-top: 3.5rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

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

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}