/*
Theme Name: Classic for Kids
Theme URI: https://kids.classicunlimited.ro
Author: Tripart Digital
Author URI: https://tripart.ro
Description: Custom theme for Classic for Kids — educational classical music concerts for children. Built from the CFK mockup with MEC integration.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: classic-for-kids
*/

/* ═══════════ UX/UI FIXES — March 2026 ═══════════ */

/* --- P1: Hero — Stronger text contrast --- */
.hero-overlay {
    background:
        linear-gradient(180deg,
            rgba(26, 26, 62, 0.45) 0%,
            rgba(26, 26, 62, 0.25) 30%,
            rgba(26, 26, 62, 0.75) 100%) !important;
}
.hero-desc {
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero h1 {
    text-shadow: 0 3px 24px rgba(0,0,0,0.45);
}
.hero-badge {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
}

/* --- P1: Hero — Fix CTA overlap with scroll indicator --- */
.hero-actions {
    margin-bottom: 80px;
}
.hero-scroll {
    bottom: 20px;
}

/* --- P1: Stats section — Better text contrast --- */
.impact {
    background: linear-gradient(135deg, #c2185b, #e65100, #00796b) !important;
}
.impact-label {
    color: white !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.impact-number {
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* --- P2: Features → Stats spacing --- */
.what-we-do {
    padding-bottom: 5rem;
}

/* --- P2: Partner logo normalization --- */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px 48px;
    margin: 40px 0;
}
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    filter: none;
}
.partner-logo img {
    height: 70px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(0.2);
}
.partner-logo img:hover {
    transform: scale(1.08);
    filter: grayscale(0);
}
.partner-logo.placeholder-logo {
    font-size: 14px;
    color: #666;
    padding: 12px 20px;
    background: rgba(0,0,0,.04);
    border-radius: 8px;
}

/* --- P2: Footer — Monochrome social icons --- */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.65);
    transition: all .3s cubic-bezier(.4,0,.2,1);
    text-decoration: none;
}
.social-icon:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,.2);
    color: #fff;
}
.social-icon svg {
    width: 20px;
    height: 20px;
}
/* Remove brand-colored hover — keep monochrome */
.social-facebook:hover,
.social-instagram:hover,
.social-youtube:hover,
.social-spotify:hover {
    background: rgba(255,255,255,.2);
}

/* --- P2: Footer — Logo transparent treatment --- */
.footer-logo-img {
    border-radius: 8px;
    filter: brightness(1.1);
    mix-blend-mode: lighten;
}

/* --- P3: Footer — Copyright contrast --- */
.footer-bottom {
    color: rgba(255,255,255,.55);
}
.footer-bottom a {
    color: rgba(255,255,255,.7);
}
.footer-bottom a:hover {
    color: var(--cfk-yellow);
}
.footer-legal a {
    color: rgba(255,255,255,.5);
}

/* --- P3: Video section — Muted YouTube button --- */
.btn-youtube {
    background: #333 !important;
    color: white;
    font-size: 0.9rem;
}
.btn-youtube:hover {
    background: #555 !important;
}
.btn-youtube::before {
    content: "▶";
    margin-right: 4px;
    color: #ff0000;
}

/* --- P3: Enroll form — Better styled submit + inputs --- */
.enroll .wpcf7-form input[type="text"],
.enroll .wpcf7-form input[type="email"],
.enroll .wpcf7-form input[type="tel"],
.enroll .wpcf7-form select,
.enroll .wpcf7-form textarea {
    border: 2px solid #d1d5db;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 0.95rem;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.enroll .wpcf7-form input:focus,
.enroll .wpcf7-form select:focus,
.enroll .wpcf7-form textarea:focus {
    border-color: var(--cfk-teal);
    box-shadow: 0 0 0 3px rgba(0,169,157,0.12);
    outline: none;
    background: white;
}
.enroll .wpcf7-form input[type="submit"],
.enroll-form .btn-primary,
.enroll-form button[type="submit"] {
    background: linear-gradient(135deg, var(--cfk-green), #00a63d) !important;
    color: white !important;
    padding: 16px 40px;
    border-radius: 100px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,150,57,0.25);
    transition: all 0.3s ease;
    width: auto;
    margin-top: 8px;
}
.enroll .wpcf7-form input[type="submit"]:hover,
.enroll-form .btn-primary:hover,
.enroll-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,150,57,0.35);
}

