:root {
    --primary-color: #D91729;
    --secondary-color: #1a1a1a;
    --accent-color: #f4e4d0;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: #fff;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(255, 255, 255, 0.98);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: padding 0.3s ease;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.nav-logo img {
    height: 60px;
    width: auto;
    transition: transform 0.4s ease;
}

.nav-logo:hover img {
    transform: rotate(15deg);
}

.logo-text {
    font-family: serif;
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 900;
    color: #008C45;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-menu a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.red-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(217, 23, 41, 0.3);
}

.red-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Hero */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.5);
    transform: scale(1.05);
    animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1.15);
    }
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    animation: fadeIn Up 1s ease-out;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.9;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: white;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Sections */
.section-padding {
    padding: 6rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

.section-header p {
    color: #666;
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.pizza-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid #eee;
}

.pizza-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 260px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fcfcfc;
    position: relative;
}

.card-image img {
    width: 85%;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

.pizza-card:hover .card-image img {
    transform: scale(1.15) rotate(5deg);
}

.card-content {
    padding: 2rem;
    text-align: center;
}

.card-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.card-content p {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.price {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* About */
.bg-light {
    background-color: var(--light-bg);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    text-align: center;
}

.contact-info,
.hours {
    padding: 2rem;
    border: 1px solid #eee;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.contact-info:hover,
.hours:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.contact-info h2,
.hours h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-info p,
.hours p {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #444;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
}

footer p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
        background-color: white;
    }

    .nav-logo {
        margin-bottom: 1rem;
    }

    .nav-menu {
        margin: 0.5rem 0 1.5rem;
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-padding {
        padding: 4rem 5%;
    }
}