/* ============================================================
   ÖĞRETMEN YAŞAM AĞACI – ANASAYFA CSS v26.7 FINAL
   Premium • Modern • Ultra Responsive • PHP 7.2 Safe
============================================================ */

/* ------------------------------------------------------------
   RESET
------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.oy-body {
    background: #f6f9fc;
    font-family: 'Inter', system-ui, sans-serif;
    color: #1b1e24;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ------------------------------------------------------------
   HERO
------------------------------------------------------------- */
.oy-hero {
    padding: 80px 20px 60px;
    background: linear-gradient(135deg, #dff2ff, #ffffff);
}

.oy-hero-inner {
    max-width: 1150px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.oy-hero-text {
    flex: 1;
    min-width: 320px;
}

.oy-hero-text h1 {
    font-size: 44px;
    font-weight: 900;
    background: linear-gradient(90deg, #0077cc, #005fa3);
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}

.oy-hero-text p {
    font-size: 18px;
    color: #333;
    margin-bottom: 24px;
}

.oy-hero-actions {
    display: flex;
    gap: 16px;
}

/* ------------------------------------------------------------
   BUTTONS
------------------------------------------------------------- */
.oy-btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.2s;
    display: inline-block;
}

.oy-btn-primary {
    background: #0077cc;
    color: #fff;
}

.oy-btn-primary:hover {
    background: #005fa3;
}

.oy-btn-ghost {
    border: 2px solid #0077cc;
    color: #005fa3;
}

.oy-btn-ghost:hover {
    background: #e9f3ff;
}

/* ------------------------------------------------------------
   HERO STATS
------------------------------------------------------------- */
.oy-hero-stats {
    flex: 1;
    min-width: 280px;
}

.oy-stat-card {
    background: #fff;
    padding: 18px 20px;
    margin-bottom: 12px;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.oy-stat-label {
    display: block;
    font-size: 14px;
    color: #777;
}

.oy-stat-value {
    font-size: 32px;
    font-weight: 800;
    color: #005fa3;
}

.oy-stat-note {
    margin-top: 12px;
    color: #666;
    font-size: 15px;
}

/* ------------------------------------------------------------
   SECTION
------------------------------------------------------------- */
.oy-section {
    padding: 60px 20px;
    max-width: 1150px;
    margin: auto;
}

.oy-section-head h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 8px;
}

.oy-section-head p {
    color: #666;
    margin-bottom: 26px;
}

.oy-section-highlight {
    background: linear-gradient(180deg, #f2f8ff, #ffffff);
    border-top: 2px solid #e1edfb;
    border-bottom: 2px solid #e1edfb;
}

/* ------------------------------------------------------------
   POPÜLER & BONUS STRIP
------------------------------------------------------------- */
.oy-teacher-strip {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
}

.oy-teacher-strip::-webkit-scrollbar {
    height: 6px;
}

.oy-teacher-strip::-webkit-scrollbar-thumb {
    background: #c8dffd;
    border-radius: 3px;
}

.oy-teacher-strip.thin {
    gap: 14px;
    opacity: 0.95;
}

/* ------------------------------------------------------------
   TEACHER CARD
------------------------------------------------------------- */
.oy-teacher-card {
    background: #fff;
    width: 230px;
    padding: 14px;
    border-radius: 16px;
    flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: 0.2s;
}

.oy-teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.oy-teacher-photo-wrap {
    position: relative;
}

.oy-teacher-photo {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 14px;
}

.oy-avatar-fallback {
    width: 100%;
    height: 210px;
    border-radius: 14px;
    background: #dfe8f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.oy-level-pill {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #0077cc;
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.oy-teacher-body {
    padding-top: 12px;
}

.oy-teacher-name {
    font-size: 18px;
    font-weight: 700;
}

.oy-teacher-meta {
    font-size: 14px;
    color: #666;
    margin: 6px 0 10px;
}

.oy-xp-mini {
    background: #eef7ff;
    padding: 8px 10px;
    border-radius: 8px;
    display: inline-flex;
    gap: 6px;
    font-size: 14px;
}

.oy-xp-mini-label {
    color: #0077cc;
    font-weight: 700;
}

/* ------------------------------------------------------------
   GRID
------------------------------------------------------------- */
.oy-teacher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 24px;
}

/* ------------------------------------------------------------
   STEPS
------------------------------------------------------------- */
.oy-section-muted {
    background: #f0f4f7;
}

.oy-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px,1fr));
    gap: 26px;
}

.oy-step {
    background: #fff;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    text-align: center;
}

.oy-step-icon {
    font-size: 42px;
    margin-bottom: 12px;
}

/* ------------------------------------------------------------
   TIPS
------------------------------------------------------------- */
.oy-tips-list {
    list-style: none;
    background: #fff;
    padding: 22px 24px;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.oy-tips-list li {
    padding: 12px 6px;
    font-size: 15px;
    border-bottom: 1px solid #ececec;
}

.oy-tips-list li:last-child {
    border-bottom: none;
}

/* ------------------------------------------------------------
   FOOTER
------------------------------------------------------------- */
.oy-footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background: #ffffff;
    font-size: 14px;
    color: #666;
}

/* ------------------------------------------------------------
   FILTER BAR
------------------------------------------------------------- */
.oy-filter-bar {
    padding: 20px;
    background: #eef5ff;
    border-bottom: 2px solid #d8e7ff;
}

.oy-filter-inner {
    max-width: 1150px;
    margin: auto;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.oy-filter-input,
.oy-filter-select {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ccd;
    font-size: 14px;
    min-width: 200px;
}

.oy-filter-input {
    flex: 1;
}

/* ------------------------------------------------------------
   RESPONSIVE
------------------------------------------------------------- */

/* ------------------ MOBİL ------------------ */
@media (max-width: 600px) {

    .oy-hero {
        padding: 50px 20px 40px;
        text-align: center;
    }

    .oy-hero-inner {
        flex-direction: column;
        gap: 20px;
    }

    .oy-hero-text h1 {
        font-size: 30px;
        margin-bottom: 12px;
    }

    .oy-hero-text p {
        font-size: 15px;
        padding: 0 8px;
    }

    .oy-hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .oy-hero-stats {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 14px;
    }

    .oy-stat-card {
        flex: 1;
        padding: 14px;
    }

    .oy-stat-value {
        font-size: 22px;
    }

    .oy-teacher-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 18px;
    }

    .oy-teacher-photo {
        height: 170px;
    }

    .oy-steps {
        grid-template-columns: 1fr;
    }

    .oy-filter-inner {
        flex-direction: column;
        gap: 10px;
    }

    .oy-filter-input,
    .oy-filter-select {
        width: 100%;
    }

    .oy-tips-list {
        padding: 16px;
    }
}

/* ------------------ TABLET ------------------ */
@media (min-width: 600px) and (max-width: 900px) {

    .oy-hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .oy-hero-text h1 {
        font-size: 36px;
    }

    .oy-teacher-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 22px;
    }

    .oy-teacher-photo {
        height: 190px;
    }

    .oy-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ------------------ LARGE DESKTOP ------------------ */
@media (min-width: 1400px) {

    .oy-hero-inner {
        max-width: 1300px;
    }

    .oy-section {
        max-width: 1300px;
    }

    .oy-teacher-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .oy-teacher-photo {
        height: 240px;
    }
}
