/* ============================================================
   Ogretmen ve Paket profil sayfalari - modern gorunum
   Marka renkleri: #74cee4 (turkuaz) #edbf47 (sari)
                   #66ce9c (yesil)  #ec774b (turuncu)
   ============================================================ */

html { scroll-behavior: smooth; }

/* ---------- Hero ---------- */
.profil-hero {
    background: linear-gradient(135deg, rgba(116, 206, 228, 0.14) 0%, rgba(102, 206, 156, 0.10) 100%);
    padding: 28px 0 34px;
}

.profil-hero-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(20, 60, 80, 0.10);
    padding: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
}

.profil-foto {
    flex: 0 0 auto;
}

.profil-foto img {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #74cee4;
    box-shadow: 0 6px 18px rgba(116, 206, 228, 0.35);
    background: #f4fbfd;
}

.profil-foto--paket img {
    width: 210px;
    height: 170px;
    border-radius: 14px;
    border: none;
    box-shadow: 0 6px 18px rgba(20, 60, 80, 0.18);
}

.profil-bilgi { flex: 1 1 300px; min-width: 0; }

.profil-bilgi .teacher-name,
.profil-bilgi h1 {
    font-size: 30px;
    line-height: 1.2;
    margin: 0 0 10px;
    font-weight: 700;
}

