body {
    margin: 0;
    font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #ffffff;
    background-color: #000000;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

header {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #ffd700;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.header-content > * {
    flex-shrink: 0;
}

/* Mobile layout: hamburger a sinistra, logo centrato, lang a destra */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        order: 1;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1001;
    }
    
    .hamburger span {
        display: block;
        width: 28px;
        height: 3px;
        background: #ffd700;
        margin: 5px 0;
        transition: all 0.3s;
    }

    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .logo {
        order: 2;
        justify-content: center;
    }

    .logo img {
        height: 70px !important;
        width: auto;
    }

    .lang-btn {
        order: 3;
    }

    /* Header mobile - spacing ottimizzato */
    .header-content {
        padding: 0 1rem;
        gap: 0.5rem;
    }
}

/* Hide nav menu in mobile by default */
@media (max-width: 768px) {
    #main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 1.5rem;
        box-sizing: border-box;
        z-index: 999;
        backdrop-filter: blur(10px);
        border-top: 1px solid #ffd700;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                    opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    #main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    #main-nav ul {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    #main-nav ul li {
        width: 100%;
    }
    
    #main-nav ul li a {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 56px; /* Increased touch target */
        background: rgba(255, 215, 0, 0.1);
        border: 1px solid #ffd700;
        border-radius: 8px;
        color: #ffd700;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        box-sizing: border-box;
        margin: 0;
        padding: 0 1rem;
    }
    
    #main-nav ul li a:hover {
        background: rgba(255, 215, 0, 0.2);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    }
    
    #main-nav ul li a:active {
        transform: translateY(0);
    }
}

/* =========================================
   MOBILE FIRST - Ottimizzazioni performance
   ========================================= */

/* Disabilita animazioni pesanti su mobile */
@media (max-width: 768px) {
    /* Riduci/nginx complessità delle animazioni */
    * {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001s !important;
    }
    
    /* Mantieni solo animazioni essenziali */
    .hamburger span,
    #main-nav ul li a,
    .lang-btn {
        animation-duration: inherit !important;
        animation-iteration-count: inherit !important;
        transition-duration: inherit !important;
    }
    
    /* Disabilita effetti costosi */
    ::before,
    ::after {
        opacity: 0 !important;
        animation: none !important;
    }
    
    /* Semplifica header */
    header {
        background-color: rgba(0, 0, 0, 0.95);
        border-bottom: 1px solid #ffd700;
        backdrop-filter: none;
    }
    
    /* Semplifica hero */
    #hero {
        background: #000000 !important;
    }
    
    .hero-text,
    .hero-subtext {
        text-shadow: none !important;
        animation: none !important;
        transform: none !important;
    }
    
    /* Nascondi elementi decorativi pesanti */
    .gallery::before,
    .contact::before {
        display: none !important;
    }
    
    /* Riduci ombre pesanti */
    #central-viewer,
    .carousel-image,
    #current-image {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.3) !important;
        animation: none !important;
    }
    
    /* Semplifica pulsanti */
    .btn,
    .contact-btn,
    .nav-btn {
        box-shadow: none !important;
        animation: none !important;
    }
    
    .btn:hover,
    .contact-btn:hover,
    .nav-btn:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

nav ul li {
    margin: 0;
    white-space: nowrap;
}

nav ul li a {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    font-size: 1.1rem;
}

nav ul li a:hover {
    border-bottom: 2px solid #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

    /* Language toggle button */
.lang-btn {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid #ffd700;
    color: #ffd700;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    display: flex;
    gap: 10px;
    min-height: 44px; /* Touch target minimum */
    align-items: center;
}

.lang-btn:hover {
    background: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.lang-btn span {
    opacity: 0.5;
}

.lang-btn span.active {
    opacity: 1;
}

nav ul li a {
    color: #ffd700; /* gold color */
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s;
    display: block;
    min-height: 44px; /* Touch target minimo */
    line-height: 1.4;
}

nav ul li a:hover {
    border-bottom: 2px solid #ffd700;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0;
}

/* Hide hamburger on desktop */
.hamburger {
    display: none;
}

/* Hide nav menu in mobile by default */
@media (max-width: 768px) {
    #main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 1.5rem;
        box-sizing: border-box;
        z-index: 999;
        backdrop-filter: blur(10px);
        border-top: 1px solid #ffd700;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                    opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    #main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    #main-nav ul {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    #main-nav ul li {
        width: 100%;
    }
    
    #main-nav ul li a {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 56px; /* Increased touch target */
        background: rgba(255, 215, 0, 0.1);
        border: 1px solid #ffd700;
        border-radius: 8px;
        color: #ffd700;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        box-sizing: border-box;
        margin: 0;
        padding: 0 1rem;
    }
    
    #main-nav ul li a:hover {
        background: rgba(255, 215, 0, 0.2);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    }
    
    #main-nav ul li a:active {
        transform: translateY(0);
    }
}

