/* omnia-style.css - MASTER FILE (v4.0 Mobile Ready) */

:root {
    --omnia-gold: #D4AF37;
    --omnia-bg: #050505;
}

body {
    background-color: var(--omnia-bg);
    color: #ffffff;
    cursor: default;
    overflow-x: hidden; /* Fondamentale per evitare scroll orizzontale su mobile */
}

/* --- 1. SFONDO E PARTICELLE --- */
#particles-canvas {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none; opacity: 0.4;
}

#cursor-glow {
    position: fixed; top: 0; left: 0; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(5, 5, 5, 0) 70%);
    transform: translate(-50%, -50%); pointer-events: none; z-index: 0; mix-blend-mode: screen; will-change: top, left;
}

/* --- 2. TYPOGRAPHY & EFFECTS --- */
.text-gradient {
    background: linear-gradient(to right, #D4AF37, #F3E5AB);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.shimmer-text {
    background: linear-gradient(to right, #a1a1aa 20%, #D4AF37 40%, #D4AF37 60%, #a1a1aa 80%);
    background-size: 200% auto; color: #000;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

/* --- 3. MOBILE MENU STYLES (NUOVO) --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    z-index: 999; /* Sopra tutto tranne la navbar */
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1; pointer-events: all;
}

.mobile-link {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: white;
    margin: 1rem 0;
    opacity: 0; transform: translateY(20px);
    transition: 0.4s ease;
}

.mobile-menu-overlay.active .mobile-link {
    opacity: 1; transform: translateY(0);
}
/* Ritardi a cascata per i link */
.mobile-menu-overlay.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu-overlay.active .mobile-link:nth-child(4) { transition-delay: 0.4s; }

/* --- 4. GLASS CARD & 3D TILT --- */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transform-style: preserve-3d; will-change: transform;
    transition: transform 0.1s, border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.glass-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 12px;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
    z-index: 3; opacity: 0; transition: opacity 0.5s; pointer-events: none;
}
.glass-card:hover::before { opacity: 1; }
.glass-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 15px 40px -10px rgba(0,0,0,0.5);
}

/* --- 5. ULTRA FOOTER (Migliorato) --- */
.footer {
    background: linear-gradient(to top, #080808, #050505);
    padding-bottom: 3rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative; z-index: 20; overflow: hidden;
}

.marquee-container {
    background: var(--omnia-gold); color: #000;
    padding: 0.8rem 0; overflow: hidden; white-space: nowrap; position: relative;
    transform: rotate(-1deg) scale(1.02); margin-bottom: 4rem;
    border-bottom: 1px solid #000; margin-top: -10px;
}
.marquee-content {
    display: inline-block; animation: scroll 30s linear infinite;
    font-family: 'Outfit', sans-serif; font-weight: 800; text-transform: uppercase;
    font-size: 0.9rem; letter-spacing: 0.2em;
}
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.footer-cta-box { text-align: center; padding: 3rem 0; }
.giant-email {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 8vw, 5rem); /* Responsive text */
    color: white; text-decoration: none; border-bottom: 2px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem; transition: 0.4s;
}
.giant-email:hover { color: var(--omnia-gold); border-color: var(--omnia-gold); letter-spacing: 2px; }

.footer-cols {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 3rem;
    padding-top: 3rem; border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-heading {
    font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--omnia-gold);
    text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.15em; margin-bottom: 1.5rem; display: block;
}
.footer-link {
    display: block; color: #a1a1aa; margin-bottom: 0.8rem; font-size: 0.9rem; transition: 0.3s;
}
.footer-link:hover { color: white; transform: translateX(5px); }

.minimal-input {
    background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.2);
    width: 100%; padding: 10px 0; color: white; outline: none; transition: 0.3s;
}
.minimal-input:focus { border-color: var(--omnia-gold); }

.footer-bottom { margin-top: 4rem; display: flex; justify-content: space-between; font-size: 0.8rem; color: #444; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-cols { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .footer-heading { margin-top: 1rem; }
    .giant-email { font-size: 2rem; }
    .marquee-container { transform: rotate(-2deg) scale(1.1); }
}

/* --- 6. ANIMAZIONI --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }