/* =========================================
   VARIABILI E IMPOSTAZIONI GENERALI
   ========================================= */
:root {
    /* Colori Sezione UOMO */
    --man-bg: #333333;
    --man-text: #ffffff;
    --man-accent: #d4af37;

    /* Colori Sezione DONNA */
    --woman-bg: #f9f9f9;
    --woman-text: #333333;
    --woman-accent: #000000;

    /* Font */
    --font-man: 'Oswald', sans-serif;
    --font-woman: 'Oswald', sans-serif;
    --font-base: 'Roboto', sans-serif;

    /* Taglio */
    --clip-diagonal: polygon(0 0, 100% 0, 100% calc(100% - 50px), 0 100%);
    --clip-diagonal-desktop: polygon(0 0, 100% 0, 100% calc(100% - 100px), 0 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    line-height: 1.6;
}

/* =========================================
   TOP BANNER
   ========================================= */
#top-banner {
    background-color: #ffffff;
    padding: 0;
    text-align: center;
}

.banner-image {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    display: block;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-split {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 100px);
    width: 100%;
    position: relative;
    z-index: 20;
    clip-path: var(--clip-diagonal);
}

.split-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.split-side .content {
    z-index: 2;
    text-align: center;
    padding: 20px;
}

/* Stile Parte Sinistra (UOMO) */
.split-left {
    background-color: #000000;
    color: var(--man-text);
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
}

.split-left h1 {
    font-family: var(--font-man);
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--man-accent);
}

/* Stile Parte Destra (DONNA) */
.split-right {
    background-color: #ffffff;
    color: var(--woman-text);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.split-right h1 {
    font-family: var(--font-woman);
    font-size: 3rem;
    font-style: italic;
    color: var(--woman-accent);
}

.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    border: 2px solid currentColor;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.3s;
}

.split-side:hover .btn {
    transform: scale(1.1);
}

/* =========================================
   SEZIONI INTERNE
   ========================================= */
.section-style {
    padding: 60px 20px;
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.section-style h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.8;
}

/* Stile Specifico UOMO */
#uomo {
    position: relative;
    z-index: 10;
    clip-path: var(--clip-diagonal);
    padding-bottom: 80px;
    margin-top: -55px;
    padding-top: 120px;
}

.urban-style {
    background-color: var(--man-bg);
    color: var(--man-text);
    font-family: var(--font-man);
}

.urban-style h2 {
    color: var(--man-accent);
    text-transform: uppercase;
}

.urban-style .pricelist li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gallery (Swiper) Responsive */
.swiper {
    width: 100%;
    padding-bottom: 40px;
    margin-bottom: 50px;
}

.swiper-slide {
    width: 85vw;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img,
.swiper-slide video {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* =========================================
   SEZIONE SERVIZI TECNICI
   ========================================= */
.technical-style {
    background-color: #f4f4f4;
    color: #333;
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.technical-card {
    background-color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.technical-card h2 {
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 25px;
    color: #222;
    letter-spacing: 1px;
}

.technical-card p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #555;
}

.technical-card .info-text {
    font-size: 1rem;
    opacity: 0.9;
    font-style: italic;
}

/* Adattamento mobile */
@media (max-width: 768px) {
    .technical-style {
        padding: 40px 20px;
    }
}

/* =========================================
   STILE SEZIONE CHI SIAMO
   ========================================= */
.about-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
}

.about-container h3 {
    font-family: var(--font-man);
    font-size: 2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    color: #222;
}

.about-text {
    font-family: var(--font-base);
    font-size: 1.15rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Stile per le due righe parallele */
.double-separator {
    display: block;
    width: 100px;
    height: 6px;
    border-top: 1px solid #777;
    border-bottom: 1px solid #777;
    margin: 80px auto;
    opacity: 0.6;
}

/* =========================================
   FRECCE SWIPER
   ========================================= */
.swiper-button-next,
.swiper-button-prev {
    background-color: rgba(0, 0, 0, 0.6);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    backdrop-filter: blur(3px);
    transition: all 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Colori specifici frecce */
#uomo .swiper-button-next,
#uomo .swiper-button-prev {
    color: var(--man-accent);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

#donna .swiper-button-next,
#donna .swiper-button-prev {
    color: #ffffff;
    border: 1px solid rgba(143, 188, 143, 0.3);
}

/* =========================================
   LISTINO PREZZI
   ========================================= */
.pricelist {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.pricelist h3 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid currentColor;
    display: inline-block;
    padding-bottom: 10px;
}

.pricelist ul {
    list-style: none;
}

.pricelist li {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 1.1rem;
    border-bottom: 1px dashed rgba(150, 150, 150, 0.3);
}

.pricelist li:last-child {
    border-bottom: none;
}

/* Stili Listino specifici */
#uomo .pricelist {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

#donna .pricelist {
    background-color: #ffffff;
    border: 1px solid rgba(143, 188, 143, 0.3);
    color: #333;
}

/* =========================================
   LOCATION & ORARI
   ========================================= */
.location-style {
    background-color: #f4f4f4;
    color: #333;
    position: relative;
    z-index: 5;
}

.location-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.hours-card {
    background-color: #ffffff;
    max-width: 500px;
    margin: 0 auto 40px auto;
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.hours-card h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #333;
    letter-spacing: 1px;
}

.hours-list {
    list-style: none;
    padding: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
    color: #555;
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list li.closed {
    color: #d9534f;
    font-weight: bold;
}

.hours-list li span:last-child {
    font-weight: 500;
    color: #222;
}

/* =========================================
   MAPPA
   ========================================= */
.map-box {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.map-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.static-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.map-link:hover .static-map {
    transform: scale(1.02);
    filter: brightness(0.9);
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-link:hover .map-overlay {
    opacity: 1;
}

.photos-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.photos-column img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

.cta-button {
    display: inline-block;
    background-color: #25D366;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 20px 0;
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: scale(1.05);
}

.small {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* =========================================
   LOGO FISSO
   ========================================= */
.fixed-logo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 60px;
    height: auto;
    cursor: pointer;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
    transition: transform 0.3s ease, opacity 0.3s;
    opacity: 0.9;
}

.fixed-logo img {
    width: 100%;
    display: block;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.fixed-logo:hover {
    transform: scale(1.1) translate3d(0, 0, 0);
    opacity: 1;
}

/* =========================================
   ANIMAZIONI
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


.social-links {
    margin: 30px 0;
}

.social-links p {
    font-size: 1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-icons a {
    color: #ffffff;
    font-size: 1.5rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
    text-decoration: none;
}

.social-icons a:hover {
    transform: scale(1.2);
    opacity: 1;
}




/* =========================================
   MEDIA QUERY
   ========================================= */
@media (min-width: 768px) {
    .hero-split {
        flex-direction: row;
        clip-path: var(--clip-diagonal-desktop);
    }

    .split-side {
        flex: 1;
        transition: flex 0.5s ease;
    }

    .split-side:hover {
        flex: 1.5;
    }

    #uomo {
        clip-path: var(--clip-diagonal-desktop);
        padding-bottom: 130px;
        margin-top: -105px;
        padding-top: 160px;
    }

    #donna {
        margin-top: -105px;
        padding-top: 150px;
    }

    .location-grid {
        flex-direction: row;
    }

    .map-column,
    .photos-column {
        flex: 1;
    }

    .swiper-button-prev {
        left: calc(50% - 330px) !important;
        right: auto;
    }

    .swiper-button-next {
        right: calc(50% - 330px) !important;
        left: auto;
    }
}