nav ul li a {
    color: #ffd700; /* gold color */
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s;
    display: block;
    min-height: 44px; /* Touch target minimo */
    line-height: 1.4;
}

nav ul li a:hover {
    border-bottom: 2px solid #ffd700;
}

main {
    position: relative;
    z-index: 1;
    padding-top: 60px; /* to account for fixed header */
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    min-height: calc(100vh - 60px);
}

#hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9));
}

.hero-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
    perspective: 1000px;
    text-shadow: 
        2px 2px 0 #000,
        4px 4px 0 rgba(255, 215, 0, 0.3),
        0 0 30px rgba(255, 215, 0, 0.5);
    animation: textFloat 3s ease-in-out infinite;
}

@keyframes textFloat {
    0%, 100% { transform: translateZ(0); }
    50% { transform: translateZ(10px); }
}

.hero-text:hover {
    text-shadow: 
        2px 2px 0 #000,
        4px 4px 0 rgba(255, 215, 0, 0.5),
        0 0 50px rgba(255, 215, 0, 0.8);
}

.hero-subtext {
    font-size: 1.3rem;
    opacity: 0.9;
    margin: 1.5rem 0;
    color: #fff;
    cursor: pointer;
    transition: transform 0.1s ease-out, text-shadow 0.3s;
    transform-style: preserve-3d;
    perspective: 800px;
}

.hero-subtext:hover {
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    color: #ffd700;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffd700, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.btn {
    display: inline-block;
    background-color: #ffd700;
    color: #000000;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

#container {
    position: relative;
    width: 100vw;
    height: calc(100vh - 60px); /* account for header */
    margin-top: 60px; /* offset for fixed header */
}

/* Gallery styles */
.gallery {
    padding: 0;
    margin: 0;
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000000 0%, #0d0d0d 50%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.gallery::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.08) 0%, transparent 50%);
    animation: goldPulseGallery 10s ease-in-out infinite;
}

@keyframes goldPulseGallery {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.gallery h1 {
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffd700, #ffffff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    animation: shimmer 3s infinite;
    background-size: 200% auto;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

.viewer-container {
    position: relative;
    width: 90%;
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

#central-viewer {
    width: 100%;
    max-width: 600px;
    height: 400px;
    background: linear-gradient(135deg, #000000 0%, #1a1a0a 30%, #2a2500 50%, #1a1a0a 70%, #000000 100%);
    border-radius: 20px;
    border: 3px solid #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5), inset 0 0 60px rgba(255, 215, 0, 0.1);
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
    position: relative;
    transform-style: preserve-3d;
    animation: viewer3DPulse 4s ease-in-out infinite;
}

@keyframes viewer3DPulse {
    0%, 100% { transform: perspective(1000px) rotateX(0deg) rotateY(0deg); }
    25% { transform: perspective(1000px) rotateX(0.5deg) rotateY(-0.5deg); }
    50% { transform: perspective(1000px) rotateX(0deg) rotateY(0deg); }
    75% { transform: perspective(1000px) rotateX(-0.5deg) rotateY(0.5deg); }
}

/* Blurred color effects on sides */
#central-viewer::before,
#central-viewer::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30%;
    z-index: 2;
    pointer-events: none;
}

#central-viewer::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 215, 0, 0.3), transparent);
    filter: blur(30px);
    animation: goldSideLeft 3s ease-in-out infinite;
}

#central-viewer::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 215, 0, 0.3), transparent);
    filter: blur(30px);
    animation: goldSideRight 3s ease-in-out infinite;
}

