/* General styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    position: relative; /* For scroll to top button positioning */
}

header {
    background: #2c3e50; /* Dark blue/gray color */
    color: white;
    text-align: center;
    padding: 1.5rem 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Business Logo Styles */
.header-logo {
    margin-bottom: 1rem;
}

.business-logo {
    max-width: 130px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.business-logo:hover {
    transform: scale(1.05);
}

.header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.header-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Category Navigation */
.category-nav {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.category-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    color: #495057;
    padding: 0.6rem 1.2rem;
    margin: 0.3rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.category-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.category-btn.active {
    background: linear-gradient(135deg, #ff6b6b, #ffa502);
    color: white;
    border-color: #ff6b6b;
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.menu-category {
    margin-bottom: 3rem;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-category h2 {
    font-size: 2rem;
    color: #ff6b6b;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ffa502;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.menu-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.menu-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-details {
    padding: 1.5rem;
}

.menu-details h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.description {
    color: #666;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ff6b6b;
}

/* Pizza prices styling */
.pizza-prices {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 0.5rem;
}

.price-option {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ff6b6b;
    padding: 0.2rem 0;
}

.price-option::before {
    content: "• ";
    color: #ffa502;
}

footer {
    text-align: center;
    padding: 2rem;
    background: #333;
    color: white;
    margin-top: 2rem;
}

/* Scroll to Top Button */
#scrollToTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background: linear-gradient(135deg, #ff6b6b, #ffa502);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

#scrollToTop:hover {
    background: linear-gradient(135deg, #ff5252, #ff9f1a);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    header {
        padding: 1rem 0.5rem;
    }
    
    .business-logo {
        max-width: 110px;
    }
    
    .header-content h1 {
        font-size: 2rem;
    }
    
    .header-content p {
        font-size: 1rem;
    }
    
    .category-menu {
        padding: 0.7rem;
    }
    
    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        margin: 0.2rem;
    }
    
    .menu-category h2 {
        font-size: 1.7rem;
    }
    
    .menu-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.8rem 0.3rem;
    }
    
    .business-logo {
        max-width: 90px;
    }
    
    .header-content h1 {
        font-size: 1.7rem;
    }
    
    .header-content p {
        font-size: 0.9rem;
    }
    
    main {
        padding: 0 0.5rem;
    }
    
    .category-menu {
        flex-wrap: wrap;
    }
    
    .category-btn {
        flex: 1 0 40%;
        margin: 0.25rem;
        justify-content: center;
        padding: 0.6rem 0.8rem;
    }
    
    .menu-details {
        padding: 1rem;
    }
    
    .pizza-prices {
        gap: 0.2rem;
    }
    
    .price-option {
        font-size: 1rem;
    }
    
    #scrollToTop {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        padding: 10px;
        font-size: 16px;
    }
}