/* --- BASE & VARIABILI --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

:root {
    --black: #0a0a0a;
    --light-grey: #d3d3d3;
    --dark-grey: #1a1a1a;
    --white: #ffffff;
    --grey-shadow: rgba(211, 211, 211, 0.3);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--black);
    background-image: url("https://www.transparenttextures.com/patterns/dark-leather.png");
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- NAVBAR --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--light-grey);
}

.nav-left { display: flex; align-items: center; }
.logo-img { height: 60px; width: auto; margin-right: 15px; }
.logo-text { font-weight: 900; font-size: 1.2rem; letter-spacing: 2px; text-transform: uppercase; }

.span-logo-text {
    font-weight: 900;
    background: linear-gradient(to right, #ffffff, #d3d3d3, #aaaaaa, #e0e0e0, #b8b8b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.white-text { color: white !important; opacity: 0.9; }

/* --- MENU CON PIPE --- */
.nav-links { 
    display: flex; 
    list-style: none; 
    align-items: center; 
}

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

/* Inserisce la pipa grigio chiaro tra gli elementi del menu */
.nav-links li:not(:last-child)::after {
    content: "|";
    color: var(--light-grey);
    margin: 0 5px; /* Spazio ridotto per bilanciare il padding dei link */
    font-weight: 400;
    opacity: 0.7;
    font-size: 0.8rem;
}

.nav-links a { 
    color: white; 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    padding: 0 10px; /* Ridotto leggermente per centrare meglio le pipe */
    transition: 0.3s; 
}

.nav-links a:hover { color: var(--light-grey); }

/* --- SOCIAL TOP (Bottoni Circolari in Rilievo) --- */
.social-top {
    display: flex;
    gap: 12px;
}

.social-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(145deg, #1a1a1a, #050505);
    color: var(--light-grey);
    border-radius: 50%; /* Circolari */
    text-decoration: none;
    font-size: 1.1rem;
    border: 1px solid rgba(211, 211, 211, 0.2);
    box-shadow: 3px 3px 6px #000000, -1px -1px 4px rgba(211, 211, 211, 0.05);
    transition: all 0.4s ease;
}

.social-top a:hover {
    color: #ffffff;
    transform: translateY(-3px);
    border-color: var(--light-grey);
    box-shadow: 0px 0px 15px var(--grey-shadow);
    background: #0a0a0a;
}

/* --- HERO SECTION (Con Texture Pelle) --- */
.hero {
    height: 70vh;
    background-blend-mode: multiply;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center;
}

.hero h1 { 
    font-size: clamp(2.2rem, 8vw, 3.5rem); 
    font-weight: 900; 
    letter-spacing: -1px;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.9);
}

.btn-main {
    display: inline-block; padding: 14px 35px; background: var(--light-grey); color: black; text-decoration: none; font-weight: 800; border-radius: 50px; margin-top: 25px; text-transform: uppercase; transition: 0.3s;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(211, 211, 211, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(211, 211, 211, 0); }
    100% { box-shadow: 0 0 0 0 rgba(211, 211, 211, 0); }
}

/* --- SEZIONI --- */
section { padding: 80px 8%; background-color: transparent; }

h2 { 
    text-align: center; margin-bottom: 50px; font-size: 2.2rem; letter-spacing: 5px; text-transform: uppercase; font-weight: 900;
    background: linear-gradient(to right, #ffffff, #d3d3d3, #aaaaaa, #e0e0e0, #b8b8b8);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    display: block; width: 100%;
}

h2::after { content: ''; display: block; width: 60px; height: 3px; background: var(--light-grey); margin: 15px auto 0; }

/* --- ABOUT (LAYOUT DUE COLONNE) --- */
.about-content { 
    display: flex; 
    gap: 50px; 
    align-items: center; 
    flex-wrap: wrap; 
}

.about-text { 
    flex: 1; 
    min-width: 300px; 
}

.about-text h2 { 
    text-align: left; 
}

.about-text h2::after { 
    margin: 15px 0 0; 
}

.about-image { 
    flex: 1; 
    min-width: 300px; 
    position: relative; 
}

.about-image::before {
    content: ''; position: absolute; top: 50%; left: 50%; width: 70%; height: 70%;
    background: var(--light-grey); filter: blur(100px); opacity: 0.15; transform: translate(-50%, -50%);
}

.about-image img { 
    position: relative; width: 100%; border-radius: 5px; border: 1px solid var(--light-grey);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
}

/* --- LOCATION --- */
.location-container { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.map-box { border-radius: 15px; overflow: hidden; border: 1px solid var(--light-grey); }
.map-box iframe { display: block; filter: grayscale(100%) invert(92%) contrast(85%); }

.info-box { 
    background: rgba(26, 26, 26, 0.5); padding: 35px; border-radius: 15px; border-bottom: 4px solid var(--light-grey); backdrop-filter: blur(5px); 
}

.opening-hours li { display: flex; justify-content: space-between; border-bottom: 1px solid #333; padding: 8px 0; }
.opening-hours span { color: var(--light-grey); font-weight: bold; }

/* --- CARDS --- */
.contact-cards { display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; }
.card {
    background: rgba(26, 26, 26, 0.4); border: 1px solid rgba(211, 211, 211, 0.2); padding: 30px; width: 220px; text-align: center; text-decoration: none; color: white; border-radius: 15px; transition: 0.4s; backdrop-filter: blur(5px);
}
.card:hover { transform: translateY(-10px); border-color: var(--light-grey); box-shadow: 0 10px 25px var(--grey-shadow); }
.card i { font-size: 2.5rem; color: var(--light-grey); margin-bottom: 15px; display: block;}

/* --- FOOTER & BACK TO TOP --- */
footer { text-align: center; padding: 40px; color: #666; font-size: 0.85rem; border-top: 1px solid #1a1a1a; }
#backToTop { display: none; position: fixed; bottom: 30px; right: 30px; z-index: 99; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border: none; background-color: var(--light-grey); color: black; border-radius: 50%; transition: 0.3s; }

.reveal { opacity: 0; transform: translateY(40px); transition: 0.9s; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- RESPONSIVE --- */
@media (max-width: 992px) { 
    .location-container { grid-template-columns: 1fr; } 
}
@media (max-width: 768px) { 
    .nav-links { display: none; } 
    section { padding: 60px 5%; }
    .about-text h2 { text-align: center; }
    .about-text h2::after { margin: 15px auto 0; }
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px; /* Regola l'altezza desiderata */
    overflow: hidden;
    border-radius: 12px;
}

.slider-container .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-container .slide.active {
    opacity: 1;
}