/* --- P2: MEC event title font override --- */
.mec-event-title,
.mec-wrap .mec-event-title,
.mec-single-title {
    font-family: var(--font-display), 'Fredoka One', cursive !important;
    text-transform: none !important;
    letter-spacing: 0.02em !important;
}

/* ═══════════ INNER PAGES — Styled Template ═══════════ */

/* Page hero banner for inner pages */
.page-hero {
    background: linear-gradient(135deg, var(--navy), #2a2a5e);
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "♪ ♫ ♪ ★ ♪";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    opacity: 0.04;
    white-space: nowrap;
    pointer-events: none;
    color: white;
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: 0.02em;
}
.page-hero .section-badge {
    margin-bottom: 12px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
}

/* Page content area */
.page-body {
    padding: 60px 0 80px;
    background: var(--bg-cream);
}
.page-body .container {
    max-width: 780px;
}
.page-body .entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}
.page-body .entry-content h2 {
    margin-top: 48px;
    padding-bottom: 12px;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg,
        var(--cfk-pink),
        var(--cfk-orange),
        var(--cfk-yellow),
        var(--cfk-green),
        var(--cfk-teal),
        var(--cfk-blue)
    ) 1;
}
.page-body .entry-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--navy);
    margin-top: 32px;
    margin-bottom: 8px;
}
.page-body .entry-content p {
    margin-bottom: 16px;
    color: var(--text-body);
}
.page-body .entry-content a {
    color: var(--cfk-blue);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(0,136,206,0.3);
    text-underline-offset: 3px;
    transition: all 0.2s;
}
.page-body .entry-content a:hover {
    color: var(--cfk-teal);
    text-decoration-color: var(--cfk-teal);
}
.page-body .entry-content ul,
.page-body .entry-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}
.page-body .entry-content li {
    margin-bottom: 8px;
}

/* Partners shortcode block inside page content */
.page-body .cfk-partners-block .partners-grid {
    justify-content: flex-start;
}

/* Wavy divider between hero and content */
.page-hero-wave {
    position: relative;
    margin-top: -2px;
}
.page-hero-wave svg {
    display: block;
    width: 100%;
    height: 40px;
}

/* ═══════════ SINGLE EVENT — Better CTA ═══════════ */
.event-cta-block {
    margin-top: 16px;
}
.event-cta-block .btn {
    font-size: 0.95rem;
}

/* Remove redundant "Rezervă-ți locul" heading when MEC has its own */
.event-booking-section > h3:first-child {
    display: none;
}

/* ═══════════ RESPONSIVE INNER PAGES ═══════════ */
@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 40px;
    }
    .page-hero h1 {
        font-size: 1.8rem;
    }
    .page-body .container {
        max-width: 100%;
    }
    .hero-actions {
        margin-bottom: 60px;
    }
}


/* Fix oversized buttons in entry-content */
.page-body .entry-content .btn,
.page-body .entry-content a.btn,
.entry-content a.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    border-radius: 100px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    background: linear-gradient(135deg, var(--cfk-green), #00a63d);
    color: white !important;
    box-shadow: 0 3px 16px rgba(0,150,57,0.2);
    transition: all 0.3s ease;
    width: auto;
    max-width: fit-content;
}
.page-body .entry-content .btn:hover,
.page-body .entry-content a.btn:hover,
.entry-content a.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,150,57,0.3);
    color: white !important;
    text-decoration: none;
}