.profil-bilgi h1 a { color: #17323e; text-decoration: none; }

.profil-konum {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f2f6f8;
    color: #4a6572;
    border-radius: 30px;
    padding: 5px 14px;
    font-size: 13px;
    margin-bottom: 12px;
    max-width: 100%;
}

.profil-konum i { color: #ec774b; }

.profil-dersler {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.profil-ders-rozet {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(116, 206, 228, 0.15);
    border: 1px solid rgba(116, 206, 228, 0.45);
    color: #1d6d85;
    border-radius: 30px;
    padding: 5px 14px 5px 8px;
    font-size: 13px;
    font-weight: 600;
}

.profil-ders-rozet img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
}

.profil-ozet {
    color: #5a6b74;
    font-size: 14.5px;
    line-height: 1.65;
    margin: 0 0 16px;
}

/* ---------- Fiyat (paket) ---------- */
.profil-fiyat {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.profil-fiyat .eski {
    color: #9aa7ae;
    text-decoration: line-through;
    font-size: 17px;
}

.profil-fiyat .yeni {
    color: #2e9e6f;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.profil-fiyat .indirim-rozet {
    background: #ec774b;
    color: #fff;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 700;
}

/* ---------- CTA butonlari ---------- */
.profil-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.btn-wp,
.btn-basvuru {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    padding: 11px 22px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: transform .15s ease, box-shadow .15s ease;
}

.btn-wp {
    background: #25d366;
    color: #ffffff !important;
    box-shadow: 0 4px 0 0 #1faa52;
}

.btn-basvuru {
    background: #74cee4;
    color: #ffffff !important;
    box-shadow: 0 4px 0 0 #6fc4d9;
}

.btn-wp:hover, .btn-basvuru:hover { transform: translateY(-2px); }
.btn-wp:active, .btn-basvuru:active { transform: translateY(1px); box-shadow: none; }

/* ---------- Icerik tipografisi ---------- */
.profil-icerik {
    background: #ffffff;
    border: 1px solid #eef2f4;
    border-radius: 16px;
    padding: 30px 32px;
    color: #3a4a52;
    font-size: 15px;
    line-height: 1.75;
}

.profil-icerik h2, .profil-icerik h3, .profil-icerik h4 {
    color: #17323e;
    margin: 22px 0 12px;
    line-height: 1.35;
}

.profil-icerik h2 { font-size: 22px; }
.profil-icerik h3 { font-size: 19px; }

.profil-icerik h2:first-child,
.profil-icerik h3:first-child,
.profil-icerik p:first-child { margin-top: 0; }

.profil-icerik img { max-width: 100%; height: auto; border-radius: 12px; }

.profil-icerik ul, .profil-icerik ol { padding-left: 22px; margin-bottom: 16px; }
.profil-icerik li { margin-bottom: 6px; }

/* ---------- Basvuru formu karti ---------- */
.profil-form {
    background: #ffffff;
    border: 1px solid #eef2f4;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(20, 60, 80, 0.07);
    padding: 26px 24px;
}

.profil-form.yapiskan { position: sticky; top: 18px; }

.profil-form h4 {
    font-size: 17px;
    font-weight: 700;
    color: #17323e;
    margin-bottom: 4px;
}

.profil-form .form-cizgi {
    width: 44px;
    height: 4px;
    border-radius: 3px;
    background: #74cee4;
    margin-bottom: 18px;
}

.profil-form input[type="text"],
.profil-form textarea {
    width: 100%;
    border: 1.5px solid #e2e9ec;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14px;
    color: #2f3e46;
    background: #fbfdfe;
    box-shadow: none; /* site.css'in agir golgesini kaldir */
    transition: border-color .15s ease, box-shadow .15s ease;
}

.profil-form input[type="text"]:focus,
.profil-form textarea:focus {
    outline: none;
    border-color: #74cee4;
    box-shadow: 0 0 0 3px rgba(116, 206, 228, 0.20);
    background: #ffffff;
}

.profil-form .input-content { margin-bottom: 14px !important; }

.profil-form .captcha {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* site.css guvenlik kodu resmini absolute konumlandirir ve inputun
   ustune bindirir; burada resmi normal akisa alip yan yana diziyoruz. */
.profil-form .captcha img {
    position: static;
    flex: 0 0 auto;
    border-radius: 8px;
}

.profil-form .captcha input[type="text"] {
    flex: 1 1 auto;
    padding-left: 14px;
}

.profil-form button[type="submit"] {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 13px;
    font-size: 15px;
    font-weight: 700;
}

/* ---------- Mobil ---------- */
@media (max-width: 767px) {
    .profil-hero-card { padding: 20px; gap: 18px; justify-content: center; text-align: center; }
    .profil-bilgi .teacher-name, .profil-bilgi h1 { font-size: 24px; }
    .profil-dersler, .profil-cta, .profil-fiyat { justify-content: center; }
    .profil-icerik { padding: 22px 18px; }
    .profil-form.yapiskan { position: static; }
}

/* ============================================================
   Liste kartlari (ogretmen listeleri, paketler, anasayfa)
   ============================================================ */

.ogretmen-kart,
.paket-kart {
    background: #ffffff;
    border: 1px solid #eef2f4;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(20, 60, 80, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.ogretmen-kart:hover,
.paket-kart:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(20, 60, 80, 0.13);
}

/* --- Ogretmen karti --- */
.ogretmen-kart .kart-govde {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.ogretmen-kart .kart-ust {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.ogretmen-kart .kart-foto img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #74cee4;
    background: #f4fbfd;
    display: block;
}

.ogretmen-kart .kart-isim {
    font-size: 18px;
    line-height: 1.25;
    margin: 0 0 4px;
    font-weight: 700;
}

.ogretmen-kart .kart-isim a { color: #17323e; text-decoration: none; }
.ogretmen-kart .kart-isim a:hover { color: #1d6d85; }

.kart-konum {
    color: #6b7d87;
    font-size: 12.5px;
    line-height: 1.4;
}

.kart-konum i { color: #ec774b; margin-right: 4px; }

.kart-rozetler {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.kart-rozet {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(116, 206, 228, 0.13);
    border: 1px solid rgba(116, 206, 228, 0.40);
    color: #1d6d85;
    border-radius: 20px;
    padding: 3px 11px 3px 6px;
    font-size: 12px;
    font-weight: 600;
}

.kart-rozet img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
}

.kart-ozet {
    color: #5a6b74;
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kart-btn {
    margin-top: auto;
    display: block;
    text-align: center;
    border: 1.5px solid #74cee4;
    color: #1d6d85 !important;
    background: #ffffff;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .15s ease, color .15s ease;
}

.kart-btn:hover { background: #74cee4; color: #ffffff !important; }

/* --- Paket karti --- */
.paket-kart .kart-resim {
    display: block;
    height: 170px;
    overflow: hidden;
    background: #f4fbfd;
}

.paket-kart .kart-resim img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}

.paket-kart:hover .kart-resim img { transform: scale(1.04); }

.paket-kart .kart-govde {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.paket-kart .kart-isim {
    font-size: 17px;
    line-height: 1.3;
    margin: 0 0 8px;
    font-weight: 700;
}

.paket-kart .kart-isim a { color: #17323e; text-decoration: none; }
.paket-kart .kart-isim a:hover { color: #1d6d85; }

.kart-fiyat {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.kart-fiyat .eski {
    color: #9aa7ae;
    text-decoration: line-through;
    font-size: 14px;
}

.kart-fiyat .yeni {
    color: #2e9e6f;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.kart-fiyat .indirim-rozet {
    background: #ec774b;
    color: #fff;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 700;
}
