/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0;
    transition: all 0.3s ease;
}

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

.nav-logo a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 140px;
    width: auto;
    transition: transform 0.3s ease;
    margin: 0;
    padding: 0;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #C81010;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #C81010;
}

.order-btn {
    background: #C81010;
    color: #fff !important;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.order-btn:hover {
    background: #A00D0D;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    min-width: 100%;
    min-height: 100%;
    background: #1a1a1a;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    backdrop-filter: blur(1px);
}

.hero-content {
    text-align: center;
    color: #fff;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-logo h1 {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-logo-img {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
    margin-bottom: 0.5rem;
}

.tagline {
    margin-bottom: 3rem;
}

.tagline-text {
    background: #C81010;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(200, 16, 16, 0.3);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-reservation {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-order {
    background: #C81010;
    color: #fff;
    border: 2px solid #C81010;
}

.btn-order:hover {
    background: #A00D0D;
    border-color: #A00D0D;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 16, 16, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Menu Preview Section */
.menu-preview {
    padding: 5rem 0;
    background: #f8f9fa;
}

.menu-preview-header {
    text-align: center;
    margin-bottom: 3rem;
}

.menu-preview-header h2 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 0.9;
    letter-spacing: -0.02em;
}

.menu-preview-header h2 .our-text {
    color: #000;
    display: block;
}

.menu-preview-header h2 .menu-text {
    color: #C81010;
    display: block;
}

.menu-preview-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.menu-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.menu-category {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.menu-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.menu-image {
    height: 400px;
    position: relative;
    overflow: hidden;
}

.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-category:hover .menu-overlay {
    opacity: 1;
}

.menu-overlay h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #C81010;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.view-menu-link {
    display: block;
    text-align: center;
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.view-menu-link:hover {
    color: #E5A3A3;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #fff;
}

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

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-content p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
}

/* Menu Header */
.menu-header,
.contact-header {
    padding: 8rem 0 4rem;
    background: #1a1a1a;
    color: #fff;
    text-align: center;
}

.menu-header h1,
.contact-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.menu-header p,
.contact-header p {
    font-size: 1.2rem;
    color: #ccc;
}

/* Menu Content */
.menu-content {
    padding: 4rem 0;
}

.menu-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    margin-bottom: 4rem;
}

.menu-section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #333;
    border-bottom: none;
    padding-bottom: 0;
    display: block;
    font-family: 'Georgia', serif;
    font-style: italic;
}

.script-title {
    font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
    font-size: 2.5rem;
    font-weight: normal;
    font-style: normal;
}

.section-intro {
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.menu-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

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

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

.menu-item-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #C81010;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.menu-item-price {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    white-space: nowrap;
    flex-shrink: 0;
}

.menu-item-dotted-line {
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        #000 0px,
        #000 2px,
        transparent 2px,
        transparent 4px
    );
    margin: 0.5rem 0;
    flex-grow: 1;
}

.menu-item-description {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    font-weight: 400;
    margin-top: 0.5rem;
}

.menu-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pizza-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.pizza-image:hover {
    transform: translateY(-5px);
}

.pizza-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Toppings Section */
.toppings-section {
    background: #f8f9fa;
    padding: 3rem 0;
    border-radius: 12px;
}

.toppings-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.toppings-title.script-title {
    font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
    font-size: 2.5rem;
    font-weight: normal;
}

.toppings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.topping-category h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

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

.size-modifiers {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.size-modifiers h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
}

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

.modifier-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.modifier-item p {
    color: #666;
    font-weight: 500;
}

/* Contact Content */
.contact-content {
    padding: 4rem 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #333;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.contact-item a {
    color: #C81010;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.hours-info p:first-child {
    color: #333;
    font-weight: 600;
}

.contact-cta {
    margin-top: 2rem;
    text-align: center;
}

.btn-order-large {
    background: #C81010;
    color: #fff;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.cta-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.map-container {
    margin-bottom: 2rem;
}

