/* ========================================
   STEEL STUDIO - CSS DEDICATO
   Design minimalista con scroll sincronizzato
   Desktop: Parallax sync tra foto e testo
   Mobile: Classico scroll con footer fisso in fondo
======================================== */

/* === SCROLLBAR PERSONALIZZATA STEEL STUDIO - NERA ULTRA-MINIMAL === */
/* Webkit browsers (Chrome, Safari, Edge) - Forzato con !important */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 2px !important;
    height: 2px !important;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
    background: transparent !important;
    border-radius: 0 !important;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.6) !important;
    border-radius: 1px !important;
    border: none !important;
    box-shadow: none !important;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.9) !important;
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner,
*::-webkit-scrollbar-corner {
    background: transparent !important;
}

/* Firefox - Forzato */
html,
body,
* {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(0, 0, 0, 0.6) transparent !important;
}

/* Steel Studio page specific */
body.steel-studio-page,
body.steel-studio-page *,
.steel-studio-page,
.steel-studio-page * {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(0, 0, 0, 0.6) transparent !important;
}

/* === LOADING SCREEN === */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.active {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.loading-logo {
    width: 200px;
    height: auto;
    animation: logoFade 2s ease-in-out infinite;
}

@keyframes logoFade {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: #000000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    margin: 0;
}

/* === RESET E BASE === */
body.steel-page {
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #000000;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Smooth scrolling per tutta la pagina */
html {
    scroll-behavior: smooth;
}

/* === HERO SECTION === */
.steel-hero {
    min-height: 45vh; /* Ridotto ulteriormente per lasciare spazio al testo */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding: 2rem;
    margin-bottom: 70px;
}

.steel-title {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 5rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #000000;
    margin: 0;
    margin-bottom: 2rem; /* Ridotto da 3rem */
    text-align: center;
}

.steel-book-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: transparent;
    border: 1px solid #000000;
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50px;
    margin-top: 0;
    margin-bottom: 0;
}

.steel-book-btn:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-2px);
}

/* === INTRO CENTRALE DESKTOP === */
.steel-intro-central {
    background: #ffffff;
    padding: 3rem 10% 6rem 10%; /* Aumentato padding-top da 2rem a 3rem */
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 250px;
}

.intro-central-text {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #000000;
    margin: 0 0 2rem 0;
    text-align: center;
}

.intro-central-text:last-child {
    margin-bottom: 0;
}

/* Nascondi su mobile */
@media (max-width: 768px) {
    .steel-intro-central {
        display: none !important;
    }
}

/* === INTRO SECTIONS CENTRALI - NASCOSTE === */
.steel-intro-sections {
    display: none;
}

/* === MOBILE CONTENT - DOPO PRENOTA === */
.steel-mobile-content {
    display: none; /* Nascosto su desktop */
}

