/* Site Redesign - Complete Overhaul */

/* Variables */
:root {
    --primary-gold: #d4af37;
    --dark-gold: #b8941f;
    --deep-purple: #2d1b3d;
    --warm-cream: #f2e6d3;
    --dark-brown: #2c1810;
    --mystical-gradient: linear-gradient(135deg, #1a0f0a 0%, #2d1b3d 50%, #0a0603 100%);
    --card-shadow: 0 15px 35px rgba(44,24,16,0.2);
    --hover-shadow: 0 25px 50px rgba(44,24,16,0.3);
}

/* Header Redesign */
.header {
    background: rgba(26,15,10,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(212,175,55,0.3);
    box-shadow: 0 8px 32px rgba(10,6,3,0.4);
}

.nav-container {
    max-width: 1400px;
    padding: 0 2rem;
}

.logo {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.nav-menu a {
    position: relative;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: rgba(212,175,55,0.1);
    transform: translateY(-2px);
}

/* Chi Sono Section Redesign */
.chi-sono-modern {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(248,245,240,0.08) 100%);
    border-radius: 25px;
    padding: 4rem;
    border: 2px solid rgba(212,175,55,0.2);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.chi-sono-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, transparent 70%);
    animation: mystical-glow 8s ease-in-out infinite;
}

@keyframes mystical-glow {
    0%, 100% { opacity: 0.3; transform: rotate(0deg); }
    50% { opacity: 0.6; transform: rotate(180deg); }
}

.intro-badge {
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: var(--dark-brown);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(212,175,55,0.3);
    position: relative;
    z-index: 2;
}

.chi-sono-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.text-highlight {
    background: linear-gradient(145deg, rgba(212,175,55,0.1) 0%, rgba(45,27,61,0.05) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 5px solid var(--primary-gold);
    box-shadow: 0 10px 30px rgba(212,175,55,0.1);
    position: relative;
}

.text-highlight::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-gold);
    opacity: 0.3;
    font-family: serif;
}

.esperienza-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.exp-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(248,245,240,0.05) 100%);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(212,175,55,0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.exp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.1), transparent);
    transition: left 0.6s ease;
}

.exp-card:hover::before {
    left: 100%;
}

.exp-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-gold);
}

.exp-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(212,175,55,0.5);
}

.mystical-frame {
    background: linear-gradient(145deg, rgba(212,175,55,0.1) 0%, rgba(45,27,61,0.05) 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid rgba(212,175,55,0.3);
    position: relative;
    overflow: hidden;
}

.mystical-frame::after {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 15px;
    pointer-events: none;
}

.mission-card {
    background: linear-gradient(135deg, rgba(45,27,61,0.1) 0%, rgba(212,175,55,0.05) 100%);
    padding: 2.5rem;
    border-radius: 18px;
    border: 1px solid rgba(212,175,55,0.2);
    margin-top: 2rem;
    position: relative;
}

.mission-card::before {
    content: '✦';
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 2rem;
    color: var(--primary-gold);
    text-shadow: 0 0 15px rgba(212,175,55,0.6);
}

/* Tarocchi Grid Enhanced */
.tarocchi-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin: 4rem 0;
    padding: 3rem;
    background: linear-gradient(145deg, rgba(45,27,61,0.05) 0%, rgba(212,175,55,0.03) 100%);
    border-radius: 25px;
    border: 2px solid rgba(212,175,55,0.15);
    position: relative;
}

.tarocchi-grid-enhanced::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(212,175,55,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(45,27,61,0.1) 0%, transparent 50%);
    border-radius: 25px;
    pointer-events: none;
}

.tarocco-card-preview {
    background: linear-gradient(145deg, rgba(44,24,16,0.8) 0%, rgba(61,35,82,0.6) 100%);
    border: 2px solid rgba(212,175,55,0.3);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    aspect-ratio: 2/3;
}

.tarocco-card-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(212,175,55,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.tarocco-card-preview:hover::before {
    opacity: 1;
    animation: card-shimmer 1.5s ease-in-out;
}

@keyframes card-shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.tarocco-card-preview:hover {
    transform: translateY(-15px) scale(1.05) rotateY(5deg);
    border-color: var(--primary-gold);
    box-shadow: 
        var(--hover-shadow),
        0 0 30px rgba(212,175,55,0.4),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

.card-image-preview {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.card-image-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.tarocco-card-preview:hover .card-image-preview img {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.05);
}

/* Citazione Mistica Enhanced */
.citazione-mistica-home {
    background: linear-gradient(135deg, rgba(212,175,55,0.1) 0%, rgba(45,27,61,0.05) 100%);
    border: 2px solid rgba(212,175,55,0.2);
    border-radius: 25px;
    padding: 4rem 3rem;
    margin: 5rem auto;
    max-width: 800px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.citazione-mistica-home::before,
.citazione-mistica-home::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
}

.citazione-mistica-home::before {
    top: -50px;
    left: -50px;
    animation: float-left 6s ease-in-out infinite;
}

.citazione-mistica-home::after {
    bottom: -50px;
    right: -50px;
    animation: float-right 6s ease-in-out infinite reverse;
}

@keyframes float-left {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, -10px) rotate(180deg); }
}

@keyframes float-right {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-10px, 10px) rotate(-180deg); }
}

.citazione-mistica-home p {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--primary-gold);
    line-height: 1.8;
    margin: 0;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

/* Contatti Section Enhanced */
.contatti-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.contatto-card {
    background: linear-gradient(145deg, rgba(45,27,61,0.1) 0%, rgba(212,175,55,0.05) 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 2px solid rgba(212,175,55,0.25);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contatto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contatto-card:hover::before {
    opacity: 1;
}

.contatto-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-gold);
    box-shadow: var(--hover-shadow);
}

.contatto-card h3 {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-titoli);
    position: relative;
}

.contatto-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary-gold);
    border-radius: 1px;
}

/* CTA Buttons Enhanced */
.cta-button {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    color: var(--dark-brown);
    padding: 1.2rem 3rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 25px rgba(212,175,55,0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.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(-3px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(212,175,55,0.4),
        inset 0 1px 0 rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.3);
}

.cta-button.secondary {
    background: linear-gradient(135deg, rgba(45,27,61,0.8) 0%, rgba(44,24,16,0.8) 100%);
    color: var(--warm-cream);
    border: 2px solid var(--primary-gold);
}

.cta-button.secondary:hover {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    color: var(--dark-brown);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .chi-sono-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .esperienza-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tarocchi-grid-enhanced {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 2rem 1rem;
    }
    
    .contatti-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .chi-sono-modern {
        padding: 2rem;
    }
    
    .text-highlight {
        padding: 1.5rem;
    }
    
    .citazione-mistica-home {
        padding: 2rem 1.5rem;
        margin: 3rem 1rem;
    }
    
    .citazione-mistica-home p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .tarocchi-grid-enhanced {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        background: rgba(26,15,10,0.98);
        backdrop-filter: blur(20px);
        border: 2px solid rgba(212,175,55,0.4);
        border-radius: 15px;
        box-shadow: 0 15px 50px rgba(10,6,3,0.8);
    }
    
    .mobile-toggle {
        background: rgba(212,175,55,0.1);
        border: 1px solid rgba(212,175,55,0.3);
        border-radius: 8px;
        padding: 0.8rem;
    }
}

/* Accessibility */
@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(--primary-gold);
    outline-offset: 2px;
}/* cache-bust 1763111670 */