.map-placeholder {
    height: 300px;
    background: #f0f0f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ccc;
}

.map-content {
    text-align: center;
    color: #666;
}

.map-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.map-icon {
    font-size: 3rem;
    margin: 1rem 0;
}

.map-note {
    font-style: italic;
    font-size: 0.9rem;
}

.social-links h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.social-buttons {
    display: flex;
    gap: 1rem;
}

.social-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid;
}

.social-btn.instagram {
    background: #e4405f;
    color: #fff;
    border-color: #e4405f;
}

.social-btn.facebook {
    background: #1877f2;
    color: #fff;
    border-color: #1877f2;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Order Info Section */
.order-info {
    padding: 4rem 0;
    background: #f8f9fa;
}

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

.order-option {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.order-option:hover {
    transform: translateY(-5px);
}

.order-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.order-option h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.order-option p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-secondary {
    background: #333;
    color: #fff;
    border: 2px solid #333;
}

.btn-secondary:hover {
    background: #555;
    border-color: #555;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 3rem 0 1rem;
}

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

.footer-info h3,
.footer-hours h4,
.footer-social h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-info p,
.footer-hours p {
    color: #ccc;
    line-height: 1.6;
}

.social-link {
    color: #C81010;
    text-decoration: none;
    font-weight: 500;
}

.social-link:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
}

/* Tablet Responsive Design */
@media (max-width: 1024px) {
    .menu-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .menu-image {
        height: 350px;
    }
    
    .menu-overlay h3 {
        font-size: 2.2rem;
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-logo h1 {
        font-size: 2.5rem;
    }

    .hero-logo-img {
        max-width: 300px;
    }

    .logo-img {
        max-height: 100px;
        margin: 0;
        padding: 0;
    }

    .tagline-text {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        text-align: center;
    }

    .menu-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .menu-images {
        order: -1;
    }

    .pizza-image img {
        height: 150px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .toppings-grid {
        grid-template-columns: 1fr;
    }

    .modifier-grid {
        grid-template-columns: 1fr;
    }

    .social-buttons {
        flex-direction: column;
    }

    .order-grid {
        grid-template-columns: 1fr;
    }

    .menu-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .menu-preview-header h2 {
        font-size: 3rem;
    }

    .menu-image {
        height: 300px;
    }

    .menu-overlay h3 {
        font-size: 2rem;
    }

    .view-menu-link {
        font-size: 1rem;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-logo h1 {
        font-size: 2rem;
    }

    .hero-logo-img {
        max-width: 350px;
    }

    .logo-img {
        max-height: 80px;
        margin: 0;
        padding: 0;
    }

    .menu-preview-header h2 {
        font-size: 2.5rem;
    }

    .menu-image {
        height: 250px;
    }

    .menu-overlay h3 {
        font-size: 1.8rem;
    }

    .view-menu-link {
        font-size: 0.9rem;
    }

    .menu-header h1,
    .contact-header h1 {
        font-size: 2rem;
    }

    .menu-section-title {
        font-size: 1.5rem;
    }

    .menu-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .menu-item-price {
        align-self: flex-end;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    /* Mobile-specific optimizations */
    .menu-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.4);
    }
    
    .menu-category {
        margin-bottom: 1rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .menu-preview {
        padding: 3rem 0;
    }
    
    .menu-preview-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
}

.pizza-image img {
    loading: lazy;
}

/* Video optimizations */
.hero-video video {
    will-change: transform;
    transform: translateZ(0);
}

/* Ensure video covers full area on all devices */
@media (max-width: 768px) {
    .hero-video video {
        object-position: center center;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-actions,
    .scroll-indicator,
    .footer {
        display: none;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
    }
    
    .hero-content {
        color: #333;
    }
    
    .menu-content,
    .contact-content {
        padding: 1rem 0;
    }
}
