/*
Theme Name: Astra Child SMAN 1 Bulu
Theme URI: https://wpastra.com/
Template: astra
Author: Admin SMAN 1 Bulu
Description: Tema anak (Child Theme) khusus untuk mengamankan sistem Prestasi SMAN 1 Bulu.
Version: 1.0.0
Text Domain: astra-child
*/

/* ==========================================================================

CSS UNTUK SHORTCODE TABS INTERAKTIF
========================================================================== */
.custom-tabs-wrapper { margin: 40px 0; font-family: 'Inter', sans-serif; background: #ffffff; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); border: 1px solid #f1f5f9; overflow: hidden; }
.custom-tabs-nav { display: flex; list-style: none; padding: 0; margin: 0; background: #f8fafc; border-bottom: 2px solid #e2e8f0; position: relative; }
.custom-tabs-nav li { margin: 0; flex: 1; text-align: center; }
.custom-tab-btn { display: block; width: 100%; padding: 20px 15px; background: transparent; border: none; font-size: 1.05rem; font-weight: 700; color: #64748b; cursor: pointer; transition: all 0.3s ease; position: relative; outline: none; }
.custom-tab-btn:hover { color: #2563eb; background: rgba(37, 99, 235, 0.05); }
.custom-tab-btn.active { color: #1e40af; background: #ffffff; }
.custom-tab-btn::after { content: ''; position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background: #2563eb; transition: width 0.3s ease; border-radius: 3px 3px 0 0; }
.custom-tab-btn.active::after { width: 100%; }
.custom-tabs-content-area { padding: 40px; position: relative; min-height: 200px; }
.custom-tab-panel { display: none; opacity: 0; transform: translateY(15px); transition: opacity 0.4s ease, transform 0.4s ease; }
.custom-tab-panel.active { display: block; opacity: 1; transform: translateY(0); }
@media (max-width: 768px) {
.custom-tabs-nav { flex-direction: column; }
.custom-tab-btn { padding: 15px; text-align: left; padding-left: 20px; border-bottom: 1px solid #e2e8f0; }
.custom-tab-btn::after { bottom: 0; left: 0; transform: none; width: 3px; height: 0; border-radius: 0 3px 3px 0; }
.custom-tab-btn.active::after { height: 100%; width: 3px; }
.custom-tabs-content-area { padding: 25px 20px; }
}

/* ==========================================================================
2. CSS UNTUK GRID ORGANISASI (OSIS/MPK)
========================================================================== */
.org-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; padding: 20px 0; }
.org-card { background: #ffffff; border-radius: 16px; padding: 30px; border: 1px solid #e2e8f0; box-shadow: 0 4px 15px rgba(0,0,0,0.03); text-align:center; transition: all 0.3s ease; display:block; text-decoration:none; color:inherit; }
.org-card:hover{ border-color: #bfdbfe; transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.org-icon { font-size: 3.5rem; margin-bottom: 15px; display: block; }
.org-title { font-size: 1.6rem; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
.ekskul-tag { font-size: 0.8rem; font-weight: 700; color: #64748b; background: #f1f5f9; padding: 5px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ==========================================================================
3. CSS UNTUK GRID EKSTRAKURIKULER
========================================================================== */
.ekskul-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; padding: 20px 0;}
.ekskul-card { background: #ffffff; border-radius: 12px; padding: 25px; text-align: center; border: 1px solid #f1f5f9; box-shadow: 0 4px 10px rgba(0,0,0,0.02); transition: all 0.3s ease; height: 100%; display:flex; flex-direction:column; align-items:center; justify-content:center; text-decoration:none; color:inherit; }
.ekskul-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); border-color: #bfdbfe; }
.ekskul-icon-wrap { width: 75px; height: 75px; background: #eff6ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #2563eb; margin-bottom: 15px; transition: 0.3s; }
.ekskul-card:hover .ekskul-icon-wrap { transform: scale(1.1) rotate(5deg); background: #2563eb; color: white; }
.ekskul-name { font-size: 1.25rem; font-weight: 800; color: #1e293b; margin-bottom: 10px; }

/* ==========================================================================
4. CSS UNTUK PROFIL GURU & TENDIK (KINI DIGABUNG KARENA DESAINNYA SAMA)
========================================================================== */
.educators-wrapper { max-width: 1200px; margin: 40px auto; padding: 0 20px; font-family: 'Inter', sans-serif; }

/* Animasi Fade In Banner Atas */
@keyframes headerFadeIn {
from { opacity: 0; transform: translateY(-20px); }
to { opacity: 1; transform: translateY(0); }
}

.educators-header { background: linear-gradient(135deg, #0b1f42 0%, #1e40af 100%); border-radius: 24px; padding: 50px 30px; text-align: center; color: #ffffff; margin-bottom: 50px; position: relative; overflow: hidden; box-shadow: 0 15px 30px rgba(11, 31, 66, 0.15); animation: headerFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* Ikon Latar - Guru */
.educators-header.bg-guru::before { content: '\f5fc'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; font-size: 200px; color: rgba(255, 255, 255, 0.05); top: -40px; right: -20px; transform: rotate(10deg); pointer-events: none; }

/* Ikon Latar - Tendik */
.educators-header.bg-tendik::before { content: '\f4fa'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; font-size: 200px; color: rgba(255, 255, 255, 0.05); top: -40px; right: -20px; transform: rotate(10deg); pointer-events: none; }

.educators-title { font-size: 2.2rem; font-weight: 800; color: #facc15; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; position: relative; z-index: 2; }
.educators-subtitle { font-size: 1.1rem; color: #e2e8f0; max-width: 750px; margin: 0 auto; line-height: 1.6; position: relative; z-index: 2; }

.teacher-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; }

/* Animasi Kartu yang lebih Smooth */
.teacher-card { background-color: #ffffff; border-radius: 20px; border: 1px solid #f1f5f9; box-shadow: 0 10px 20px rgba(0,0,0,0.04); overflow: hidden; position: relative; display: flex; flex-direction: column; opacity: 0; transform: translateY(30px); transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.teacher-card.is-visible { opacity: 1; transform: translateY(0); }
.teacher-card.is-visible:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(11, 31, 66, 0.1); border-color: #bfdbfe; transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, border-color 0.3s ease; }

.teacher-badge { position: absolute; top: 15px; right: 15px; background-color: #facc15; color: #0b1f42; padding: 5px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; z-index: 10; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.teacher-photo-wrapper { width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background-color: #f8fafc; position: relative; border-bottom: 4px solid #1e40af; }
.teacher-photo { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s ease; }
.teacher-card:hover .teacher-photo { transform: scale(1.05); }
.teacher-info { padding: 25px 20px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
.teacher-name { font-size: 1.15rem; font-weight: 700; color: #0b1f42; margin-bottom: 8px; line-height: 1.3; }
.teacher-subject { font-size: 0.9rem; color: #3b82f6; font-weight: 600; }

@media (max-width: 600px) {
.teacher-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; }
.teacher-info { padding: 15px 10px; }
.teacher-name { font-size: 0.95rem; }
.teacher-subject { font-size: 0.8rem; }
.teacher-badge { font-size: 0.6rem; padding: 4px 8px; top: 10px; right: 10px; }
}