@media (max-width: 768px) {
    /* SOLUZIONE DEFINITIVA ANTI-OVERFLOW */
    html {
        overflow-x: hidden !important;
    }
    
    body.steel-page {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* FORZA TUTTO A STARE DENTRO */
    body.steel-page *,
    body.steel-page *:before,
    body.steel-page *:after {
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
    }
    
    /* HEADER COMPATTO */
    body.steel-page .header-bar {
        width: 100% !important;
        padding: 0 0.5rem !important;
        overflow: hidden !important;
    }

    .steel-mobile-content {
        display: block !important;
        padding: 1rem 4% 1rem 4%; /* Padding ridotto per evitare overflow */
        background: #ffffff;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-intro-section,
    .mobile-about-section,
    .mobile-services-section,
    .mobile-rates-section {
        margin-bottom: 2.5rem; /* Ridotto spazio tra sezioni */
    }

    .mobile-section-title {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 1.4rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #000000;
        margin-bottom: 2rem;
        text-align: center;
    }

    .mobile-intro-text {
        font-family: 'Inter', sans-serif;
        font-weight: 300;
        font-size: 1rem;
        line-height: 1.7;
        color: #000000;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .mobile-features-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-features-list li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        font-size: 0.9rem;
        letter-spacing: 0.03em;
        line-height: 1.6;
        text-align: center;
    }

    .mobile-features-list li:first-child {
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .mobile-min-booking {
        font-size: 0.85rem;
        font-style: italic;
        color: rgba(0, 0, 0, 0.5);
        margin-bottom: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        text-align: center;
    }

    .mobile-rates-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .mobile-rate-item {
        background: rgba(0, 0, 0, 0.03);
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 15px;
        padding: 1.5rem 1rem;
        text-align: center;
        transition: all 0.3s ease;
    }

    .mobile-rate-item h3 {
        font-family: 'Inter', sans-serif;
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        margin-bottom: 0.8rem;
        color: #000000;
    }

    .mobile-rate-item p {
        font-family: 'Inter', sans-serif;
        font-size: 0.9rem;
        color: rgba(0, 0, 0, 0.8);
        margin: 0;
        line-height: 1.5;
    }

    .mobile-regolamento-btn {
        display: inline-block;
        margin: 0 auto;
        padding: 0.8rem 2rem;
        background: transparent;
        border: 1px solid #000000;
        color: #000000;
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 0.75rem;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .mobile-regolamento-btn:hover {
        background: #000000;
        color: #ffffff;
    }
}

/* Riduce spazio tra mobile content e galleria */
@media (max-width: 768px) {
    .steel-right-photos {
        margin-top: 1rem !important; /* Avvicina galleria al bottone regolamento */
    }

}

/* === INTRO SECTIONS NELLA SIDEBAR SINISTRA === */
.intro-section {
    margin-bottom: 6rem;
}

.intro-title-sidebar {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 2rem;
    margin-top: 0;
    text-align: center; /* Centrare il titolo "Chi siamo" */
}

.intro-text-sidebar {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.8;
    color: #000000;
    margin: 0 0 1.5rem 0;
    text-align: center; /* Centrare il testo delle intro sections */
}

/* === DESKTOP LAYOUT: UN SOLO SCROLL GLOBALE === */
.steel-desktop-layout {
    display: none; /* Nascosto su mobile */
    position: relative;
    width: 100%;
    display: flex;
    background: #ffffff;
    gap: 0;
    min-height: auto;
    align-items: flex-start;
    justify-content: center; /* Centra il layout */
}

/* Left Content (38%) - Tutto il contenuto visibile, NO scrollbar */
.steel-left-content {
    width: 38%;
    padding: 0 4rem 4rem 6rem;
    background: #ffffff;
    position: sticky;
    top: 0;
    display: block;
    height: auto;
    overflow: visible;
    align-self: flex-start;
}

/* Remove navigation dots - non servono più */
.steel-nav-dots {
    display: none;
}

/* Container unico per tutto il contenuto testuale - TUTTO VISIBILE */
.steel-sections {
    width: 100%;
    position: relative;
    display: block;
    height: auto;
    overflow: visible;
}

/* Sezione unica che scorre normalmente con la pagina */
.content-section {
    margin-bottom: 0;
    opacity: 1;
    transform: none;
    height: auto;
    overflow: visible;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 5rem;
    margin-top: 0;
    text-align: center; /* Centrare i titoli delle sezioni */
}

.section-title:not(:first-child) {
    margin-top: 10rem;
}

.section-content {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.9;
    color: #000000;
    text-align: center; /* Centrare il contenuto delle sezioni */
}

/* Features List - ALTEZZA MASSIMA per allinearsi alle foto */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12rem 0;
}

.features-list li {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.features-list li:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.features-list li:hover {
    padding-left: 0.5rem;
    color: rgba(0, 0, 0, 0.6);
}

/* Rates Section - ALTEZZA MASSIMA per sincronizzare con foto */

/* Right Photos (62%) - Scorrono con il flusso normale della pagina */
.steel-right-photos {
    width: 62%;
    padding: 0 6rem 4rem 4rem;
    display: block;
    background: #ffffff;
}

.steel-photo-scroll {
    display: block;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.steel-photo-item {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    margin-bottom: 6rem;
}

.steel-photo-item:last-child {
    margin-bottom: 0;
}

.steel-photo-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.steel-photo-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.steel-photo-item:hover img {
    transform: scale(1.03);
}

/* Bottom CTA */
.steel-bottom-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    text-align: center;
    background: #ffffff;
    width: 100%;
}

.steel-bottom-title {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 3rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: #000000;
}

.steel-book-btn-bottom {
    margin-top: 1rem;
}

/* Mobile Gallery - Hidden on Desktop */
.steel-gallery {
    display: none;
}

/* Mobile Central Links - Hidden on Desktop */
.mobile-central-links {
    display: none;
}

/* === SLIDE MENU PERSONALIZZATO PER STEEL STUDIO === */
/* Su desktop, sposta il menu più in basso con background trasparente blurrato */
@media (min-width: 769px) {
    body.steel-page .slide-menu {
        top: 5rem !important;
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
}

/* Su mobile background trasparente blurrato */
@media (max-width: 768px) {
    body.steel-page .slide-menu {
        background: rgba(255, 255, 255, 0.15) !important;
        backdrop-filter: blur(15px) !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
    }
}

/* === MENU ITEMS NERO PER STEEL STUDIO === */
/* Testo nero per menu items */
body.steel-page .menu-item {
    color: rgba(0, 0, 0, 0.7) !important;
}

body.steel-page .menu-item:hover {
    color: rgba(0, 0, 0, 0.9) !important;
}

body.steel-page .menu-item.active {
    color: rgba(0, 0, 0, 1) !important;
    background: rgba(0, 0, 0, 0.08) !important;
}

body.steel-page .menu-item::before {
    background: rgba(0, 0, 0, 0.05) !important;
}

/* === REGOLE SPECIFICHE PER GARANTIRE UNIFORMITÀ MENU === */
/* Assicura che regolamento e steel studio abbiano lo stesso menu */
body.steel-page .slide-menu {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 25px !important;
}

@media (min-width: 769px) {
    body.steel-page .slide-menu {
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        top: 6.5rem !important;
    }
}

/* Forza lo stile dei menu items per tutte le pagine steel */
body.steel-page .menu-item {
    color: rgba(0, 0, 0, 0.7) !important;
    background: transparent !important;
    font-weight: 400 !important;
    transition: all 0.3s ease !important;
}

body.steel-page .menu-item:hover {
    color: #000000 !important;
    background: rgba(0, 0, 0, 0.15) !important;
}

body.steel-page .menu-item.active {
    color: #ffffff !important;
    background: #000000 !important;
    font-weight: 500 !important;
}

/* Forza il comportamento su TUTTE le pagine steel-page */
html body.steel-page .slide-menu {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

html body.steel-page .menu-item {
    color: rgba(0, 0, 0, 0.7) !important;
}

html body.steel-page .menu-item:hover {
    color: #000000 !important;
    background: rgba(0, 0, 0, 0.15) !important;
}

html body.steel-page .menu-item.active {
    color: #ffffff !important;
    background: #000000 !important;
    font-weight: 500 !important;
}

/* === FOOTER === */
/* Footer alla fine della pagina - stesso stile della homepage ma colori adattati */
body.steel-page .main-footer {
    position: relative !important;
    z-index: 250 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1.5rem 1rem !important;
    background: transparent !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    margin-top: 8rem !important;
}

body.steel-page .footer-left, 
body.steel-page .footer-right {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

body.steel-page .footer-center {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1rem !important;
}

body.steel-page .footer-link {
    color: rgba(0, 0, 0, 0.7) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 300 !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    cursor: none !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

body.steel-page .footer-link:hover {
    color: rgba(0, 0, 0, 1) !important;
}

body.steel-page .footer-separator {
    color: rgba(0, 0, 0, 0.9) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.1em !important;
    margin: 0 0.2rem !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    text-shadow: none !important;
}

body.steel-page .footer-credit-link {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 0.3rem !important;
    color: rgba(0, 0, 0, 1) !important;
    text-decoration: none !important;
    font-family: 'Inter', sans-serif !important;
    text-transform: uppercase !important;
    cursor: none !important;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    transform-style: preserve-3d !important;
    perspective: 1000px !important;
}

body.steel-page .footer-credit-link:hover {
    transform: rotateY(360deg) rotateX(15deg) !important;
}

body.steel-page .credit-by {
    font-weight: 200 !important;
    font-size: 0.6rem !important;
    letter-spacing: 0.1em !important;
    opacity: 0.8 !important;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
}

body.steel-page .credit-twh {
    font-weight: 400 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.2em !important;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
}

body.steel-page .footer-credit-link:hover .credit-twh {
    transform: rotateY(720deg) !important;
}

/* ==========================================
   MODAL FOTO - NUOVO E PULITO
========================================== */

/* Modal Container */
#fullscreenModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow: hidden; /* Impedisce qualsiasi scroll */
}

/* Modal Attivo */
#fullscreenModal.active {
    opacity: 1;
    visibility: visible;
}

/* Nasconde header quando modal è attivo */
body.modal-open .header-bar,
body.modal-open .mobile-header {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* NON toccare il body - lascia che la pagina rimanga dove è */

/* Permette di cliccare sull'immagine per chiudere il modal */
#fullscreenImage {
    cursor: pointer;
}

/* Aggiusta z-index per mobile */
@media (max-width: 768px) {
    #fullscreenModal {
        z-index: 99999 !important;
    }
    
    /* Assicura che tutto sia sopra qualsiasi elemento */
    body.modal-open .header-bar {
        z-index: -1 !important;
    }
}

/* Close Button */
#closeButton {
    display: none !important;
}

/* Modal Content Container */
.modal-content {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Modal Image */
#fullscreenImage {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

/* Planimetria - stesse dimensioni delle altre foto */
#fullscreenImage[src*="plan_steelstudio.png"] {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    min-width: 70%;
    min-height: 60vh;
}

/* Rotation hint per mobile */
#rotationHint {
    display: none;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
}

@media (max-width: 768px) and (orientation: portrait) {
    #rotationHint {
        display: block;
    }
    
    #fullscreenImage {
        max-height: 75vh;
        max-width: 90%;
    }
}

/* ========================================
   RESPONSIVE: MOBILE
======================================== */
@media (max-width: 768px) {
    /* Hero */
    .steel-title {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .steel-book-btn {
        font-size: 0.75rem;
        padding: 0.8rem 2rem;
        margin-bottom: -7rem; 
        top: 50px;
    }

    /* Riduce altezza hero su mobile */
    .steel-hero {
        padding: 1rem; /* Ridotto padding */
    }

    /* Intro Sections - Solo Chi siamo visibile */
    .steel-intro-sections {
        display: block;
    }

    #homepage-intro {
        display: none;
    }

    .steel-intro-item {
        min-height: auto;
        padding: 3rem 5%;
    }

    .intro-title {
        font-size: 2rem;
        letter-spacing: 0.2em;
        margin-bottom: 2rem;
        text-align: center; /* Centra il titolo intro su mobile */
    }

    .intro-text {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
        text-align: center; /* Centra il testo intro su mobile */
    }

    /* Desktop Layout - Nascosto */
    .steel-desktop-layout {
        display: none !important;
    }

    /* Mobile Content Wrapper */
    .steel-content {
        display: block;
        width: 100%;
    }

    /* Mobile Content Sections - Visibili prima della gallery */
    .steel-left-content {
        display: block !important;
        width: 100%;
        padding: 3rem 5% 2rem 5%;
    }

    .steel-sections {
        display: block;
    }

    .content-section {
        margin-bottom: 0;
    }

    .section-title {
        font-size: 1.4rem;
        letter-spacing: 0.1em;
        margin-bottom: 1.5rem;
        margin-top: 0;
        text-align: center; /* Mantieni centrato anche su mobile */
    }

    .section-title:not(:first-child) {
        margin-top: 3rem;
    }

    .section-content {
        font-size: 0.95rem;
        line-height: 1.7;
        text-align: center; /* Centra anche il contenuto su mobile */
    }

    .features-list {
        margin-bottom: 3rem;
    }

    .features-list li {
        font-size: 0.9rem;
        padding: 1rem 0;
    }

    .rate-item {
        padding: 1.5rem 1rem !important;
        background: rgba(0, 0, 0, 0.03) !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        border-radius: 15px !important;
        text-align: center !important;
    }

    .rate-item h3 {
        font-size: 1rem !important;
        font-weight: 600 !important;
        letter-spacing: 0.05em !important;
        text-transform: uppercase !important;
        margin-bottom: 0.8rem !important;
        color: #000000 !important;
        text-align: center !important;
    }

    .rate-item p {
        font-size: 0.9rem !important;
        color: rgba(0, 0, 0, 0.8) !important;
        margin: 0 !important;
        text-align: center !important;
        line-height: 1.5 !important;
    }

    .rates-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-bottom: 2rem !important;
    }

    .min-booking {
        font-size: 0.85rem !important;
        font-weight: 500 !important;
        color: #000000 !important;
        text-align: center !important;
        margin-top: 1rem !important;
        padding-top: 1.5rem !important;
    }

    /* Right photos - Hidden on mobile (usiamo la gallery) */
    .steel-right-photos {
        display: none;
    }

    /* Mobile Gallery - Visibile */
    .steel-gallery {
        display: block;
        padding: 5%;
        background: #ffffff;
        top: -250px;
        margin-bottom: -300px;
    }

    .gallery-title {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 1.5rem;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        text-align: center;
        margin-bottom: 2rem;
        color: #000000;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-item {
        position: relative;
        width: 100%;
        border-radius: 12px;
        overflow: hidden;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .gallery-item img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* Bottom CTA Mobile */
    .steel-bottom-cta {
        padding: 4rem 5%;
    }

    .steel-bottom-title {
        font-size: 2rem;
        letter-spacing: 0.3em;
        margin-bottom: 2rem;
    }

    /* Mobile Central Links */
    .mobile-central-links {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 2rem 0;
        background: #ffffff;
    }

    .mobile-central-link {
        font-family: 'Inter', sans-serif;
        font-weight: 300;
        font-size: 0.7rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: #000000;
        text-decoration: none;
    }

    .mobile-separator {
        margin: 0 0.5rem;
        color: #000000;
    }

    /* Footer mobile - solo policy e terms al centro (identico a Works) */
    body.steel-page .main-footer {
        justify-content: center !important;
        padding: 2rem 1rem !important;
        margin-top: 6rem !important;
        background: #ffffff !important;
    }
    
    body.steel-page .footer-left,
    body.steel-page .footer-right {
        display: none !important;
    }
    
    body.steel-page .footer-center {
        display: flex !important;
        gap: 1rem !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    body.steel-page .footer-link {
        color: rgba(0, 0, 0, 0.7) !important;
        font-size: 0.7rem !important;
    }
    
    body.steel-page .footer-separator {
        color: rgba(0, 0, 0, 0.7) !important;
    }

    /* Mobile - Regolazioni modal */
    #closeButton {
        display: none !important;
        visibility: hidden !important;
    }

    #closeButton:hover {
        background: rgba(0, 0, 0, 0.9) !important;
        border-color: white !important;
    }

    #fullscreenImage {
        max-height: 75vh;
        max-width: 90%;
    }

    /* Rotation hint posizionato sotto la foto */
    #rotationHint {
        display: block !important;
        bottom: 80px !important;
        left: 50% !important;
        right: auto !important;
        top: auto !important;
        transform: translateX(-50%) !important;
        font-size: 1rem !important;
        padding: 10px 15px !important;
        border-radius: 25px !important;
        z-index: 99998 !important;
        color: white !important;
        text-align: center !important;
        width: auto !important;
        font-weight: 500 !important;
        letter-spacing: 0.5px !important;
    }

    /* Icona personalizzata con animazione di rotazione */
    #rotationHint:before {
        display: none !important;
    }

    /* Animazione di rotazione di 90 gradi */
    @keyframes rotatePhone {
        0% { transform: rotate(0deg); }
        25% { transform: rotate(0deg); }
        50% { transform: rotate(90deg); }
        75% { transform: rotate(90deg); }
        100% { transform: rotate(0deg); }
    }

    /* Regolamento Button Mobile */
    .regolamento-btn {
        display: inline-block;
        margin-top: 2rem;
        padding: 0.8rem 2rem;
        background: transparent;
        border: 1px solid #000000;
        color: #000000;
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 0.75rem;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        text-decoration: none;
        border-radius: 50px;
        transition: all 0.3s ease;
    }

    .regolamento-btn:hover {
        background: #000000;
        color: #ffffff;
    }

    .mobile-only {
        display: block;
    }
}

