/* RIFINITURA FINALE - CORREZIONI SPECIFICHE */

/* ===== RIMOZIONE PADDING LATERALE ECCESSIVO ===== */
body {
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 1400px) {
    .container {
        padding: 0 2rem;
    }
}

/* ===== CORREZIONI SPECIFICHE PAGINA TAROCCHI ===== */
.tarocchi-gallery {
    padding: 0;
    margin: 3rem 0;
    width: 100%;
}

.tarocco-card-detailed {
    width: 100%;
    max-width: none;
    margin: 0 0 2rem 0;
}

/* Layout migliorato per le carte */
@media (min-width: 768px) {
    .tarocco-card-detailed {
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 2.5rem;
        align-items: start;
    }
    
    .card-image {
        width: 100%;
        height: 400px;
        margin: 0;
    }
}

@media (max-width: 767px) {
    .tarocco-card-detailed {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .card-image {
        width: 200px;
        height: 300px;
        margin: 0 auto;
    }
}

/* ===== MIGLIORAMENTI SEZIONE CHI SONO ===== */
.chi-sono-content-grid {
    align-items: center;
}

.text-highlight p {
    text-align: left;
    font-size: 1.15rem;
}

.exp-card {
    text-align: left;
    padding: 1.8rem;
}

.exp-card h5 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.exp-card p {
    font-size: 1rem;
    line-height: 1.5;
}

/* ===== MIGLIORAMENTI CONTATTI ===== */
.contatti-main-grid {
    align-items: stretch;
}

.contatto-principale {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
}

.contatto-descrizione {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.contatto-dettagli {
    margin: 1.5rem 0;
}

/* ===== BOTTONI MIGLIORATI ===== */
.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.cta-button.secondary {
    background: linear-gradient(135deg, var(--oro-antico) 0%, var(--rame-caldo) 100%);
    color: var(--nero-velluto);
    box-shadow: 0 8px 25px rgba(212,175,55, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
}

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

.cta-button.secondary:hover {
    box-shadow: 0 12px 35px rgba(212,175,55, 0.4);
}

/* ===== CORREZIONI RESPONSIVE ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .chi-sono-content-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contatti-main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .consulti-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mystical-frame {
        width: 250px;
        height: 250px;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* ===== MIGLIORAMENTI ACCESSIBILITÀ ===== */
.cta-button:focus {
    outline: 3px solid rgba(212,175,55, 0.5);
    outline-offset: 2px;
}

.cta-button.cta-primary:focus {
    outline-color: rgba(37, 211, 102, 0.5);
}

/* ===== ANIMAZIONI FLUIDE ===== */
.tarocco-card-detailed,
.exp-card,
.contatto-principale,
.info-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== CORREZIONI FINALI LAYOUT ===== */
.section:first-child {
    padding-top: 8rem;
}

.hero {
    padding-top: 6rem;
}

/* Assicura che non ci sia overflow orizzontale */
* {
    box-sizing: border-box;
}

.section {
    width: 100%;
    overflow-x: hidden;
}

/* ===== MIGLIORAMENTI TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ===== CORREZIONI COLORI SEZIONI ALTERNATE ===== */
.section:nth-child(even) {
    background: linear-gradient(135deg, #f8f5f0 0%, #f0e6d2 50%, #e8dcc6 100%);
}

.section:nth-child(odd) {
    background: linear-gradient(145deg, #2a1810 0%, #1f1329 100%);
}

/* ===== MIGLIORAMENTI FINALI CARDS ===== */
.card, .exp-card, .contatto-principale, .info-card, .tarocco-card-detailed {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.card::before, .exp-card::before, .contatto-principale::before, .info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before, .exp-card:hover::before, .contatto-principale:hover::before, .info-card:hover::before {
    opacity: 0.5;
}

/* ===== CORREZIONE PADDING GENERALE ===== */
@media (min-width: 1200px) {
    .section {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}

/* ===== CORREZIONI FINALI MOBILE ===== */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        margin: 0.5rem auto;
        display: block;
    }
}/* cache-bust 1763111670 */
