/* MIGLIORAMENTI ARMONIA COLORI E DESIGN */

/* ===== PALETTE COLORI MIGLIORATA ===== */
:root {
    --oro-principale: #d4af37;
    --oro-scuro: #b8941f;
    --oro-chiaro: #f4e4a6;
    --viola-elegante: #4a3458;
    --viola-scuro: #2d1b3d;
    --beige-raffinato: #f2e6d3;
    --marrone-caldo: #3d2817;
    --nero-elegante: #1a0f0a;
}

/* ===== SEZIONI ALTERNATE MIGLIORATE ===== */
.section:nth-child(even) {
    background: 
        radial-gradient(ellipse at 30% 70%, rgba(212,175,55,0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(255,255,255,0.08) 0%, transparent 50%),
        linear-gradient(135deg, #f8f5f0 0%, #f0e6d2 50%, #e8dcc6 100%);
    color: var(--nero-elegante);
    position: relative;
}

.section:nth-child(odd) {
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(212,175,55,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(74,52,88,0.06) 0%, transparent 50%),
        linear-gradient(145deg, #2a1810 0%, #1f1329 100%);
    color: var(--beige-raffinato);
}

/* ===== MIGLIORAMENTI TIPOGRAFIA ===== */
.section-title {
    background: linear-gradient(135deg, var(--oro-principale) 0%, var(--oro-scuro) 50%, var(--oro-principale) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    position: relative;
}

.section:nth-child(even) .section-title {
    background: linear-gradient(135deg, var(--viola-scuro) 0%, var(--viola-elegante) 50%, var(--viola-scuro) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== MIGLIORAMENTI CARDS E ELEMENTI ===== */
.card, .exp-card, .contatto-principale, .info-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(212,175,55,0.25);
    box-shadow: 
        0 8px 32px rgba(26,15,10,0.15),
        0 2px 8px rgba(212,175,55,0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

.section:nth-child(even) .card,
.section:nth-child(even) .exp-card,
.section:nth-child(even) .contatto-principale,
.section:nth-child(even) .info-card {
    border-color: rgba(74,52,88,0.25);
    box-shadow: 
        0 8px 32px rgba(74,52,88,0.15),
        0 2px 8px rgba(74,52,88,0.1),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

/* ===== HOVER EFFECTS MIGLIORATI ===== */
.card:hover, .exp-card:hover, .contatto-principale:hover, .info-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--oro-principale);
    box-shadow: 
        0 15px 40px rgba(26,15,10,0.25),
        0 5px 15px rgba(212,175,55,0.2),
        inset 0 1px 0 rgba(255,255,255,0.15);
}

.section:nth-child(even) .card:hover,
.section:nth-child(even) .exp-card:hover,
.section:nth-child(even) .contatto-principale:hover,
.section:nth-child(even) .info-card:hover {
    border-color: var(--viola-elegante);
    box-shadow: 
        0 15px 40px rgba(74,52,88,0.25),
        0 5px 15px rgba(74,52,88,0.2),
        inset 0 1px 0 rgba(255,255,255,0.25);
}

/* ===== MIGLIORAMENTI BOTTONI ===== */
.cta-button {
    background: linear-gradient(135deg, var(--oro-principale) 0%, var(--oro-scuro) 100%);
    border: 2px solid transparent;
    box-shadow: 
        0 8px 25px rgba(212,175,55,0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 12px 35px rgba(212,175,55,0.4),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

/* ===== MIGLIORAMENTI SPECIFICI TAROCCHI ===== */
.tarocco-card-detailed {
    background: 
        linear-gradient(145deg, rgba(26,15,10,0.95) 0%, rgba(45,27,61,0.90) 100%),
        radial-gradient(ellipse at center, rgba(212,175,55,0.05) 0%, transparent 70%);
    border: 2px solid rgba(212,175,55,0.3);
    position: relative;
}

.tarocco-card-detailed::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(45deg, transparent 30%, rgba(212,175,55,0.1) 50%, transparent 70%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.tarocco-card-detailed:hover::after {
    opacity: 1;
}

/* ===== MIGLIORAMENTI SEZIONE CHI SONO ===== */
.text-highlight {
    background: 
        linear-gradient(145deg, rgba(212,175,55,0.08) 0%, rgba(45,27,61,0.04) 100%),
        radial-gradient(ellipse at center, rgba(212,175,55,0.06) 0%, transparent 60%);
    border: 2px solid rgba(212,175,55,0.2);
    position: relative;
}

.text-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--oro-principale), transparent);
    opacity: 0.6;
}

.mystical-frame {
    background: 
        linear-gradient(145deg, rgba(26,15,10,0.6) 0%, rgba(45,27,61,0.4) 100%),
        radial-gradient(circle at center, rgba(212,175,55,0.1) 0%, transparent 60%);
    border: 3px solid rgba(212,175,55,0.4);
    position: relative;
}

.mystical-frame::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(45deg, transparent, rgba(212,175,55,0.2), transparent);
    border-radius: inherit;
    opacity: 0;
    animation: mystical-glow 4s ease-in-out infinite;
}

@keyframes mystical-glow {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.3; }
}

/* ===== MIGLIORAMENTI CONTATTI ===== */
.contatto-whatsapp .contatto-icon svg {
    filter: drop-shadow(0 2px 8px rgba(37, 211, 102, 0.3));
}

.contatto-telefono .contatto-icon svg {
    filter: drop-shadow(0 2px 8px rgba(212,175,55, 0.3));
}

.cta-button.cta-primary {
    background: linear-gradient(135deg, #25d366 0%, #20b358 100%);
    box-shadow: 
        0 8px 25px rgba(37, 211, 102, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.cta-button.cta-primary:hover {
    box-shadow: 
        0 12px 35px rgba(37, 211, 102, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

/* ===== ANIMAZIONI FLUIDE ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section > * {
    animation: fadeInUp 0.8s ease-out;
}

/* ===== MIGLIORAMENTI RESPONSIVE ===== */
@media (max-width: 768px) {
    .section-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }
    
    .card, .exp-card, .contatto-principale, .info-card {
        padding: 1.5rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* ===== ACCESSIBILITÀ ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== FOCUS STATES ===== */
.cta-button:focus,
.nav-menu a:focus {
    outline: 2px solid var(--oro-principale);
    outline-offset: 2px;
}

/* ===== MIGLIORAMENTI CONTRASTO ===== */
.section:nth-child(even) h3,
.section:nth-child(even) h4,
.section:nth-child(even) h5 {
    color: var(--viola-scuro);
}

.section:nth-child(odd) h3,
.section:nth-child(odd) h4,
.section:nth-child(odd) h5 {
    color: var(--oro-principale);
}

/* ===== MIGLIORAMENTI FINALI ===== */
body {
    scroll-behavior: smooth;
}

.section {
    scroll-margin-top: 100px;
}

/* Rimuovi padding laterale eccessivo */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
        padding: 0 2rem;
    }
}/* cache-bust 1763111670 */