/* Bottone Regolamento per Desktop */
.regolamento-btn {
    display: inline-block;
    margin: 2rem auto; /* Centrare con margin auto */
    padding: 0.8rem 2rem;
    background: transparent;
    border: 1px solid #000000;
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.regolamento-btn:hover {
    background: #000000;
    color: #ffffff;
}

/* Desktop - Hide mobile-only elements */
@media (min-width: 769px) {
    .steel-desktop-layout {
        display: flex;
    }

    .mobile-only {
        display: none;
    }

    /* Hide mobile gallery on desktop */
    .steel-gallery {
        display: none;
    }

    /* Bottom CTA visible on desktop after split layout */
    .steel-bottom-cta {
        display: flex;
    }
}

/* === POLICY LINKS === */
.steel-policy-links {
    display: none !important; /* Nascosto completamente su tutti i dispositivi */
}

.steel-policy-link {
    color: #000000 !important;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 15px;
}

.steel-policy-link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #333333 !important;
}

.steel-separator {
    color: #cccccc;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
}

/* Mobile policy links - DISABILITATI COMPLETAMENTE */
@media (max-width: 768px) {
    .steel-policy-links {
        display: none !important; /* Nascosto completamente su mobile */
    }
    
    .steel-policy-link {
        color: #000000 !important;
        text-decoration: none;
        font-family: 'Inter', sans-serif;
        font-size: 0.6rem;
        font-weight: 400;
        letter-spacing: 0.05em;
        transition: opacity 0.3s ease;
    }
    
    .steel-policy-link:hover {
        opacity: 0.6;
    }
    
    .steel-separator {
        display: none;
    }
}

