/* ==========================================================================
   İNOVATİF ORMAN İLKOKULU - SAHNE GÖRSELİ, MÜHÜR & ÜST ÜSTE KARE KARTLAR
   ========================================================================== */

.home-active-play-section {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    margin-bottom: -60px;
    padding: 110px 24px;
    /* Arka plan görseli artık yönetim panelinden geliyor (PHP dosyasında satır içi olarak eklenir) */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.active-play-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 50px;
    align-items: center;
}

/* ==========================================================================
   🌿 SOL TARAF: SADE AÇIKLAMA METİNLERİ
   ========================================================================== */

.active-play-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.theme-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(17, 40, 16, 0.95);
    color: #a3e635;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 18px;
    border-radius: 50px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(17, 40, 16, 0.15);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: #a3e635;
    border-radius: 50%;
    box-shadow: 0 0 8px #a3e635;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    color: #112810;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin: 0 0 20px 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.title-highlight {
    background: linear-gradient(135deg, #112810 0%, #2d5a27 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    font-size: 16.5px;
    color: #334155;
    line-height: 1.7;
    font-weight: 600;
    margin: 0 0 30px 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.text-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(17, 40, 16, 0.12);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: #112810;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.pill-check {
    color: #22c55e;
    font-weight: 900;
}

/* ==========================================================================
   🖼️ SAĞ TARAF: SAHNE KUTUSU + MÜHÜR + KARE KARTLAR
   ========================================================================== */

.active-play-visual-col {
    position: relative;
    width: 100%;
}

.showcase-stage-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 3px solid rgba(255, 255, 255, 0.95);
    border-radius: 36px;
    padding: 24px;
    box-shadow: 0 30px 60px rgba(17, 40, 16, 0.12);
    display: flex;
    flex-direction: column;
}

/* 🏞️ 4 Kart Genişliğinde Arka Plan Sahne Resmi */
.stage-bg-image {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
}

.stage-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.showcase-stage-wrapper:hover .stage-bg-image img {
    transform: scale(1.05);
}

.stage-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(17, 40, 16, 0.1) 0%, rgba(17, 40, 16, 0.45) 100%);
}

/* 🎖️ SAĞ ÜST MÜHÜR (WAX / QUALITY SEAL STYLE) */
.premium-seal-badge {
    position: absolute;
    top: -18px;
    right: 20px;
    z-index: 15;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, #112810 0%, #1e3a1d 100%);
    border: 3px solid #a3e635;
    box-shadow: 0 15px 35px rgba(17, 40, 16, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.seal-inner-ring {
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    border: 1.5px dashed rgba(163, 230, 53, 0.5);
    animation: rotateSeal 20s linear infinite;
}

@keyframes rotateSeal {
    100% { transform: rotate(360deg); }
}

.seal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.seal-icon {
    font-size: 16px;
}

.seal-tag {
    font-size: 8px;
    font-weight: 800;
    color: #a3e635;
    letter-spacing: 0.8px;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.seal-title {
    font-size: 11px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.seal-sub {
    font-size: 7.5px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* 🔲 RESMİN ÜZERİNE BİNEN KARE KARTLAR */
.stacked-square-cards {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -80px; /* Görselin üzerine çıkmasını sağlar */
    padding: 0 10px;
}

.square-card {
    position: relative;
    width: 170px;
    height: 200px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border: 3px solid #ffffff;
    border-radius: 22px;
    padding: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-left: -28px; /* Üst üste binme efekti */
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.square-card:first-child {
    margin-left: 0;
}

/* Kartların Bireysel Açılı Duruşları */
.card-1 { transform: rotate(-6deg) translateY(10px); z-index: 1; }
.card-2 { transform: rotate(-2deg) translateY(-5px); z-index: 2; }
.card-3 { transform: rotate(3deg) translateY(8px); z-index: 3; }
.card-4 { transform: rotate(8deg) translateY(-2px); z-index: 4; }

.square-img-holder {
    width: 100%;
    height: 125px;
    background: #f8fafc;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    overflow: hidden;
}

.square-img-holder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.square-card-info {
    margin-top: 8px;
    text-align: center;
}

.square-card-info strong {
    display: block;
    font-size: 13px;
    color: #0f172a;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.square-card-info span {
    font-size: 10.5px;
    color: #64748b;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ✨ HOVER (ÜZERİNE GELİNCE DİKKAT ÇEKME) */
.square-card:hover {
    transform: scale(1.15) rotate(0deg) translateY(-15px) !important;
    z-index: 20 !important;
    border-color: #a3e635;
    box-shadow: 0 25px 50px rgba(17, 40, 16, 0.25);
    background: #ffffff;
}

.square-card:hover .square-img-holder img {
    transform: scale(1.12);
}

/* ==========================================================================
   📱 MOBİL VE TABLET UYUMLULUK (YAN YANA 2'Lİ DÜZEN)
   ========================================================================== */
@media (max-width: 992px) {
    .active-play-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .active-play-text-col {
        text-align: center;
        align-items: center;
    }

    .section-title {
        font-size: 38px;
    }

    .text-features {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .showcase-stage-wrapper {
        padding: 16px;
        border-radius: 28px;
    }

    .stage-bg-image {
        height: 200px;
    }

    .premium-seal-badge {
        width: 100px;
        height: 100px;
        top: -12px;
        right: 12px;
    }

    .seal-icon { font-size: 13px; }
    .seal-tag { font-size: 7px; }
    .seal-title { font-size: 9px; }
    .seal-sub { font-size: 6.5px; }

    /* 📱 MOBİLDE KARTLAR YAN YANA (2'Lİ GRID) DİZİLİR */
    .stacked-square-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 16px;
        padding: 0;
    }

    .square-card {
        width: 100%;
        height: auto;
        margin-left: 0 !important;
        transform: none !important;
        border-radius: 18px;
        padding: 10px;
    }

    .square-img-holder {
        height: 110px;
    }

    .square-card:hover {
        transform: translateY(-4px) !important;
    }
}

@media (max-width: 480px) {
    .home-active-play-section {
        padding: 70px 14px;
        margin-top: -30px;
        margin-bottom: -30px;
    }

    .section-title {
        font-size: 30px;
    }

    .square-img-holder {
        height: 95px;
    }
}