@keyframes goldSideLeft {
    0%, 100% { opacity: 0.6; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(10px); }
}

@keyframes goldSideRight {
    0%, 100% { opacity: 0.6; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(-10px); }
}

/* 3D Carousel styles */
.carousel-3d {
    perspective: 1000px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    cursor: grab;
    animation: carouselFloat 6s ease-in-out infinite;
}

@keyframes carouselFloat {
    0%, 100% { transform: translateZ(0px) rotateX(0deg); }
    50% { transform: translateZ(10px) rotateX(1deg); }
}

.carousel-image {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.6), 0 0 80px rgba(255, 215, 0, 0.3), inset 0 0 40px rgba(0, 0, 0, 0.6);
    background: linear-gradient(135deg, #000000 0%, #1a1a0a 50%, #000000 100%);
    padding: 15px;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    animation: imageGlow 3s ease-in-out infinite;
}

@keyframes imageGlow {
    0%, 100% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.6), 0 0 80px rgba(255, 215, 0, 0.3), inset 0 0 40px rgba(0, 0, 0, 0.6); }
    50% { box-shadow: 0 0 60px rgba(255, 215, 0, 0.8), 0 0 100px rgba(255, 215, 0, 0.5), inset 0 0 40px rgba(0, 0, 0, 0.6); }
}

#current-image {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.6), 0 0 80px rgba(255, 215, 0, 0.3), inset 0 0 40px rgba(0, 0, 0, 0.6);
    background: linear-gradient(135deg, #000000 0%, #1a1a0a 50%, #000000 100%);
    padding: 15px;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    animation: imageGlow 3s ease-in-out infinite;
}

#current-image:hover {
    transform: scale(1.05) rotateX(2deg);
    box-shadow: 0 0 80px rgba(255, 215, 0, 0.8), 0 0 120px rgba(255, 215, 0, 0.5), inset 0 0 40px rgba(0, 0, 0, 0.5);
}

.description {
    font-size: 1.2rem;
    color: #ffd700;
    text-align: center;
    margin-bottom: 20px;
    padding: 15px 25px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(0, 0, 0, 0.3) 100%);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.description:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25) 0%, rgba(0, 0, 0, 0.5) 100%);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.caption {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 20px;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    letter-spacing: 1px;
}

.contact-btn {
    display: inline-block;
    margin: 20px auto;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #ffdd33 0%, #ffcc00 100%);
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.nav-btn {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #ffd700;
    color: #ffd700;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.nav-btn:active {
    transform: scale(0.95);
}

.counter {
    color: #ffffff;
    font-size: 1.2rem;
    min-width: 60px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Header mobile */
    .header-content {
        padding: 0 1rem;
        gap: 0.5rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    nav ul li a {
        font-size: 0.9rem;
        padding: 0.5rem 0.5rem;
    }
    
    .lang-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }
    
    .logo img {
        height: 50px;
    }
    
    /* Hero section mobile */
    #hero {
        padding: 2rem 1rem;
        min-height: 80vh;
    }
    
    .hero-text {
        font-size: 1.8rem;
    }
    
    .hero-subtext {
        font-size: 1rem;
    }
    
    /* Contact mobile */
    .contact {
        padding: 2rem 1rem;
        min-height: auto;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Form inputs -触摸友好的尺寸 */
    .form-group input,
    .form-group textarea {
        padding: 1rem;
        font-size: 16px; /* Prevent zoom on iOS */
        min-height: 44px; /* Minimum touch target */
    }
    
    .form-group textarea {
        min-height: 120px;
    }
    
    /* Button - più grande per touch */
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 44px;
        display: block;
        width: 100%;
    }
    
    /* Gallery mobile */
    .gallery h1 {
        font-size: 1.8rem;
    }
    
    #central-viewer {
        height: 300px;
    }
    
    .nav-btn {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    /* Modal mobile */
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1rem;
    }
    
    #viewerContainer {
        height: 300px;
    }
    
    .controls button {
        width: 90%;
        max-width: none;
    }
    
    /* Legal page mobile */
    .legal-page {
        padding: 1rem;
        padding-top: 80px;
    }
    
    .legal-page h1 {
        font-size: 1.5rem;
    }
    
    .legal-section {
        padding: 1rem;
    }
}

