/* Reset and Base Styles */
:root {
    --primary-red: #d62828;
    --primary-green: #228B22;
    --light-green: #34a853;
    --dark-red: #a61c1c;
    --accent-yellow: #f8c537;
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
    --light-bg: #f9f9f9;
    --border-color: #e1e1e1;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary {
    background-color: var(--primary-red);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-green);
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 90px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

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

.nav-links li a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://source.unsplash.com/random/1600x900/?pizza') no-repeat center center/cover;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .tagline {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-style: italic;
}

.hero-buttons {
    margin-top: 30px;
}

.delivery-notice {
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 15px;
    border-radius: 5px;
    display: inline-block;
    border: 2px solid #f8c537;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(248, 197, 55, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(248, 197, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(248, 197, 55, 0);
    }
}

.delivery-icons {
    margin-top: 10px;
    font-size: 1.5rem;
}

.delivery-icons i {
    margin: 0 10px;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Base Options Section */
.base-options {
    padding: 80px 0;
    background-color: var(--white);
}

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

.base-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.base-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.base-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.base-card h3 {
    color: var(--primary-red);
    margin-bottom: 15px;
}

/* Menu Section */
.menu {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.menu-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px dashed var(--primary-red);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background-color: var(--white);
    border: 2px solid var(--primary-red);
    border-radius: 5px;
    color: var(--primary-red);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.size-header {
    display: grid;
    grid-template-columns: 1fr repeat(4, 80px);
    padding: 10px 0;
    font-weight: 600;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 5px 5px 0 0;
    text-align: center;
}

.size-col {
    padding: 10px;
}

.size-col.empty {
    background-color: transparent;
}

.menu-items {
    background-color: var(--white);
    border-radius: 0 0 5px 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.menu-item {
    display: grid;
    grid-template-columns: 1fr repeat(4, 80px);
    padding: 15px 10px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background-color: #f0f0f0;
}

.item-name {
    padding-right: 20px;
}

.item-name h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.description {
    font-size: 0.9rem;
    color: var(--text-light);
}

.item-price {
    text-align: center;
    font-weight: 600;
}

.spicy, .featured {
    color: var(--primary-red);
    margin-left: 5px;
}

.menu-item.special {
    background-color: rgba(248, 197, 55, 0.1);
}

/* Other Categories */
.other-categories {
    margin-top: 60px;
}

.category-section {
    margin-bottom: 40px;
}

.category-grid {
    background-color: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.category-header {
    display: grid;
    grid-template-columns: 1fr repeat(2, 1fr);
    background-color: var(--primary-green);
    color: var(--white);
    padding: 10px;
    text-align: center;
    font-weight: 600;
}

.header-col {
    padding: 10px;
}

.category-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    background-color: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    padding: 20px;
}

.category-column {
    padding: 15px;
}

.category-column h4 {
    color: var(--primary-green);
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.menu-items.simple .menu-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.menu-items.pricing-grid {
    padding: 20px;
}

.menu-items.pricing-grid .menu-item {
    display: grid;
    grid-template-columns: 1fr repeat(2, 100px);
    padding: 10px 0;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-content {
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.contact-item {
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    min-width: 250px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-10px);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.contact-item h3 {
    margin-bottom: 10px;
    color: var(--primary-green);
}

/* Footer */
footer {
    background-color: #222;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    max-width: 220px;
    margin-bottom: 15px;
}

.tagline {
    font-style: italic;
    color: #ccc;
}

.footer-info h3, .footer-social h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-red);
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-info .delivery-notice {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid #f8c537;
    padding: 10px;
}

.delivery-notice {
    margin-top: 15px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-red);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* Mobile Navigation */
.nav-links.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .menu-item {
        grid-template-columns: 1fr repeat(4, 70px);
    }
    
    .menu-items.pricing-grid .menu-item {
        grid-template-columns: 1fr repeat(2, 80px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .tagline {
        font-size: 1.2rem;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .menu-item {
        grid-template-columns: 1fr;
    }
    
    .size-header {
        display: none;
    }
    
    .menu-item {
        padding: 20px;
        text-align: center;
    }
    
    .item-price {
        margin-top: 5px;
    }
    
    .menu-items.pricing-grid .menu-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .category-header {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .base-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
    }
}