/* ===============================
   SPECIALTY IMAGES
   =============================== */

.specialty-image {
    position: relative;
}

.specialty-image img {
    transition: all 0.5s;
}

.specialty-image:hover img {
    transform: scale(1.02);
}

/* Sushi Gallery */
.sushi-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sushi-gallery .main-image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.sushi-gallery .main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.gallery-grid img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(200, 16, 46, 0.3);
}

/* Image Overlays per Lightbox */
.main-image {
    position: relative;
}

.main-image a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
    border-radius: 20px;
}

.image-overlay i {
    color: #fff;
    font-size: 3rem;
    transform: scale(0.5);
    transition: all 0.3s;
}

.main-image a:hover .image-overlay {
    opacity: 1;
}

.main-image a:hover .image-overlay i {
    transform: scale(1);
}

.gallery-grid a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.image-overlay-small {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
    border-radius: 15px;
}

.image-overlay-small i {
    color: #fff;
    font-size: 2rem;
    transform: scale(0.5);
    transition: all 0.3s;
}

.gallery-grid a:hover .image-overlay-small {
    opacity: 1;
}

.gallery-grid a:hover .image-overlay-small i {
    transform: scale(1);
}

.gallery-grid a:hover img {
    transform: scale(1.05);
}

/* Dual Images (Panini) */
.dual-images {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.dual-images a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.dual-images img {
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transition: all 0.3s;
}

.dual-images a:hover img {
    transform: scale(1.05);
}

/* Single image wrapper */
.specialty-image > a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.specialty-image > a img {
    transition: all 0.3s;
}

.specialty-image > a:hover img {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .gallery-grid img {
        height: 150px;
    }
    
    .dual-images {
        gap: 1rem;
    }
}

/* ========================================
   I LOVE MEAT - VERSIONE 1 PREMIUM
   Dark & Elegant Style
   ======================================== */

/* === ROOT VARIABLES === */
:root {
    /* Colors */
    --primary-color: #C8102E;
    --primary-dark: #9A0824;
    --primary-light: #E51937;
    --secondary-color: #D4AF37;
    --dark-bg: #0A0A0A;
    --dark-gray: #1A1A1A;
    --medium-gray: #2A2A2A;
    --light-gray: #3A3A3A;
    --text-color: #E8E8E8;
    --text-muted: #A8A8A8;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --section-padding-mobile: 60px 0;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* === GLOBAL STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
}

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

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

/* === NAVIGATION === */
.navbar {
    padding: 20px 0;
    background: transparent;
    transition: var(--transition-smooth);
    z-index: 1000;
    width: 100%;
}

.navbar .container {
    position: relative;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(200, 16, 46, 0.1);
}

.navbar-brand {
    padding: 0;
    z-index: 1001;
    position: relative;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: var(--transition-smooth);
}

.navbar.scrolled .logo-img {
    height: 50px;
}

.navbar-nav {
    align-items: center;
    gap: 10px;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 20px !important;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--primary-color);
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-toggler {
    border: none;
    padding: 8px;
    z-index: 1001;
    position: relative;
    background: rgba(200, 16, 46, 0.1);
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(232, 232, 232, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 24px;
    height: 24px;
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-gray) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/food/frollatura.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--dark-bg) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    padding: 20px 0;
}

