/* Stili di base */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f8f8;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('sfondo-sila.jpg') center/cover no-repeat;
    color: #000;
    text-align: center;
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 8px solid #5c3a21; /* Bordo legnoso */
}

.header-content {
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    max-width: 80%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3px); /* Effetto vetro smerigliato */
}

header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Responsivo */
    margin: 0;
    font-family: 'Playfair Display', serif;
    color: #2a2a2a;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.8);
}

header p {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    margin: 15px 0 0;
    color: #444;
    font-style: italic;
}

.search-bar {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: -30px;
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
}

.search-bar input {
    width: 60%;
    max-width: 400px;
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 10px;
}

.search-bar button {
    padding: 12px 24px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    background-color: #654321;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    background-color: #543210;
    transform: translateY(-2px);
}

.menu {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.menu h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
    position: relative;
}

.menu h2:after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: #654321;
    margin: 15px auto;
}

.menu-category {
    margin-bottom: 30px;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.menu-category:hover {
    transform: translateY(-5px);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #654321;
    color: #fff;
    cursor: pointer;
}

.category-header h3 {
    margin: 0;
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.toggle-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.category-content {
    display: none;
    padding: 20px;
}

.menu-item {
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    background-color: #fff;
    border-left: 4px solid #C8D6A5;
}

.menu-item:hover {
    background-color: #f9f9f9;
    transform: translateX(5px);
}

.menu-item h4 {
    font-size: 1.5rem;
    color: #333;
    margin: 0 0 5px 0;
    padding: 5px 8px;
    background-color: #C8D6A5;
    display: inline-block;
    border-radius: 3px;
}

.price {
    font-size: 1.4rem;
    color: #FF0000;
    font-weight: bold;
    margin: 5px 0;
    display: block;
}

.ingredients {
    font-size: 1rem;
    color: #666;
    margin: 5px 0;
    line-height: 1.5;
}

/* Footer avanzato */
footer {
    background-color: #654321;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-info p {
    margin: 5px 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-icon img {
    width: 24px;
    height: 24px;
}

/* Media Queries */
@media (max-width: 768px) {
    header {
        padding: 60px 15px;
    }
    
    .header-content {
        padding: 15px 30px;
    }
    
    header h1 {
        font-size: 2.2rem;
    }
    
    .search-bar {
        padding: 15px;
        margin-top: -20px;
    }
    
    .menu h2 {
        font-size: 2rem;
    }
    
    .category-header h3 {
        font-size: 1.5rem;
    }
    
    .menu-item h4 {
        font-size: 1.3rem;
    }

    .footer-info p {
        font-size: 0.9rem;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-icon img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 40px 10px;
        min-height: 150px;
    }
    
    .header-content {
        padding: 10px 20px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    .search-bar {
        padding: 10px;
    }
    
    .search-bar input {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .search-bar button {
        width: 100%;
    }
    
    .menu h2 {
        font-size: 1.8rem;
    }

    .footer-info p {
        font-size: 0.8rem;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
    }
    
    .social-icon img {
        width: 18px;
        height: 18px;
    }
}