/* === LAYOUT PER GRANDI SCHERMI === */
/* Su schermi grandi (1200px+), le foto dominano lo schermo */
@media (min-width: 1200px) {
    /* Pannello di contenuto molto più piccolo a sinistra */
    .steel-left-content {
        width: 18%;
        padding: 0 2rem 4rem 3rem;
        font-size: 0.9rem; /* Riduce leggermente il font per ottimizzare lo spazio */
        position: sticky;
        top: 0;
        align-self: flex-start;
    }
    
    /* Le foto occupano la maggior parte dello schermo */
    .steel-right-photos {
        width: 82%;
        padding: 0 3rem 4rem 2rem;
    }
    
    /* Riduce i titoli delle sezioni per il pannello più stretto */
    .steel-left-content .section-title {
        font-size: 1.4rem;
        margin-bottom: 3rem;
    }
    
    .steel-left-content .section-title:not(:first-child) {
        margin-top: 6rem;
    }
    
    /* Ottimizza le liste per lo spazio ridotto */
    .steel-left-content .features-list {
        margin: 0 0 8rem 0;
    }
    
    .steel-left-content .features-list li {
        padding: 2rem 0;
        font-size: 0.85rem;
    }
    
    /* Ottimizza le tariffe per lo spazio ridotto */
    .steel-left-content .rates-grid {
        gap: 4rem;
        margin-bottom: 4rem;
    }
    
    .steel-left-content .rate-item {
        padding-bottom: 2rem;
    }
    
    .steel-left-content .rate-item h3 {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .steel-left-content .rate-item p {
        font-size: 0.8rem;
    }
}

/* Su schermi molto grandi (1600px+), layout centrato */
@media (min-width: 1600px) {
    /* Container principale centrato con larghezza massima */
    .steel-desktop-layout {
        max-width: 1400px;
        margin: 0 auto;
        justify-content: space-between;
    }
    
    /* Pannello di contenuto centrato al 35% */
    .steel-left-content {
        width: 35%;
        padding: 0 3rem 4rem 3rem;
        font-size: 1rem;
        position: sticky;
        top: 0;
        align-self: flex-start;
    }
    
    /* Le foto occupano il 65% dello schermo */
    .steel-right-photos {
        width: 65%;
        padding: 0 3rem 4rem 3rem;
    }
    
    /* Ripristina dimensioni normali per il testo */
    .steel-left-content .section-title {
        font-size: 1.6rem;
        margin-bottom: 4rem;
        letter-spacing: 0.12em;
    }
    
    .steel-left-content .section-title:not(:first-child) {
        margin-top: 8rem;
    }
}

/* === FOOTER VISIBILE - REGOLE DESKTOP === */
/* Ripristina il footer su Steel Studio DESKTOP */
@media (min-width: 769px) {
    html body.steel-page .main-footer {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
    }

    html body.steel-page .main-footer .footer-center,
    html body.steel-page .main-footer .footer-left,
    html body.steel-page .main-footer .footer-link {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
    }
}

/* === FOOTER MOBILE - SEMPRE VISIBILE === */
@media (max-width: 768px) {
    /* Override TUTTE le regole precedenti per mobile */
    html body.steel-page .main-footer,
    html body.steel-page.footer-visible .main-footer {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        transform: none !important;
        height: auto !important;
        overflow: visible !important;
    }
}

/* Nascondi solo i policy links duplicati se esistono */
html body.steel-page .steel-policy-links {
    display: none !important;
}

/* === INSTAGRAM ICON NERO SU STEEL STUDIO === */
/* Desktop */
body.steel-page .menu-instagram {
    background: transparent !important;
}

body.steel-page .menu-instagram svg {
    stroke: rgba(0, 0, 0, 0.7) !important;
}

body.steel-page .menu-instagram:hover {
    background: rgba(0, 0, 0, 0.05) !important;
}

body.steel-page .menu-instagram:hover svg {
    stroke: rgba(0, 0, 0, 1) !important;
}

/* Mobile - massima visibilità */
@media (max-width: 768px) {
    body.steel-page .menu-instagram {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: transparent !important;
    }
    
    body.steel-page .menu-instagram svg {
        stroke: rgba(0, 0, 0, 0.9) !important;
        width: 14px !important;
        height: 14px !important;
    }
    
    body.steel-page .menu-instagram:hover {
        background: rgba(0, 0, 0, 0.08) !important;
    }
    
    body.steel-page .menu-instagram:hover svg {
        stroke: rgba(0, 0, 0, 1) !important;
    }
}

/* Schermi piccoli */
@media (max-width: 480px) {
    body.steel-page .menu-instagram {
        background: transparent !important;
    }
    
    body.steel-page .menu-instagram svg {
        stroke: rgba(0, 0, 0, 0.9) !important;
        width: 12px !important;
        height: 12px !important;
    }

    /* Tariffe mobile per schermi piccoli */
    .mobile-rates-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-bottom: 2rem !important;
    }

    .mobile-rate-item {
        background: rgba(0, 0, 0, 0.03) !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        border-radius: 15px !important;
        padding: 1.5rem 1rem !important;
        text-align: center !important;
    }

    .mobile-rate-item h3 {
        font-family: 'Inter', sans-serif !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        letter-spacing: 0.05em !important;
        text-transform: uppercase !important;
        margin-bottom: 0.8rem !important;
        color: #000000 !important;
    }

    .mobile-rate-item p {
        font-family: 'Inter', sans-serif !important;
        font-size: 0.9rem !important;
        color: rgba(0, 0, 0, 0.8) !important;
        margin: 0 !important;
        line-height: 1.5 !important;
    }

    .mobile-min-booking {
        font-size: 0.85rem !important;
        color: rgba(0, 0, 0, 0.5) !important;
        text-align: center !important;
    }

    /* Tariffe desktop per schermi piccoli */
    .rate-item {
        padding: 1.5rem 1rem !important;
        background: rgba(0, 0, 0, 0.03) !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        border-radius: 15px !important;
        text-align: center !important;
    }

    .rate-item h3 {
        font-size: 1rem !important;
        font-weight: 600 !important;
        letter-spacing: 0.05em !important;
        text-transform: uppercase !important;
        margin-bottom: 0.8rem !important;
        color: #000000 !important;
        text-align: center !important;
    }

    .rate-item p {
        font-size: 0.9rem !important;
        color: rgba(0, 0, 0, 0.8) !important;
        margin: 0 !important;
        text-align: center !important;
        line-height: 1.5 !important;
    }

    .rates-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-bottom: 2rem !important;
    }

    .min-booking {
        font-size: 0.85rem !important;
        font-weight: 500 !important;
        color: #000000 !important;
        text-align: center !important;
        margin-top: 1rem !important;
        padding-top: 1.5rem !important;
    }
    
    /* Touch-friendly 3D effects for mobile footer in steel studio */
    body.steel-page .footer-credit-link:active {
        transform: rotateY(360deg) rotateX(15deg) !important;
    }
    
    body.steel-page .footer-credit-link:active .credit-twh {
        transform: rotateY(720deg) !important;
    }
}

