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

:root {
    --primary-color: #e63946;
    --secondary-color: #f4a261;
    --dark-bg: #1d1d1d;
    --light-bg: #f8f9fa;
    --text-dark: #2b2d42;
    --text-light: #ffffff;
    --accent: #06ffa5;
    --shadow: rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #1d1d1d;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background: #1d1d1d;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

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

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

.logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 0;
    align-items: center;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ccc;
    font-weight: 500;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.nav-icon {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.nav-link:hover {
    background: #2a2a2a;
    color: white;
}

.nav-link.active {
    background: #2a2a2a;
    color: white;
}

.order-btn {
    background: transparent;
    color: #ccc;
}

.order-btn:hover {
    background: #2a2a2a;
    color: white;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #1d1d1d;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('pizza-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    width: 100%;
    padding: 0 2rem;
    gap: 4rem;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero-left {
    flex: 1;
    color: var(--text-light);
}

.hero-right {
    flex: 0 0 auto;
}

.hero-logo {
    width: 400px;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel */
.carousel {
    position: relative;
    min-height: 200px;
    margin-bottom: 2.5rem;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.carousel-item.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-item h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.95;
}

.cta-button {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    background: var(--text-light);
    color: var(--primary-color);
    border: none;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

/* Sections */
section {
    padding: 5rem 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Menu Section */
.menu-section {
    background: var(--light-bg);
}

.menu-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.menu-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.item-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.item-note {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
}

.toppings-list {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px var(--shadow);
}

.toppings-list p {
    line-height: 1.8;
    color: var(--text-dark);
}

.pizza-sizes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.size-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
}

.size-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.size-card.monster {
    border: 3px solid var(--accent);
    position: relative;
    overflow: hidden;
}

.size-card.monster::before {
    content: 'HUGE!';
    position: absolute;
    top: 10px;
    right: -30px;
    background: var(--accent);
    color: var(--text-dark);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: 700;
    font-size: 0.8rem;
}

.size-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.size-prices {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.size-price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.specialty-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
}

.specialty-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.specialty-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.specialty-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.beverages-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.beverage-category {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.beverage-category h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.beverage-category p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about-section {
    background: white;
}

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

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

/* Vision Section */
.vision-section {
    margin-top: 4rem;
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}

.vision-image {
    float: right;
    width: 350px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-left: 3rem;
    margin-bottom: 2rem;
}

.vision-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.vision-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Family Section */
.family-section {
    margin-top: 4rem;
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    clear: both;
}

.family-image {
    float: left;
    width: 350px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-right: 3rem;
    margin-bottom: 2rem;
}

.family-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.family-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.family-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
    text-align: justify;
}

/* Contact Section */
.contact-section {
    background: var(--light-bg);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.location-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.address {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.6;
}

.phone {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.map-link {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.map-link:hover {
    background: #d62839;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

/* Gear Section */
.gear-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.gear-section .section-title {
    color: white;
}

.gear-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 3rem;
    border-radius: 20px;
    width: 90%;
    max-width: 1200px;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close:hover {
    color: var(--primary-color);
}

.modal-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
}

.modal-locations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.modal-location {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.modal-location:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.modal-location h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.modal-location p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.6;
}

.doordash-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #ff3008;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.doordash-btn:hover {
    background: #e02b00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 48, 8, 0.3);
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 2rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-text {
        display: none;
    }

    .vision-section,
    .family-section {
        flex-direction: column;
    }

    .vision-image,
    .family-image {
        float: none;
        width: 100%;
        max-width: 350px;
        margin: 0 auto 2rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-logo {
        width: 250px;
    }

    .carousel {
        min-height: 150px;
    }

    .carousel-item h2 {
        font-size: 1.5rem;
    }

    .nav-links {
        position: fixed;
        top: 85px;
        left: -100%;
        flex-direction: column;
        background: #1d1d1d;
        width: 100%;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px var(--shadow);
        transition: left 0.3s ease;
    }

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

    .mobile-menu-toggle {
        display: flex;
    }

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

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

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

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .menu-grid,
    .specialty-grid,
    .pizza-sizes,
    .locations-grid,
    .modal-locations {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 10% auto;
        padding: 2rem 1.5rem;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .nav-container {
        padding: 1rem;
    }
}

/* Smooth scroll animations */
.menu-item,
.specialty-item,
.location-card,
.size-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.menu-item:nth-child(1),
.specialty-item:nth-child(1),
.location-card:nth-child(1),
.size-card:nth-child(1) { animation-delay: 0.1s; }

.menu-item:nth-child(2),
.specialty-item:nth-child(2),
.location-card:nth-child(2),
.size-card:nth-child(2) { animation-delay: 0.2s; }

.menu-item:nth-child(3),
.specialty-item:nth-child(3),
.location-card:nth-child(3),
.size-card:nth-child(3) { animation-delay: 0.3s; }

.menu-item:nth-child(n+4),
.specialty-item:nth-child(n+4),
.location-card:nth-child(n+4) { animation-delay: 0.4s; }

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d62839;
}