/* ==========================================
   CENTRO STUDI PRANICI - OPEN DAY STYLESHEET
   ========================================== */

:root {
    --data-evento: "24 Settembre 2026 • ore 21.00";
    --data-evento-iso: "2026-09-24T21:00";
    --primary: #8B263E;
    --primary-dark: #641B2D;
    --accent: #C5A028; /* Oro più ricco e luminoso */
    --accent-light: rgba(197, 160, 40, 0.12);
    --bg-light: #FFFFFF; /* Bianco puro */
    --bg-alt: #FAFAFA; /* Bianco sporco molto leggero per stacchi delicati */
    --text-dark: #2C2C2C;
    --text-muted: #555555;
    --white: #FFFFFF;
    --card-bg: #FFFFFF;
    --shadow: 0 10px 30px rgba(197, 160, 40, 0.08); /* Ombra calda dorata/morbida */
}

.data-evento::after {
    content: var(--data-evento);
    font-weight: 700;
    color: var(--accent);
    font-size: 1.25rem;
}

.size-badge{
font-size: 1.25rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, rgba(80, 21, 35, 0.90), rgba(139, 38, 62, 0.85)), url('./img/sfondo_energia_corso_prana_etere_astrale.webp');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 3.5rem 1.5rem 4.5rem;
    position: relative;
    overflow: hidden;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--bg-light);
    clip-path: ellipse(50% 100% at 50% 100%);
}

.logo-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.logo-container img {
    height: 130px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 70px;
    box-shadow: 0 4px 20px rgb(255 255 255 / 25%);
}

.badge {
    display: inline-block;
    background-color: var(--accent-light);
    color: #E2BC45;
    border: 1px solid var(--accent);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
}

.subtitle {
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    font-weight: 800;
    color: #E2BC45;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto -0.5rem;
}

.subsubtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 800;
    color: #f5f4f2;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Countdown Timer Styles */
.countdown-wrapper {
    margin: 2rem auto;
    max-width: 600px;
}

.countdown-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #E2BC45;
    margin-bottom: 1rem;
    font-weight: 600;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.countdown-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 1rem;
    border-radius: 14px;
    min-width: 80px;
    backdrop-filter: blur(5px);
}

.countdown-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
    color: #F3E5AB;
}

.event-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    font-size: 1rem;
    font-weight: 500;
}

.event-meta div {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Video Section Styles */
.video-section {
    max-width: 800px;
    margin: 0 auto 4rem;
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto 0;
    padding-bottom: 56.25%; /* Rapporto 16:9 */
    height: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--accent);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

/* Overlay mostrato a fine video, al posto dei correlati di Vimeo */
.end-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./img/sfondo_pranico.webp');
    background-size: cover;
    background-position: center;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.end-overlay.visible {
    display: flex;
}

.end-overlay-btn {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid var(--accent);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.end-overlay-btn:hover {
    transform: scale(1.05);
    background: #ffffff;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 4rem;
}

.card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(197, 160, 40, 0.2);
}

h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

/* Evidenziazione Gialla */
.highlight-yellow {
    font-weight: 700;
    color: #cebe54;
    padding: 0 4px;
    border-radius: 4px;
}

/* Evidenziazione Celeste */
.highlight-blue {
    font-weight: 700;
    color: #ccecff;
    padding: 0 4px;
    border-radius: 4px;
}

/* Evidenziazione Viola */
.highlight-purple {
    font-weight: 700;
    color: #e6ccff;
    padding: 0 4px;
    border-radius: 4px;
}

/* Evidenziazione Nera (testo bianco) */
.highlight-black {
    font-weight: 700;
    color: #000;
    padding: 0 4px;
    border-radius: 4px;
}

/* Evidenziazione in Corsivo */
.highlight-italic {
    font-weight: 700;
    font-style: italic;
    color: #000;
    padding: 0 4px;
    border-radius: 4px;
}

.underline {
    text-decoration: underline;
}

.center-in-card{
    text-align: center; 
    margin: 1.5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--accent);
    border-left: 1px solid rgba(197, 160, 40, 0.15);
    border-right: 1px solid rgba(197, 160, 40, 0.15);
    border-bottom: 1px solid rgba(197, 160, 40, 0.15);
    transition: transform 0.3s ease;
   position: relative;
    background-size: cover;          /* Copre tutto il box senza ripetersi */
    background-position: center;     /* Centra l'immagine */
    background-repeat: no-repeat;    /* Evita che l'immagine si duplichi/ripeta */
    overflow: hidden;                /* Fa in modo che l'immagine rispetti gli angoli arrotondati della card */
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    line-height: 1;
}


.card-bg-1 {
    background-image: linear-gradient(rgba(255, 255, 255, 0.91), rgba(255, 255, 255, 0.94)), url('./img/conoscenza.webp');
}
.card-bg-2 {
    background-image: linear-gradient(rgba(255, 255, 255, 0.91), rgba(255, 255, 255, 0.94)), url('./img/esperimenti.webp');
}
.card-bg-3 {
    background-image: linear-gradient(rgba(255, 255, 255, 0.91), rgba(255, 255, 255, 0.94)), url('./img/comprensione.webp');
}

/* Speakers Section Styles */
.speakers-section {
    margin: 5rem 0;
}

.speaker-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--accent);
    border-top: 1px solid rgba(197, 160, 40, 0.15);
    border-right: 1px solid rgba(197, 160, 40, 0.15);
    border-bottom: 1px solid rgba(197, 160, 40, 0.15);
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (max-width: 768px) {
    .speaker-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .speaker-images {
        justify-content: center;
    }
}

.speaker-images {
    display: flex;
    justify-content: center;
}

.speaker-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--accent);
}

.percorso-photo {
    width: 160px;
    height: 160px;
    border-radius: 10%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--accent);
}


.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    margin-top: 4rem;
    border: 2px solid var(--accent);
}

.cta-icon {
    font-size: 1.8rem;
    padding: 0;
    box-shadow: none;
}

/*
.cta-stats {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    justify-content: center;
    margin-bottom: 1.5rem;
}


.cta-stats p {
    font-size: 1.0rem;
    font-weight: 600;
    color: var(--accent);
    margin: 0;
}
*/

.cta-stats {
    display: flex;
    align-items: center; /* Allinea verticalmente icona e testo al centro */
    justify-content: center; /* Se vuoi centrare l'intero blocco nel box */
    gap: 10px; /* Spazio tra l'icona e il testo */
}

.cta-stats p {
    margin: 0; /* Rimuove i margini predefiniti del paragrafo per evitare disallineamenti */
}




.cta-box h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(197, 160, 40, 0.4);
    transition: all 0.3s ease;
    border: 1px solid #E2BC45;
    font-size: 1.2rem;
}

.btn:hover {
    transform: scale(1.05);
    background-color: #D4AF37;
}

table.info-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 3rem 0;
    border: 1px solid rgba(197, 160, 40, 0.2);
}

table.info-table th, table.info-table td {
    padding: 1.25rem 1.5rem;
    text-align: left;
}

table.info-table th {
    background-color: var(--primary);
    color: var(--white);
    font-weight: 600;
    border-bottom: 2px solid var(--accent);
}

table.info-table tr:nth-child(even) {
    background-color: var(--bg-alt);
}

table.info-table td {
    color: var(--text-muted);
    border-bottom: 1px solid rgba(197, 160, 40,.1);
}

footer {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(197, 160, 40, 0.2);
    margin-top: 4rem;
    background-color: var(--bg-alt);
}
