/* Variabili e Reset */
:root {
    --primary-mauve: #5D3F6A;
    --dark-mauve: #3D2946;
    --cream: #FDFBF7;
    --gold-accent: #C5A059;
    --text-dark: #2D2D2D;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: var(--cream);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.7;
    margin: 0;
}

h1, h2, h3, .text-serif {
    font-family: var(--font-heading);
    color: var(--primary-mauve);
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    background: linear-gradient(rgba(253, 251, 247, 0.8), rgba(253, 251, 247, 0.8)), 
                url('https://lyra.tarocchi.con-nexio.com/assets/img/cartesutavolo.jpeg') center/cover;
    padding: 60px 0;
}

.hero-section h1 {
    font-weight: 700;
}

/* Pulsanti */
.btn-primary {
    background-color: var(--primary-mauve);
    border-color: var(--primary-mauve);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark-mauve);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(93, 63, 106, 0.3);
}

/* Immagini */
.img-frame {
    position: relative;
    padding: 10px;
    border: 1px solid var(--gold-accent);
}
.slot-btn {
    color: #333 !important;
}
/* Mobile First Adjustments */
@media (max-width: 768px) {
    .display-3 { font-size: 2.5rem; }
    .hero-section { min-height: 80vh; }
}
/* Service Cards */
.service-card {
    background: var(--cream);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
}

.service-card.featured {
    border: 2px solid var(--primary-mauve) !important;
}

.badge-top {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-mauve);
    color: white;
    padding: 5px 15px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: bold;
}

.text-gold {
    color: var(--gold-accent);
    margin-right: 8px;
}

.btn-outline-primary {
    color: var(--primary-mauve);
    border-color: var(--primary-mauve);
    border-radius: 50px;
}

.btn-outline-primary:hover {
    background-color: var(--primary-mauve);
    color: white;
}

/* Steps Icon */
.step-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-mauve);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.how-it-works h5 {
    font-family: var(--font-heading);
    margin-top: 1rem;
}

/* Background Utility */
.bg-white {
    background-color: #ffffff !important;
}
/* Ethics Section */
.bg-light {
    background-color: #f8f9fa !important;
    border-radius: 8px;
}

.border-success { border-color: #28a745 !important; }
.border-danger { border-color: #dc3545 !important; }

/* Testimonials */
.testimonial-card {
    background: var(--cream);
    border-radius: 20px;
    border: 1px solid rgba(93, 63, 106, 0.1);
    position: relative;
}

.testimonial-card p {
    font-style: italic;
    color: var(--dark-mauve);
}

.reassurance-item {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-mauve);
    padding: 10px;
}

/* Footer & Social */
.footer-section {
    background-color: var(--cream);
    border-top: 1px solid rgba(93, 63, 106, 0.1);
}

.social-link {
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    transition: opacity 0.3s;
}

.social-link:hover {
    opacity: 0.7;
    color: var(--primary-mauve);
}

.social-box {
    max-width: 500px;
}

/* Animazione minima per i pulsanti */
.btn-primary {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* FAQ Style */
.faq-question {
    font-weight: 600;
    color: var(--primary-mauve);
    border-radius: 8px;
    transition: all 0.2s;
}

.faq-question.active-faq {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background-color: var(--primary-mauve) !important;
    color: white;
}

.faq-answer {
    border-color: #eee !important;
    font-size: 0.95rem;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Mobile Polish */
@media (max-width: 576px) {
    .container { padding-left: 20px; padding-right: 20px; }
    .display-3 { font-size: 2.2rem; }
    .hero-section { padding: 40px 0; }
    .btn-lg { width: 100%; } /* Pulsanti full-width su mobile per facilitare il click */
}

/* Smooth transitions */
.faq-answer {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}