/* Contact styles */
.contact {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #000000 0%, #0d0d0d 50%, #000000 100%);
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 180px);
}

.contact::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.06) 0%, transparent 50%);
    animation: goldPulseContact 12s ease-in-out infinite;
    pointer-events: none;
}

@keyframes goldPulseContact {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.15) rotate(5deg); }
}

.contact h1 {
    margin-bottom: 2rem;
    background: linear-gradient(to right, #ffd700, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-content {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-info {
    flex: 1;
    min-width: 250px;
    text-align: left;
}

.contact-info p {
    margin: 1rem 0;
    line-height: 1.6;
}

.contact-form {
    flex: 1;
    min-width: 250px;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #ffd700;
    border-radius: 5px;
    color: white;
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Header mobile */
    .header-content {
        padding: 0 1rem;
        gap: 0.5rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    nav ul li a {
        font-size: 0.9rem;
        padding: 0.5rem 0.5rem;
    }
    
    .lang-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }
    
    .logo img {
        height: 50px;
    }
    
    /* Hero section mobile */
    #hero {
        padding: 2rem 1rem;
        min-height: 80vh;
    }
    
    .hero-text {
        font-size: 1.8rem;
    }
    
    .hero-subtext {
        font-size: 1rem;
    }
    
    /* Contact mobile */
    .contact {
        padding: 2rem 1rem;
        min-height: auto;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Form inputs -触摸友好的尺寸 */
    .form-group input,
    .form-group textarea {
        padding: 1rem;
        font-size: 16px; /* Prevent zoom on iOS */
        min-height: 44px; /* Minimum touch target */
    }
    
    .form-group textarea {
        min-height: 120px;
    }
    
    /* Button - più grande per touch */
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 44px;
        display: block;
        width: 100%;
    }
    
    /* Gallery mobile */
    .gallery h1 {
        font-size: 1.8rem;
    }
    
    #central-viewer {
        height: 300px;
    }
    
    .nav-btn {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    /* Modal mobile */
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1rem;
    }
    
    #viewerContainer {
        height: 300px;
    }
    
    .controls button {
        width: 90%;
        max-width: none;
    }
    
    /* Legal page mobile */
    .legal-page {
        padding: 1rem;
        padding-top: 80px;
    }
    
    .legal-page h1 {
        font-size: 1.5rem;
    }
    
    .legal-section {
        padding: 1rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .header-content {
        padding: 0 0.8rem;
    }

    .logo img {
        height: 45px;
    }

    .hamburger {
        width: 28px;
        height: 28px;
    }

    .hamburger span {
        width: 28px;
    }

    nav ul li a {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }

    .lang-btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.85rem;
    }
    
    .hero-text {
        font-size: 1.5rem;
        letter-spacing: 1px;
        line-height: 1.3;
    }
    
    .hero-subtext {
        font-size: 0.95rem;
        line-height: 1.4;
        max-width: 90%;
        margin: 1rem auto;
    }
    
    #hero {
        padding: 1.5rem 1rem;
        min-height: 85vh;
    }
    
    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
        margin-top: 1rem;
    }
}

/* =========================================
   GDPR & SICUREZZA - Stili per conformità
   ========================================= */

/* Security Badge */
.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 0, 0.08);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    color: #00ff88;
    margin: 0.5rem 0;
}

.security-badge svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* GDPR Section Highlight */
.gdpr-section {
    border-left: 4px solid #ffd700;
    background: rgba(255, 215, 0, 0.05);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

.gdpr-section-title {
    color: #ffd700;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

/* GDPR Checklist */
.gdpr-checklist {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.gdpr-checklist li {
    padding: 0.6rem 0;
    padding-left: 2rem;
    position: relative;
    color: #cccccc;
    line-height: 1.5;
}

.gdpr-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gdpr-section {
        padding: 1rem;
    }
}

@media (max-width: 380px) {
    .gdpr-section {
        padding: 1rem;
    }
}

/* Hide ArtGold text in footer on small screens */
@media (max-width: 992px) {
    .artgold-text {
        display: none !important;
    }
}

/* Force logo size on mobile - override all other rules */
@media (max-width: 768px) {
    .logo img {
        height: 70px !important;
        width: auto;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 70px !important;
        width: auto;
    }
}