.hero-subtitle {
    display: inline-block;
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    padding-left: 60px;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-title .text-primary {
    color: var(--primary-color);
    display: block;
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn-primary {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
    padding: 15px 40px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(200, 16, 46, 0.3);
}

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

.social-link {
    width: 45px;
    height: 45px;
    border: 2px solid var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: var(--transition-smooth);
}

.social-link:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator a {
    color: var(--text-muted);
    font-size: 24px;
    animation: bounce 2s infinite;
}

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

/* === FEATURES SECTION === */
.features-section {
    padding: var(--section-padding);
    background: var(--dark-gray);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.feature-card {
    background: var(--medium-gray);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    height: 100%;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(200, 16, 46, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 15px;
}

/* === CONTENT SECTION === */
.content-section {
    padding: var(--section-padding);
}

.content-section.bg-dark {
    background: var(--dark-bg);
}

.image-wrapper img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.content-text {
    padding: 20px 0;
}

.section-subtitle {
    display: inline-block;
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 25px;
    color: var(--text-color);
}

.section-description {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.quality-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--medium-gray);
    padding: 15px 25px;
    border-radius: 50px;
    margin-top: 20px;
    border: 1px solid var(--primary-color);
}

.quality-badge i {
    color: var(--secondary-color);
    font-size: 20px;
}

.quality-badge span {
    font-weight: 600;
    color: var(--text-color);
}

/* === SPECIALTIES SECTION === */
.specialties-section {
    padding: var(--section-padding);
    background: var(--dark-gray);
}

.section-header {
    margin-bottom: 80px;
}

.section-intro {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.specialty-item {
    margin-bottom: 120px;
}

.specialty-item:last-child {
    margin-bottom: 0;
}

.specialty-content {
    padding: 20px;
}

.specialty-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.specialty-title i {
    color: var(--primary-color);
}

.specialty-intro {
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: 35px;
    line-height: 1.8;
}

.menu-list {
    display: grid;
    gap: 25px;
}

.menu-item {
    background: var(--medium-gray);
    padding: 25px;
    border-radius: 15px;
    border-left: 3px solid var(--primary-color);
    transition: var(--transition-smooth);
}

.menu-item:hover {
    transform: translateX(10px);
    background: var(--light-gray);
}

.menu-item h5 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.menu-item p {
    color: var(--text-muted);
    margin: 0;
    font-size: 15px;
}

.specialty-image {
    position: relative;
}

.specialty-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(200, 16, 46, 0.4);
}

.image-badge i {
    color: var(--secondary-color);
}

/* === CAROUSEL === */
.specialty-carousel {
    position: relative;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary-dark);
}

.carousel-indicators {
    margin-bottom: -30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.5;
    border: none;
}

.carousel-indicators button.active {
    opacity: 1;
}

/* === CONTACT SECTION === */
.contact-section {
    padding: var(--section-padding);
    background: var(--dark-bg);
}

.contact-info {
    background: var(--medium-gray);
    padding: 50px;
    border-radius: 20px;
    height: 100%;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--light-gray);
}

.info-item:last-of-type {
    border-bottom: none;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 24px;
    color: white;
}

.info-content h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.info-content p {
    color: var(--text-muted);
    margin: 0;
    font-size: 16px;
}

.info-content a {
    color: var(--text-muted);
}

.info-content a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--light-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 20px;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* === FOOTER === */
.footer {
    background: var(--dark-gray);
    padding: 60px 0 30px;
    border-top: 1px solid var(--light-gray);
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-links h5,
.footer-contact h5 {
    color: var(--text-color);
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-contact p i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--primary-color);
    color: white;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--light-gray);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    margin: 0;
    font-size: 14px;
}

.footer-bottom a {
    color: var(--primary-color);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 999;
    box-shadow: 0 5px 20px rgba(200, 16, 46, 0.4);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

.back-to-top.show {
    display: flex;
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
    :root {
        --section-padding: 60px 0;
    }
    
    /* Navbar Mobile Fix */
    .navbar {
        padding: 15px 0;
    }
    
    .navbar .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(28, 28, 28, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-radius: 0 0 15px 15px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        border-top: 1px solid rgba(200, 16, 46, 0.2);
        z-index: 999;
    }
    
    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        max-width: calc(100% - 40px);
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .navbar-nav {
        gap: 0;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        padding: 15px 10px !important;
        display: block;
        width: 100%;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .navbar-toggler {
        padding: 10px 12px;
    }
    
    .logo-img {
        height: 50px;
    }
    
    /* Fix per impedire overflow orizzontale */
    body {
        overflow-x: hidden;
    }
    
    .navbar,
    .navbar .container,
    .navbar-collapse {
        max-width: 100vw;
    }
    
    .hero-section {
        min-height: 90vh;
        padding: 120px 0 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .specialty-item {
        margin-bottom: 80px;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 576px) {
    .feature-card {
        margin-bottom: 20px;
    }
    
    .menu-item {
        padding: 20px;
    }
    
    .contact-info {
        padding: 30px 20px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    /* Navbar extra small screens */
    .navbar .container {
        padding: 0 15px;
    }
    
    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        max-width: calc(100% - 30px);
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .navbar-toggler {
        padding: 8px 10px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 12px 8px !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* === UTILITIES === */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.shadow-lg {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
}

.rounded-4 {
    border-radius: 20px !important;
}
