* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --dark: #1a1a1a;
    --dark-light: #2d2d2d;
    --light: #ffffff;
    --gray: #6c6c6c;
    --gray-light: #f5f5f5;
    --success: #4caf50;
    --gradient: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.pizza-loader {
    text-align: center;
}

.pizza {
    width: 120px;
    height: 120px;
    position: relative;
    margin: 0 auto 30px;
    animation: rotate 2s linear infinite;
}

.pizza-slice {
    position: absolute;
    width: 50%;
    height: 50%;
    background: var(--gradient);
    border-radius: 100% 0 0 0;
    transform-origin: 100% 100%;
    opacity: 0;
    animation: fadeSlice 2s ease-in-out infinite;
}

.pizza-slice::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ffeb3b;
    border-radius: 50%;
    top: 20%;
    left: 30%;
    box-shadow: 15px 10px 0 #ffeb3b, 10px 25px 0 #c62828;
}

.slice-1 { transform: rotate(0deg); animation-delay: 0s; }
.slice-2 { transform: rotate(45deg); animation-delay: 0.125s; }
.slice-3 { transform: rotate(90deg); animation-delay: 0.25s; }
.slice-4 { transform: rotate(135deg); animation-delay: 0.375s; }
.slice-5 { transform: rotate(180deg); animation-delay: 0.5s; }
.slice-6 { transform: rotate(225deg); animation-delay: 0.625s; }
.slice-7 { transform: rotate(270deg); animation-delay: 0.75s; }
.slice-8 { transform: rotate(315deg); animation-delay: 0.875s; }

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeSlice {
    0%, 100% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1); }
}

.loading-text {
    color: var(--light);
    font-size: 1.1rem;
    font-weight: 300;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2px;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-button {
    background: var(--gradient);
    color: var(--light);
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 140px 40px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--dark);
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: var(--light);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
}

.btn-secondary:hover {
    background: var(--dark);
    color: var(--light);
    transform: translateY(-3px);
}

/* Hero Image */
.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pizza-circle {
    width: 400px;
    height: 400px;
    background: var(--gradient);
    border-radius: 50%;
    position: relative;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 30px 80px rgba(255, 107, 53, 0.3);
}

.pizza-circle::before {
    content: '🍕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 180px;
    animation: rotate-slow 20s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes rotate-slow {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.floating-element {
    position: absolute;
    font-size: 3rem;
    animation: float-random 4s ease-in-out infinite;
}

.element-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    bottom: 15%;
    right: 15%;
    animation-delay: 1s;
}

.element-3 {
    top: 60%;
    left: 0;
    animation-delay: 2s;
}

@keyframes float-random {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -10px) rotate(5deg); }
    50% { transform: translate(-5px, -20px) rotate(-5deg); }
    75% { transform: translate(15px, -5px) rotate(3deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 300;
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: var(--gray);
    margin: 10px auto 0;
    border-radius: 2px;
    animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
    0%, 100% { transform: translateY(0); opacity: 0.3; }
    50% { transform: translateY(10px); opacity: 1; }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Features Section */
.features {
    padding: 80px 40px;
    background: var(--gray-light);
}

.features .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    background: var(--light);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    font-size: 1rem;
}

/* Showcase Section */
.showcase {
    padding: 100px 40px;
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark);
}

.pizza-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.pizza-card {
    background: var(--light);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.pizza-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.pizza-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.pizza-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.pizza-card:hover .pizza-placeholder {
    transform: scale(1.1) rotate(5deg);
}

.pizza-emoji {
    font-size: 120px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.pizza-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--success);
    color: var(--light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.pizza-badge.popular {
    background: #9c27b0;
}

.pizza-badge.chef {
    background: #ff9800;
}

.pizza-info {
    padding: 30px;
}

.pizza-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.pizza-info p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.pizza-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-add {
    background: var(--dark);
    color: var(--light);
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add:hover {
    background: var(--gradient);
    transform: scale(1.05);
}

/* CTA Section */
.cta-section {
    padding: 100px 40px;
    background: var(--dark);
    text-align: center;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--light);
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.btn-cta {
    background: var(--gradient);
    color: var(--light);
    border: none;
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.4);
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.5);
}

/* Footer */
.footer {
    background: var(--dark-light);
    color: var(--light);
    padding: 60px 40px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--light);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .pizza-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .hero {
        padding: 120px 20px 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .pizza-circle {
        width: 300px;
        height: 300px;
    }

    .pizza-circle::before {
        font-size: 120px;
    }

    .pizza-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
