/* ==========================================================================
   1. RESET & ARCHITETTURA URBANA BLACK MATTE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    background-color: #0A0A0A;
    color: #FFFFFF;
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   2. REPLICA GEOMETRICA LOGO INSTAGRAM (CO/MP/LICI)
   ========================================================================== */
.brand-logo-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #141414;
    padding: 2.5rem 3rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.logo-row {
    font-size: 5rem;
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -2px;
    color: #F8FAFC;
    text-transform: uppercase;
    position: relative;
}

.logo-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 3px solid #F8FAFC;
    position: absolute;
    right: 4px;
    top: -8px;
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem;
    position: relative;
    background: radial-gradient(circle at center, #161616 0%, #0A0A0A 100%);
}

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

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 12px;
    color: #64748B;
    margin-top: 1rem;
    text-indent: 12px;
}

.minimal-line {
    width: 40px;
    height: 2px;
    background-color: #FFFFFF;
    margin: 2rem auto;
}

.hero-description {
    font-size: 1.1rem;
    color: #94A3B8;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 3.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-minimal {
    border: 1px solid #FFFFFF;
    background-color: #FFFFFF;
    color: #0A0A0A;
    padding: 1.2rem 3rem;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}
.btn-minimal:hover {
    background-color: transparent;
    color: #FFFFFF;
}

.btn-minimal-secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 1.2rem 3rem;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}
.btn-minimal-secondary:hover {
    border-color: #FFFFFF;
    background: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   4. SEZIONE CAROSELLO LOOKBOOK (INTERATTIVO E ULTRA CLEAN)
   ========================================================================== */
.gallery-section {
    padding: 6rem 2rem 4rem 2rem;
    background-color: #0A0A0A;
}

.carousel-container {
    max-width: 420px; /* Perfetto per valorizzare i tagli verticali delle foto Treatwell */
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border: 1px solid #1A1A1A;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    aspect-ratio: 3 / 4;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(15%); /* Leggero filtro urban desaturato per il lookbook */
    transition: filter 0.3s;
}
.carousel-slide img:hover {
    filter: grayscale(0%);
}

/* Frecce minimali */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
}
.carousel-btn:hover {
    background: #FFFFFF;
    color: #0A0A0A;
}
.prev-btn { left: 15px; }
.next-btn { right: 15px; }

/* Puntini di tracciamento */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: #FFFFFF;
    transform: scale(1.2);
}

/* ==========================================================================
   5. NUOVO COMPACT LAYOUT PER I PREZZI (STILE LISTINO BARBERIA)
   ========================================================================== */
.services-section {
    padding: 6rem 2rem;
    max-width: 900px; /* Più stretto ed elegante, stile foglio menu */
    margin: 0 auto;
}

.section-title-box {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title-box h2 {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 6px;
    color: #F8FAFC;
}

.minimal-line-small {
    width: 30px;
    height: 1px;
    background-color: #334155;
    margin: 1.2rem auto 0 auto;
}

.menu-category-block {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: #64748B;
    margin-bottom: 2rem;
    border-bottom: 1px solid #161616;
    padding-bottom: 0.5rem;
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.menu-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #1C1C1C;
}
.menu-item:last-child {
    border-bottom: none;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0.4rem;
}

.menu-item-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFF;
    letter-spacing: 0.5px;
}

.menu-item .price {
    font-size: 1.2rem;
    font-weight: 900;
    color: #FFF;
}

.menu-item-sub {
    font-size: 0.88rem;
    color: #64748B;
    font-weight: 300;
}

.menu-item-sub .divider {
    color: #222;
    margin: 0 0.4rem;
}

/* ==========================================================================
   6. SEZIONE INTEGRAZIONE PRENOTAZIONI DIRETTE (TREATWELL SEDI)
   ========================================================================== */
.booking-section {
    background-color: #0E0E0E;
    padding: 7rem 2rem;
}

.salon-grid {
    max-width: 950px;
    margin: 3rem auto 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.salon-card {
    background-color: #0A0A0A;
    border: 1px solid #1C1C1C;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem;
    position: relative;
    transition: border-color 0.3s;
}
.salon-card:hover {
    border-color: #444;
}

.location-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #141414;
    color: #64748B;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    letter-spacing: 1px;
}

.salon-info h3 {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    color: #FFF;
}

.salon-address {
    color: #64748B;
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 3.5rem;
}

.btn-treatwell {
    width: 100%;
    background-color: transparent;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    padding: 1.1rem;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}
.btn-treatwell:hover {
    background-color: #FFFFFF;
    color: #0A0A0A;
}

.btn-treatwell span { transition: transform 0.3s; }
.btn-treatwell:hover span { transform: translateX(4px); }

/* ==========================================================================
   7. FOOTER & CREDITS (DIGITAL STUDIO)
   ========================================================================== */
footer {
    background-color: #0A0A0A;
    padding: 3rem 2rem;
    text-align: center;
    color: #475569;
    font-size: 0.85rem;
    border-top: 1px solid #111111;
}

footer p { line-height: 1.5; }

.powered-by {
    margin-top: 0.8rem;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.powered-by a {
    color: #64748B;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}
.powered-by a:hover { color: #FFFFFF; }

/* ==========================================================================
   8. RESPONSIVE MOBILE FIX
   ========================================================================== */
@media (max-width: 768px) {
    .brand-logo-box { padding: 1.5rem 2rem; }
    .logo-row { font-size: 3.5rem; }
    .logo-dot { width: 10px; height: 10px; border-width: 2px; top: -4px; }
    .hero h1 { font-size: 3.2rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn-minimal, .btn-minimal-secondary { width: 100%; text-align: center; }
    
    .carousel-container { max-width: 100%; }
    .services-section, .booking-section, .gallery-section { padding: 4rem 1.2rem; }
    .salon-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .salon-card { padding: 2rem 1.5rem; }
    .salon-address { margin-bottom: 2.5rem; }
}
.watermark {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 0.7rem;
    color: rgba(100, 116, 139, 0.5); /* Grigio semitrasparente */
    letter-spacing: 1px;
    text-transform: uppercase;
    pointer-events: none; /* Non interferisce con i click */
    z-index: 9999;
}

.watermark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999; /* Sta sopra tutto */
    pointer-events: none; /* Fondamentale: permette di cliccare i bottoni sotto! */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500' viewBox='0 0 500 500'%3E%3Ctext x='50%25' y='50%25' font-family='Arial, sans-serif' font-size='22' font-weight='bold' fill='rgba(58, 46, 43, 0.04)' text-anchor='middle' transform='rotate(-45 250 250)'%3EPROVA PROTOTIPO - DIGITAL STUDIO%3C/text%3E%3C/svg%3E");
    background-repeat: repeat;
}