/* Genel Ayarlar */
:root {
    --primary-red: #E3000F; /* Galatasaray Kırmızısı */
    --secondary-orange: #FFB300; /* Hardal tonlarında Turuncu */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --bg-light: #ffffff;
    --bg-dark: #222;
    --button-hover-darken: #bf000d;
    --button-hover-lighten: #ffd766;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-red);
}

ul {
    list-style: none;
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
    white-space: nowrap; /* Metnin tek satırda kalmasını sağlar */
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--text-light);
    border: 1px solid var(--primary-red);
}

.btn-primary:hover {
    background-color: var(--button-hover-darken);
    border-color: var(--button-hover-darken);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-red);
    border: 1px solid var(--primary-red);
}

.btn-secondary:hover {
    background-color: var(--primary-red);
    color: var(--text-light);
}

.btn-login {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}

.btn-login:hover {
    background-color: var(--text-dark);
    color: var(--text-light);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
}

/* HEADER STİLLERİ */
.main-header {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .logo a {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-red);
}

.main-nav {
    display: flex;
    align-items: center;
}
.auth-buttons .btn {
    margin-left: 10px;
}

.hamburger-menu {
    display: none; /* Masaüstünde gizli */
    font-size: 1.8em;
    cursor: pointer;
    color: var(--text-dark);
}

/* HERO BÖLÜMÜ STİLLERİ */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/hero-bg.jpg') no-repeat center center/cover; /* Arka plan resmi eklenecek */
    color: var(--text-light);
    text-align: center;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 500px; /* En az yükseklik */
}

.hero-section h1 {
    font-size: 2em;
    margin-bottom: 500px;
    max-width: 300px;
    line-height: 1.2;
}

.hero-buttons {
    display: flex;
    gap: 20px; /* Butonlar arası boşluk */
}

/* Fade-in Animasyonları */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}

.fade-in.delay-1 {
    animation-delay: 0.5s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FOOTER STİLLERİ */
.main-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 40px 0;
    font-size: 0.9em;
}

.main-footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Küçük ekranlarda alt alta geçiş */
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 200px; /* Kolonların minimum genişliği */
}

.footer-col h3 {
    color: var(--secondary-orange);
    margin-bottom: 15px;
    font-size: 1.2em;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--secondary-orange);
}

.social-icons a {
    color: var(--text-light);
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--secondary-orange);
}

/* MOBİL UYUMLULUK (Responsive Tasarım) */
@media (max-width: 768px) {
    .main-nav .nav-links,
    .main-nav .auth-buttons {
        display: none; /* Mobil'de menü ve butonları gizle */
    }

    .hamburger-menu {
        display: block; /* Mobil'de hamburger menüyü göster */
    }

    .hero-section h1 {
        font-size: 2em;
    }

    .hero-buttons {
        flex-direction: column; /* Butonları alt alta sırala */
        gap: 15px;
    }

    .btn-large {
        width: 100%; /* Mobil'de butonları tam genişlik yap */
    }

    .main-footer .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-col {
        margin-bottom: 20px;
    }

    .footer-col ul {
        padding: 0;
    }
}

/* Daha küçük telefonlar için */
@media (max-width: 480px) {
    .hero-section {
        padding: 80px 15px;
    }
    .hero-section h1 {
        font-size: 1.8em;
    }
    .main-header .logo a {
        font-size: 1.5em;
    }
}
/* --- MOBİL NAVİGASYON İÇİN EK CSS --- */

/* Mobil menü aktif olduğunda görünür hale gelmesi */
@media (max-width: 768px) {
    .main-nav.active .nav-links,
    .main-nav.active .auth-buttons {
        display: flex; /* Flexbox ile yatay veya dikey düzen için */
        flex-direction: column; /* Mobil'de alt alta sırala */
        width: 100%;
        text-align: center;
        background-color: var(--bg-light); /* Menü arka planı */
        position: absolute; /* Header içinde konumlandırma */
        top: 60px; /* Header yüksekliğine göre ayarla */
        left: 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 1000; /* Diğer elementlerin üstünde olsun */
        padding: 20px 0;
    }

    .main-nav.active .nav-links li,
    .main-nav.active .auth-buttons .btn {
        margin: 10px 0; /* Liste elemanları ve butonlar arası boşluk */
    }

    .main-nav.active .nav-links li a {
        padding: 10px 0;
        display: block; /* Tıklama alanını genişlet */
    }

    .main-nav.active .auth-buttons {
        padding-bottom: 20px;
    }

    .main-nav {
        position: relative; /* Absolute konumlandırılmış menü için */
    }
}
/* --- Kimlik Doğrulama Formları (Kayıt/Giriş) Stilleri --- */
.auth-form-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    text-align: center;
}

.auth-form-section h2 {
    color: var(--primary-red);
    margin-bottom: 30px;
    font-size: 2.5em;
}

.auth-form {
    max-width: 450px;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.auth-form .btn {
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
    margin-top: 10px;
}

.form-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.95em;
    color: var(--text-dark);
}

.form-link a {
    color: var(--primary-red);
    font-weight: bold;
}

/* Alert Mesajları */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Dashboard Stilleri */
.dashboard-section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--bg-light);
    min-height: 400px; /* İçerik olana kadar en az yükseklik */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.dashboard-section h2 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 2.8em;
}

.dashboard-section p {
    font-size: 1.1em;
    margin-bottom: 25px;
    max-width: 600px;
    color: var(--text-dark);
}
/* --- Paketler Sayfası Stilleri --- */
.packages-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
    text-align: center;
}

.packages-section h2 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 2.8em;
}

.packages-section .section-description {
    font-size: 1.1em;
    margin-bottom: 50px;
    color: var(--text-dark);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.package-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 300px'den küçük olmasın, sığana kadar tekrar etsin */
    gap: 30px;
    justify-content: center; /* Kartları ortala */
}

.package-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.package-card h3 {
    color: var(--secondary-orange);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.package-card .price {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.package-card .duration {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 20px;
}

.package-card .description {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 25px;
    text-align: center;
    min-height: 40px; /* Açıklama alanı için sabit yükseklik */
}

.package-card .features {
    text-align: left;
    margin-bottom: 30px;
    width: 100%;
    max-width: 250px;
}

.package-card .features li {
    margin-bottom: 10px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.package-card .features li i {
    color: var(--primary-red);
    margin-right: 10px;
}

.package-card .btn {
    width: 80%; /* Buton genişliği */
    margin-top: auto; /* En alta hizala */
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .package-cards {
        grid-template-columns: 1fr; /* Mobil'de tek kolon */
    }
    .package-section h2 {
        font-size: 2.2em;
    }
}
/* --- Koç Ol Sayfası Stilleri --- */
.coach-application-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    text-align: center;
}

.coach-application-section h2 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 2.8em;
}

.coach-application-section .section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: var(--text-dark);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.coach-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: left;
}

.coach-form .form-group {
    margin-bottom: 20px;
}

.coach-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-dark);
}

.coach-form input[type="text"],
.coach-form input[type="email"],
.coach-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Padding ve border genişliği etkilemesin */
}

.coach-form textarea {
    resize: vertical; /* Sadece dikeyde boyutlandırma */
    min-height: 100px;
}

.coach-form input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.coach-form .btn-large {
    width: 100%;
    margin-top: 20px;
}

.video-placeholder {
    margin-bottom: 30px;
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.video-placeholder iframe {
    width: 100%;
    max-width: 560px; /* Standart YouTube oranı */
    height: 315px; /* Standart YouTube oranı */
    border-radius: 8px;
    margin-bottom: 10px;
}

.video-placeholder p {
    font-style: italic;
    color: #666;
    font-size: 0.9em;
}

/* Mobil uyumluluk için ekstra ayar */
@media (max-width: 768px) {
    .coach-form {
        padding: 20px;
    }
    .coach-application-section h2 {
        font-size: 2.2em;
    }
    .video-placeholder iframe {
        height: 200px; /* Daha küçük ekranlar için */
    }
}
/* --- Koç Seçme Sayfası Stilleri --- */
.coach-list-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    text-align: center;
}

.coach-list-section h2 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 2.8em;
}

.coach-list-section .section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: var(--text-dark);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.coach-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

.coach-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coach-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.coach-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    border: 3px solid var(--secondary-orange);
}

.coach-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coach-avatar .fas {
    font-size: 4em;
    color: #ccc;
}

.coach-card h3 {
    color: var(--primary-red);
    font-size: 1.6em;
    margin-bottom: 8px;
}

.coach-card .expertise,
.coach-card .education,
.coach-card .yks-rank {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 5px;
}

.coach-card .btn {
    margin-top: 20px;
    width: 100%;
    max-width: 200px;
}

.no-coaches {
    font-size: 1.1em;
    color: #888;
    margin-top: 30px;
    grid-column: 1 / -1; /* Tüm grid alanını kapla */
}

/* responsive ayarlar */
@media (max-width: 768px) {
    .coach-list-section h2 {
        font-size: 2.2em;
    }
    .coach-cards {
        grid-template-columns: 1fr; /* Mobil'de tek kolon */
    }
}
/* --- Koç Profil Sayfası Stilleri --- */
.coach-profile-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: calc(100vh - 120px); /* Header ve footer'ı hesaba kat */
}

.coach-profile-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 40px;
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.coach-profile-card .profile-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.coach-avatar-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    border: 5px solid var(--secondary-orange);
}

.coach-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coach-avatar-large .fas {
    font-size: 6em;
    color: #ccc;
}

.coach-profile-card h2 {
    color: var(--primary-red);
    font-size: 2.5em;
    margin-bottom: 5px;
}

.coach-profile-card .expertise-area {
    font-size: 1.2em;
    color: #555;
    font-weight: bold;
}

.coach-profile-card .profile-details {
    text-align: left;
    margin-bottom: 40px;
}

.coach-profile-card .detail-item {
    margin-bottom: 25px;
}

.coach-profile-card .detail-item h4 {
    color: var(--primary-red);
    font-size: 1.3em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.coach-profile-card .detail-item h4 .fas {
    margin-right: 10px;
    color: var(--secondary-orange);
}

.coach-profile-card .detail-item p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
}

.coach-profile-card .profile-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Butonlar arası boşluk */
}

.coach-profile-card .btn-lg {
    padding: 15px 30px;
    font-size: 1.1em;
    width: 100%;
    max-width: 350px;
}

.coach-profile-card .btn-secondary.btn-lg {
    background-color: #6c757d;
    color: #fff;
}

.coach-profile-card .btn-secondary.btn-lg:hover {
    background-color: #5a6268;
}

.no-coach-found {
    font-size: 1.2em;
    color: #888;
    text-align: center;
    margin-top: 50px;
}

.trial-requested-message {
    font-size: 1.1em;
    color: #28a745; /* Yeşil */
    font-weight: bold;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background-color: #e6ffe6;
    border-radius: 8px;
    border: 1px solid #b3ffb3;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .coach-profile-card {
        padding: 25px;
    }
    .coach-profile-card h2 {
        font-size: 2em;
    }
    .coach-profile-card .expertise-area {
        font-size: 1em;
    }
    .coach-profile-card .detail-item h4 {
        font-size: 1.1em;
    }
    .coach-profile-card .detail-item p {
        font-size: 0.95em;
    }
    .coach-profile-card .btn-lg {
        padding: 12px 20px;
        font-size: 1em;
    }
}
/* --- Randevu Alma Sayfası Stilleri (book_appointment.php) --- */
.book-appointment-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    min-height: calc(100vh - 120px);
}

.coach-booking-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.coach-avatar-medium {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px auto;
    border: 3px solid var(--secondary-orange);
}

.coach-avatar-medium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coach-avatar-medium .fas {
    font-size: 4em;
    color: #ccc;
}

.coach-booking-header h2 {
    color: var(--primary-red);
    font-size: 2.2em;
    margin-bottom: 5px;
}

.coach-booking-header .expertise-area {
    font-size: 1.1em;
    color: #555;
    font-weight: bold;
    margin-bottom: 15px;
}

.coach-booking-header .remaining-sessions {
    font-size: 1.2em;
    color: var(--text-dark);
}

.coach-booking-header .remaining-sessions .badge {
    background-color: var(--secondary-orange);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
    margin-left: 10px;
}

.book-appointment-section .section-title {
    color: var(--primary-red);
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.book-appointment-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-orange);
    border-radius: 5px;
}

.available-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    justify-content: center;
}

.slot-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 150px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slot-card:hover:not(.disabled-slot) {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.slot-card.disabled-slot {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f8f8f8;
}

.slot-time {
    margin-bottom: 20px;
    text-align: center;
}

.slot-time .date {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-red);
    margin-bottom: 5px;
}

.slot-time .time {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
    color: var(--secondary-orange);
}

.slot-card .btn-sm {
    width: 100%;
    padding: 10px;
    font-size: 1em;
}

.no-slots-message,
.no-coach-selected-message {
    text-align: center;
    font-size: 1.1em;
    color: #888;
    grid-column: 1 / -1; /* Tüm grid alanını kapla */
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.back-link-container {
    text-align: center;
    margin-top: 30px;
}
.back-link-container .btn {
    padding: 10px 25px;
    font-size: 1em;
}

/* Uyarı/Bilgi Kutuları */
.alert.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}
.alert-link {
    font-weight: bold;
    color: #856404;
    text-decoration: underline;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .coach-booking-header h2 {
        font-size: 1.8em;
    }
    .book-appointment-section .section-title {
        font-size: 1.6em;
    }
    .available-slots-grid {
        grid-template-columns: 1fr; /* Mobil'de tek kolon */
    }
}
/* --- Öğrenci Randevularım Sayfası Stilleri (my_appointments.php) --- */
.my-appointments-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    min-height: calc(100vh - 120px);
}

.my-appointments-section .section-title {
    color: var(--primary-red);
    font-size: 2.2em;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
}

.my-appointments-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 100px;
    height: 3px;
    background-color: var(--secondary-orange);
    border-radius: 5px;
}

.my-appointments-section .section-description {
    text-align: center;
    color: #666;
    font-size: 1.1em;
    margin-bottom: 40px;
}

.appointments-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.appointment-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.appointment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.appointment-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.coach-avatar-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    border: 2px solid var(--secondary-orange);
}

.coach-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coach-avatar-small .fas {
    font-size: 2.5em;
    color: #ccc;
}

.appointment-header .coach-info h3 {
    font-size: 1.5em;
    color: var(--primary-red);
    margin: 0;
}

.appointment-header .coach-info .expertise-area {
    font-size: 0.95em;
    color: #777;
    margin-top: 5px;
    font-weight: 500;
}

.appointment-details p {
    font-size: 1.1em;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.appointment-details p i {
    color: var(--secondary-orange);
    margin-right: 10px;
    font-size: 1.2em;
}

/* Durum Rozetleri - Genel (coach_style.css'dekilerle aynı mantıkta) */
.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    color: #fff;
    display: inline-block;
    text-transform: capitalize;
    margin-left: 5px;
}

.status-badge.confirmed { background-color: #28a745; } /* Yeşil */
.status-badge.completed { background-color: #6c757d; } /* Gri */
.status-badge.cancelled { background-color: #dc3545; } /* Kırmızı */
.status-badge.pending { background-color: #ffc107; color: #333; } /* Sarı */


.my-appointments-section .no-data-message {
    text-align: center;
    padding: 40px;
    font-size: 1.2em;
    color: #888;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    grid-column: 1 / -1; /* Tüm grid alanını kapla */
}

.my-appointments-section .no-data-message a {
    color: var(--primary-blue);
    font-weight: bold;
    text-decoration: underline;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .my-appointments-section .section-title {
        font-size: 1.8em;
    }
    .appointments-list {
        grid-template-columns: 1fr; /* Mobil'de tek kolon */
    }
    .appointment-card {
        padding: 20px;
    }
    .appointment-header .coach-info h3 {
        font-size: 1.3em;
    }
    .appointment-details p {
        font-size: 1em;
    }
}
/* --- Özellikler Sayfası Stilleri (ozellikler.php) --- */
.features-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
    text-align: center;
}

.features-section .section-title {
    color: var(--primary-red);
    font-size: 2.8em;
    margin-bottom: 20px;
    position: relative;
}

.features-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 120px;
    height: 3px;
    background-color: var(--secondary-orange);
    border-radius: 5px;
}

.features-section .section-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

.feature-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 320px; /* Kartların eşit boyutta olması için */
    justify-content: flex-start;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3.5em;
    color: var(--secondary-orange);
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 50%;
    background-color: rgba(255, 179, 0, 0.1); /* Hafif turuncu arka plan */
}

.feature-card h3 {
    color: var(--primary-red);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.feature-card .description {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1; /* Açıklama alanının esnemesini sağlar */
}

.feature-card .statistic {
    font-size: 0.95em;
    font-weight: bold;
    color: var(--primary-red);
    background-color: #f7f7f7;
    padding: 8px 15px;
    border-radius: 20px;
    white-space: nowrap;
    margin-top: auto; /* En alta hizalar */
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .features-section .section-title {
        font-size: 2.2em;
    }
    .features-section .section-description {
        font-size: 1em;
    }
    .features-grid {
        grid-template-columns: 1fr; /* Mobil'de tek kolon */
    }
    .feature-card {
        min-height: auto; /* Mobil'de esnek yükseklik */
    }
}
/* --- SSS Sayfası Stilleri (sss.php) --- */
.faq-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
    text-align: center;
}

.faq-section .section-title {
    color: var(--primary-red);
    font-size: 2.8em;
    margin-bottom: 20px;
    position: relative;
}

.faq-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 100px;
    height: 3px;
    background-color: var(--secondary-orange);
    border-radius: 5px;
}

.faq-section .section-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-items {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden; /* Gizli içeriği gizler */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background-color: #f9f9f9;
    border: none;
    text-align: left;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover,
.faq-question.active {
    background-color: var(--primary-red);
    color: #fff;
}

.faq-question .arrow-icon {
    font-size: 1em;
    transition: transform 0.3s ease;
}

.faq-question.active .arrow-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0; /* Başlangıçta gizli */
    transition: max-height 0.3s ease-out;
    background-color: #fff;
    padding: 0 25px; /* Başlangıçta padding yok, max-height için */
    overflow: hidden;
}

.faq-answer p {
    padding: 20px 0; /* Sadece açıldığında padding ver */
    margin: 0;
    font-size: 1.05em;
    line-height: 1.6;
    color: #444;
}

.faq-question.active + .faq-answer {
    padding: 20px 25px; /* Açıldığında padding ver */
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .faq-section .section-title {
        font-size: 2.2em;
    }
    .faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .faq-answer p {
        font-size: 0.95em;
        padding: 15px 0;
    }
    .faq-question.active + .faq-answer {
        padding: 15px 20px;
    }
}
/* --- İletişim Sayfası Stilleri (iletisim.php) --- */
.contact-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    min-height: calc(100vh - 120px);
    text-align: center;
}

.contact-section .section-title {
    color: var(--primary-red);
    font-size: 2.8em;
    margin-bottom: 20px;
    position: relative;
}

.contact-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 100px;
    height: 3px;
    background-color: var(--secondary-orange);
    border-radius: 5px;
}

.contact-section .section-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-container.card {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    background-color: #fff;
    text-align: left;
}

.contact-form-container .form-group {
    margin-bottom: 20px;
}

.contact-form-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-dark);
}

.contact-form-container input[type="text"],
.contact-form-container input[type="email"],
.contact-form-container input[type="tel"],
.contact-form-container textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

.contact-form-container textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-container .btn-primary {
    width: auto; /* Düğmenin genişliğini otomatik ayarla */
    padding: 12px 25px;
    display: block; /* Yeni satırda başlasın */
    margin: 20px auto 0 auto; /* Ortala */
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .contact-section .section-title {
        font-size: 2.2em;
    }
    .contact-form-container.card {
        padding: 20px;
    }
    .contact-form-container .btn-primary {
        width: 100%;
    }
}
/* --- Yorumlar Sayfası Stilleri (yorumlar.php) --- */
.testimonials-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
    text-align: center;
}

.testimonials-section .section-title {
    color: var(--primary-red);
    font-size: 2.8em;
    margin-bottom: 20px;
    position: relative;
}

.testimonials-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 120px;
    height: 3px;
    background-color: var(--secondary-orange);
    border-radius: 5px;
}

.testimonials-section .section-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 280px; /* Kartların eşit boyutta olması için */
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.testimonial-card .rating {
    color: var(--secondary-orange);
    font-size: 1.3em;
    margin-bottom: 15px;
}

.testimonial-card .rating .fas {
    margin: 0 2px;
}

.testimonial-card .testimonial-text {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* Metin alanının esnemesini sağlar */
}

.testimonial-card .testimonial-author {
    margin-top: auto; /* En alta hizalar */
}

.testimonial-card .testimonial-author h4 {
    color: var(--primary-red);
    font-size: 1.2em;
    margin-bottom: 5px;
}

.testimonial-card .testimonial-author span {
    font-size: 0.9em;
    color: #777;
    display: block;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .testimonials-section .section-title {
        font-size: 2.2em;
    }
    .testimonials-grid {
        grid-template-columns: 1fr; /* Mobil'de tek kolon */
    }
    .testimonial-card {
        min-height: auto; /* Mobil'de esnek yükseklik */
    }
}
/* --- Tercih Sihirbazı Sayfası Stilleri (tercih_sihirbazi.php) --- */
.preference-wizard-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
    text-align: center;
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.preference-wizard-section .section-title {
    color: var(--primary-red);
    font-size: 2.8em;
    margin-bottom: 20px;
    position: relative;
}

.preference-wizard-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 150px;
    height: 3px;
    background-color: var(--secondary-orange);
    border-radius: 5px;
}

.preference-wizard-section .section-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.wizard-placeholder-content.card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    padding: 40px;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.wizard-placeholder-content h3 {
    color: var(--primary-red);
    font-size: 2em;
    margin-bottom: 20px;
}

.wizard-placeholder-content p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.wizard-placeholder-content .btn {
    margin-top: 30px;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .preference-wizard-section .section-title {
        font-size: 2.2em;
    }
    .wizard-placeholder-content.card {
        padding: 25px;
    }
    .wizard-placeholder-content h3 {
        font-size: 1.6em;
    }
    .wizard-placeholder-content p {
        font-size: 1em;
    }
}
/* --- Kaynaklar Sayfası Stilleri (resources.php) --- */
.resources-section {
    padding: 80px 20px;
    background-color: var(--bg-light);
    text-align: center;
    min-height: calc(100vh - 120px);
}

.resources-section .section-title {
    color: var(--primary-red);
    font-size: 2.8em;
    margin-bottom: 20px;
    position: relative;
}

.resources-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 150px;
    height: 3px;
    background-color: var(--secondary-orange);
    border-radius: 5px;
}

.resources-section .section-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.resource-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 280px; /* Kartların eşit boyutta olması için */
    justify-content: space-between;
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.resource-icon {
    font-size: 3.5em;
    color: var(--secondary-orange);
    margin-bottom: 20px;
}

.resource-card h3 {
    color: var(--primary-red);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.resource-card .description {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.resource-card .btn-sm {
    width: 100%;
    max-width: 200px;
    margin-top: auto; /* En alta hizalar */
}

/* Erişim Engellendi Mesajı */
.no-access-message.card {
    padding: 40px;
    background-color: #fff0f0; /* Açık kırmızımsı arka plan */
    border: 1px solid #ffcccc;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    max-width: 700px;
    margin: 40px auto;
}

.no-access-message h3 {
    color: var(--primary-red);
    font-size: 2em;
    margin-bottom: 15px;
}

.no-access-message p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 25px;
}

.no-access-message .btn-lg {
    padding: 15px 30px;
    font-size: 1.1em;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .resources-section .section-title {
        font-size: 2.2em;
    }
    .resources-grid {
        grid-template-columns: 1fr; /* Mobil'de tek kolon */
    }
    .resource-card {
        min-height: auto;
    }
}
/* --- Genel Bilgi Sayfaları Stilleri (hakkimizda.php, gizlilik_politikasi.php, kullanim_kosullari.php) --- */
.info-page-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    text-align: center;
    min-height: calc(100vh - 120px);
}

.info-page-section .section-title {
    color: var(--primary-red);
    font-size: 2.8em;
    margin-bottom: 20px;
    position: relative;
}

.info-page-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 100px;
    height: 3px;
    background-color: var(--secondary-orange);
    border-radius: 5px;
}

.info-page-section .section-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.info-content-card.card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.info-content-card h3 {
    color: var(--primary-red);
    font-size: 1.8em;
    margin-bottom: 15px;
    margin-top: 30px; /* Başlıklar arası boşluk */
}

.info-content-card h3:first-child {
    margin-top: 0; /* İlk başlığın üstünde boşluk olmasın */
}

.info-content-card p {
    font-size: 1.05em;
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
}

.info-content-card ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.info-content-card ul li {
    font-size: 1.05em;
    line-height: 1.6;
    color: #444;
    margin-bottom: 8px;
}

.info-content-card .policy-date {
    font-size: 0.9em;
    color: #888;
    margin-top: 30px;
    font-style: italic;
    text-align: right;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .info-page-section .section-title {
        font-size: 2.2em;
    }
    .info-content-card.card {
        padding: 25px;
    }
    .info-content-card h3 {
        font-size: 1.4em;
    }
    .info-content-card p,
    .info-content-card ul li {
        font-size: 1em;
    }
}
/* --- Paket Satın Alma Sayfası Stilleri (purchase_package.php) --- */
.purchase-package-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    min-height: calc(100vh - 120px);
    text-align: center;
}

.purchase-package-section .section-title {
    color: var(--primary-red);
    font-size: 2.5em;
    margin-bottom: 20px;
    position: relative;
}

.purchase-package-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 150px;
    height: 3px;
    background-color: var(--secondary-orange);
    border-radius: 5px;
}

.purchase-package-section .section-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.purchase-details-card.card,
.purchase-form-container.card {
    max-width: 700px;
    margin: 20px auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    background-color: #fff;
    text-align: left;
}

.purchase-details-card h3,
.purchase-form-container h3.form-title {
    color: var(--primary-red);
    font-size: 1.8em;
    margin-bottom: 25px;
    text-align: center;
}

.purchase-details-card p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.purchase-details-card p strong {
    color: var(--secondary-orange);
}

.purchase-form-container form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.purchase-form-container .form-group {
    margin-bottom: 0; /* Boşluğu gap ile ayarlıyoruz */
}

.purchase-form-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-dark);
}

.purchase-form-container input[type="text"],
.purchase-form-container input[type="date"],
.purchase-form-container select.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

.purchase-form-container small.text-muted {
    display: block;
    margin-top: 5px;
    font-size: 0.85em;
    color: #888;
}

.iban-display {
    background-color: #f0f0f0;
    border: 1px dashed #ccc;
    padding: 15px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--primary-red);
    text-align: center;
    word-break: break-all; /* Uzun IBAN'ı kır */
}

.purchase-form-container .btn-lg {
    width: auto;
    padding: 12px 25px;
    align-self: center; /* Ortala */
    margin-top: 20px;
}

.no-package-selected.card {
    padding: 40px;
    background-color: #f8f8f8;
    border: 1px dashed #ddd;
    border-radius: 10px;
    margin-top: 50px;
}
.no-package-selected h3 {
    color: #666;
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}
.no-package-selected p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 25px;
    text-align: center;
}
.no-package-selected .btn {
    display: inline-block;
    width: auto;
    padding: 12px 25px;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .purchase-package-section .section-title {
        font-size: 2em;
    }
    .purchase-details-card.card,
    .purchase-form-container.card {
        padding: 20px;
    }
    .purchase-details-card h3,
    .purchase-form-container h3.form-title {
        font-size: 1.5em;
    }
    .purchase-form-container .btn-lg {
        width: 100%;
    }
}
/* --- Öğrenci Profil Sayfası Stilleri (my_profile.php) --- */
.my-profile-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    min-height: calc(100vh - 120px);
    text-align: center;
}

.my-profile-section .section-title {
    color: var(--primary-red);
    font-size: 2.2em;
    margin-bottom: 10px;
    position: relative;
}

.my-profile-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-orange);
    border-radius: 5px;
}

.my-profile-section .section-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.profile-form-container.card {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    background-color: #fff;
    text-align: left; /* İçerik soldan hizalı */
}

.profile-form-container .form-group {
    margin-bottom: 20px;
}

.profile-form-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-dark);
}

.profile-form-container input[type="text"],
.profile-form-container input[type="email"],
.profile-form-container input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

.profile-form-container small.text-muted {
    display: block;
    margin-top: 5px;
    font-size: 0.85em;
    color: #888;
}

.profile-form-container .btn-primary {
    width: auto;
    padding: 12px 25px;
    margin-top: 20px;
    display: block; /* Butonu ortalamak için */
    margin-left: auto;
    margin-right: auto;
}

/* Profil resmi yükleme alanı - coach/profile.php'deki ile benzer */
.profile-picture-upload {
    text-align: center;
    margin-bottom: 30px;
}

.profile-picture-label {
    display: inline-block;
    position: relative;
    cursor: pointer;
    width: 120px; /* Biraz daha küçük yapalım */
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary-orange);
    background-color: #f0f0f0;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.profile-picture-label:hover {
    border-color: var(--primary-red);
}

.current-profile-picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.upload-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--primary-red);
    color: white;
    padding: 6px;
    border-radius: 50%;
    font-size: 1em;
    border: 2px solid white;
}

.profile-picture-upload .text-muted {
    font-size: 0.85em;
    color: #888;
}

.no-data-message {
    text-align: center;
    padding: 40px;
    font-size: 1.2em;
    color: #888;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .my-profile-section .section-title {
        font-size: 1.8em;
    }
    .profile-form-container.card {
        padding: 20px;
    }
    .profile-form-container input[type="text"],
    .profile-form-container input[type="email"],
    .profile-form-container input[type="tel"] {
        padding: 10px;
    }
    .profile-form-container .btn-primary {
        width: 100%;
    }
}
/* --- Koç Profil Sayfası Video Gösterim Stilleri (coach_profile.php) --- */
.video-container {
    margin-top: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.video-container iframe {
    width: 100%;
    max-width: 640px; /* Standart 16:9 oranı için */
    height: 360px; /* Standart 16:9 oranı için */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Mobil uyumluluk için */
@media (max-width: 768px) {
    .video-container iframe {
        height: 200px; /* Daha küçük ekranlar için */
    }
}
/* --- Öne Çıkan Koçlar Bölümü Stilleri (index.php) --- */
.featured-coaches-section {
    padding: 80px 20px;
    background-color: #f9f9f9; /* Hafif gri arka plan */
    text-align: center;
}

.featured-coaches-section .section-title {
    color: var(--primary-red);
    font-size: 2.8em;
    margin-bottom: 20px;
    position: relative;
}

.featured-coaches-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 180px;
    height: 3px;
    background-color: var(--secondary-orange);
    border-radius: 5px;
}

.featured-coaches-section .section-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.coaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Video sığması için biraz genişletildi */
    gap: 30px;
    justify-content: center;
}

.coach-card-featured {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coach-card-featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.coach-card-featured .coach-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.coach-card-featured .coach-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary-orange);
    margin-bottom: 10px;
}

.coach-card-featured .coach-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coach-card-featured .coach-avatar .fas {
    font-size: 3.5em;
    color: #ccc;
    line-height: 84px; /* Dikey hizalama için */
}

.coach-card-featured h3 {
    color: var(--primary-red);
    font-size: 1.6em;
    margin-bottom: 5px;
}

.coach-card-featured .expertise {
    font-size: 0.95em;
    color: #777;
}

.coach-card-featured .coach-video {
    width: 100%;
    max-width: 320px; /* Video genişliği */
    margin-bottom: 20px;
}

.coach-card-featured .coach-video iframe {
    width: 100%;
    height: 180px; /* 16:9 oranı için (320 * 9 / 16) */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.coach-card-featured .bio-preview {
    font-size: 0.95em;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1; /* Metnin esnemesini sağlar */
}

.coach-card-featured .btn-sm {
    width: 80%;
    max-width: 200px;
    margin-top: auto; /* Butonu en alta hizalar */
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .featured-coaches-section .section-title {
        font-size: 2.2em;
    }
    .coaches-grid {
        grid-template-columns: 1fr; /* Mobil'de tek kolon */
    }
    .coach-card-featured .coach-video iframe {
        height: 180px; /* Mobil'de de aynı yükseklik, ihtiyaca göre değişebilir */
    }
}
/* --- Paket İçin Koç Seçme Sayfası Stilleri (select_coach_for_package.php) --- */
.select-coach-for-package-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    min-height: calc(100vh - 120px);
    text-align: center;
}

.select-coach-for-package-section .section-title {
    color: var(--primary-red);
    font-size: 2.5em;
    margin-bottom: 20px;
    position: relative;
}

.select-coach-for-package-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 200px;
    height: 3px;
    background-color: var(--secondary-orange);
    border-radius: 5px;
}

.select-coach-for-package-section .section-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.package-summary-card.card {
    max-width: 600px;
    margin: 0 auto 40px auto;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #fcfcfc;
    text-align: left;
    border: 1px solid #eee;
}

.package-summary-card h3 {
    color: var(--primary-red);
    font-size: 1.6em;
    margin-bottom: 15px;
    text-align: center;
}

.package-summary-card p {
    font-size: 1em;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.package-summary-card p strong {
    color: var(--secondary-orange);
}

.coach-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
}

.coach-card-selection {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 350px; /* Kartların eşit boyutta olması için */
    justify-content: space-between;
}

.coach-card-selection:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.coach-card-selection .coach-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    border: 2px solid var(--secondary-orange);
}

.coach-card-selection .coach-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coach-card-selection .coach-avatar .fas {
    font-size: 3.5em;
    color: #ccc;
}

.coach-card-selection h3 {
    color: var(--primary-red);
    font-size: 1.5em;
    margin-bottom: 5px;
}

.coach-card-selection .expertise,
.coach-card-selection .education {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 5px;
}

.coach-card-selection .bio-preview {
    font-size: 0.9em;
    color: #555;
    line-height: 1.5;
    margin-top: 10px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.coach-card-selection .btn-sm {
    width: 80%;
    max-width: 150px;
    margin-top: auto;
    padding: 10px;
    font-size: 0.95em;
}

.select-coach-for-package-section .section-subtitle {
    color: var(--primary-red);
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.select-coach-for-package-section .section-subtitle::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 2px;
    background-color: var(--secondary-orange);
    border-radius: 5px;
}


/* Mobil uyumluluk */
@media (max-width: 768px) {
    .select-coach-for-package-section .section-title {
        font-size: 2em;
    }
    .package-summary-card.card,
    .coach-selection-grid {
        padding: 20px;
    }
    .coach-selection-grid {
        grid-template-columns: 1fr;
    }
    .coach-card-selection {
        min-height: auto;
    }
}


.coach-card .video-icon-link {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
    font-size: 0.95em;
    color: var(--secondary-orange);
    font-weight: bold;
    transition: color 0.2s ease;
}

.coach-card .video-icon-link:hover {
    color: var(--primary-red);
}

.coach-card .video-icon-link .fas {
    font-size: 1.1em;
}

/* Mevcut .coach-card .btn-sm stiliniz bu yeni öğeleri itebilir, gerekirse boşluk ayarlayın */
.coach-card .btn-sm {
    margin-top: 15px; /* Üstteki öğelerden biraz boşluk */
}
/* --- Koç Listeleme Sayfası Ek Stilleri (select_coach.php) --- */

/* --- Öğrenci Dashboard Ek Stilleri (dashboard.php) --- */
.dashboard-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.dashboard-info-cards .card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 180px;
}

.dashboard-info-cards .card h3 {
    color: var(--primary-red);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.dashboard-info-cards .card .stat-number {
    font-size: 2.8em;
    font-weight: bold;
    color: var(--secondary-orange);
    margin-bottom: 20px;
}

.dashboard-info-cards .card .quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.dashboard-info-cards .card .quick-links li {
    margin-bottom: 8px;
}

.dashboard-info-cards .card .quick-links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1em;
    padding: 8px 0;
    border-radius: 5px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dashboard-info-cards .card .quick-links li a:hover {
    background-color: #f0f0f0;
    color: var(--primary-red);
}

.dashboard-info-cards .card .quick-links li a .fas {
    margin-right: 10px;
    font-size: 1.1em;
    color: #999;
}

.upcoming-appointments-section {
    text-align: center;
    margin-top: 50px;
}

.upcoming-appointments-section .section-subtitle {
    color: var(--primary-red);
    font-size: 2em;
    margin-bottom: 25px;
    position: relative;
}
.upcoming-appointments-section .section-subtitle::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 80px;
    height: 2px;
    background-color: var(--secondary-orange);
    border-radius: 5px;
}

/* Tablo stilleri için manage_appointments.php'den alınabilir,
   veya coach/css/coach_style.css'den genel tablo stilleri buraya taşınabilir. */

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .dashboard-info-cards {
        grid-template-columns: 1fr;
    }
    .dashboard-info-cards .card {
        min-height: auto;
    }
}
/* --- Yorum Gönderme Sayfası Stilleri (submit_testimonial.php) --- */
.submit-testimonial-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    min-height: calc(100vh - 120px);
    text-align: center;
}

.submit-testimonial-section .section-title {
    color: var(--primary-red);
    font-size: 2.5em;
    margin-bottom: 20px;
    position: relative;
}

.submit-testimonial-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 120px;
    height: 3px;
    background-color: var(--secondary-orange);
    border-radius: 5px;
}

.submit-testimonial-section .section-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-form-container.card {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    background-color: #fff;
    text-align: left;
}

.testimonial-form-container .form-group {
    margin-bottom: 20px;
}

.testimonial-form-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-dark);
}

.testimonial-form-container select.form-control,
.testimonial-form-container textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

.testimonial-form-container textarea {
    resize: vertical;
    min-height: 120px;
}

.testimonial-form-container .btn-lg {
    width: auto;
    padding: 12px 25px;
    align-self: center;
    margin-top: 20px;
}

/* Derecelendirme Yıldızları (input type="radio" gizlenir, label'lar yıldız olur) */
.rating-input {
    display: inline-block; /* Yıldızları yan yana tut */
    direction: rtl; /* Yıldızları sağdan sola hizala */
    margin-top: 10px;
}
.rating-input input[type="radio"] {
    display: none; /* Radyo butonlarını gizle */
}
.rating-input label {
    font-size: 2.2em; /* Yıldız boyutu */
    color: #ccc; /* Pasif yıldız rengi */
    cursor: pointer;
    padding: 0 5px;
    float: right; /* RTL nedeniyle yıldızlar soldan sağa hizalanır */
    transition: color 0.2s ease;
}
.rating-input label:hover,
.rating-input label:hover ~ label {
    color: orange; /* Hover rengi */
}
.rating-input input[type="radio"]:checked ~ label {
    color: orange; /* Seçili yıldız rengi */
}
.rating-input label .fas.fa-star {
    font-family: 'Font Awesome 5 Free'; /* Font Awesome 5 Free fontunu kullan */
    font-weight: 900; /* Dolu yıldız için solid */
}
.rating-input label .far.fa-star {
    font-family: 'Font Awesome 5 Free';
    font-weight: 400; /* Boş yıldız için regular */
}

/* Dinamik yorumlar sayfası için ek stiller */
.testimonial-card .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    border: 2px solid var(--secondary-orange);
}

.testimonial-card .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card .author-avatar .fas {
    font-size: 2em;
    color: #ccc;
}

.testimonial-card .testimonial-author {
    display: flex; /* Ad ve avatarı hizalamak için */
    flex-direction: column; /* Dikey sıralama */
    align-items: center;
}

.no-testimonials-message {
    text-align: center;
    padding: 40px;
    font-size: 1.2em;
    color: #888;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    grid-column: 1 / -1;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .submit-testimonial-section .section-title {
        font-size: 2em;
    }
    .testimonial-form-container.card {
        padding: 20px;
    }
    .rating-input label {
        font-size: 1.8em;
    }
}
/* --- Öğrenci Dashboard Ek Stilleri (dashboard.php) --- */
/* Önceki dashboard stilleri zaten var, yeni kart için özel stiller ekleyelim */
.dashboard-info-cards .card:nth-child(3) h3 { /* Atanmış koç kartının başlığı */
    color: #6f42c1; /* Mor tonu */
}
.dashboard-info-cards .card:nth-child(3) .stat-number { /* Atanmış koç adı */
    color: #6f42c1; /* Mor tonu */
}

/* Hızlı Erişim kartının stilini güncelle (önceden bir kart değil, ul idi) */
.dashboard-info-cards .card:nth-child(4) { /* Eğer 4. kart olursa */
    /* Eski hızlı erişim ul'sini kaldırdık, yeni kart olarak stilini ayarlayalım */
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 180px;
}
/* Eğer hızlı erişimi yine ayrı bir div'e aldıysak, yukarıdaki .dashboard-info-cards .card genel stilini kullanır. */
/* Eğer card dışında bir yerdeyse, sadece .quick-links stilini güncelleyebiliriz */
.dashboard-section .quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
.dashboard-section .quick-links li {
    margin-bottom: 8px;
}
.dashboard-section .quick-links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1em;
    padding: 8px 0;
    border-radius: 5px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dashboard-section .quick-links li a:hover {
    background-color: #f0f0f0;
    color: var(--primary-red);
}

.dashboard-section .quick-links li a .fas {
    margin-right: 10px;
    font-size: 1.1em;
    color: #999;
}

/* responsive için de güncelleyin */
@media (max-width: 768px) {
    .dashboard-info-cards {
        grid-template-columns: 1fr;
    }
    .dashboard-info-cards .card {
        min-height: auto;
    }
}
/* --- Profil Dropdown Menü Stilleri (PC için) --- */
.user-profile-dropdown {
    position: relative;
    display: inline-block; /* Yan yana durması için */
    margin-left: 15px; /* Diğer menü linklerinden boşluk */
    cursor: pointer;
}

.profile-dropdown-toggle {
    background-color: var(--primary-red); /* Giriş Yap butonuyla aynı renk */
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    display: flex; /* İçindeki ikonu hizalamak için */
    align-items: center;
    gap: 8px; /* Metin ve ikon arası boşluk */
    transition: background-color 0.2s ease;
}

.profile-dropdown-toggle:hover {
    background-color: var(--button-hover-darken);
}

.profile-dropdown-toggle .fa-caret-down {
    font-size: 0.8em;
}

.profile-dropdown-menu {
    display: none; /* Başlangıçta gizli */
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px; /* Menü genişliği */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1001; /* Menülerin üzerinde olması için */
    right: 0; /* Sağ üst köşeye hizala */
    border-radius: 5px;
    overflow: hidden; /* Köşeler yuvarlak olsun */
    padding: 5px 0;
    transform: translateY(10px); /* Açılma animasyonu için hafif aşağıdan başla */
    opacity: 0;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
    pointer-events: none; /* Gizliyken tıklanmasın */
}

/* Dropdown menü aktif olduğunda */
.profile-dropdown-menu.show {
    display: block !important; /* KESİNLİKLE görünür olsun */
    transform: translateY(0) !important; /* Animasyonu sıfırla */
    opacity: 1 !important; /* Tamamen görünür yap */
    pointer-events: auto !important; /* Tıklanabilir yap */
}

.profile-dropdown-menu .dropdown-username {
    display: block;
    padding: 10px 16px;
    font-weight: bold;
    color: var(--primary-red);
    text-align: center;
    border-bottom: 1px solid #eee;
    margin-bottom: 5px;
}

.profile-dropdown-menu .dropdown-divider {
    height: 1px;
    background-color: #eee;
    margin: 5px 0;
}

.profile-dropdown-menu a {
    color: var(--text-dark);
    padding: 10px 16px;
    text-decoration: none;
    display: flex; /* İkonu hizalamak için */
    align-items: center;
    gap: 10px; /* İkon ve metin arası boşluk */
    text-align: left;
    transition: background-color 0.2s ease;
    font-weight: normal;
}

.profile-dropdown-menu a:hover {
    background-color: #ddd;
    color: var(--primary-red);
}

.profile-dropdown-menu a .fas {
    font-size: 1.1em;
    color: #999;
}

/* --- Mobil Menü İçin CSS Düzeltmeleri --- */
/* Hamburger menüyü sadece mobilde göster */
.hamburger-menu {
  display: none; /* Masaüstünde gizli */
  font-size: 1.8em; /* İkon boyutu */
}

/* Masaüstü görünümü (769px ve üzeri) */
@media (min-width: 769px) {
  .nav-links {
    display: flex !important; /* Menü linklerini göster */
    flex-direction: row !important; /* Yatay sırala */
    gap: 20px;
    list-style: none;
    align-items: center;
  }

  .auth-buttons {
    display: flex !important; /* Yetkilendirme butonlarını göster */
    flex-direction: row !important; /* Yatay sırala */
    gap: 10px;
    align-items: center;
  }

  .hamburger-menu {
    display: none !important; /* PC’de hamburger menü gizlensin */
  }
}

/* Mobil görünüm (768px ve altı) */
@media (max-width: 768px) {
    /* Hamburger menü ikonunu göster */
    .hamburger-menu {
        display: block !important;
        font-size: 2.5em; /* Mobil ikon boyutu */
        color: var(--text-dark);
    }

    /* Ana navigasyonun mobil aktif durumu */
    .main-nav.active {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; /* Header yüksekliğine göre ayarla */
        left: 0;
        background-color: var(--bg-light);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 999; /* Dropdown'dan az, diğer içeriklerden çok */
    }

    /* Mobil menü linkleri (başlangıçta gizli) */
    .nav-links {
        display: none; /* Varsayılan olarak gizli */
        flex-direction: column;
        width: 100%;
        padding: 0;
    }
    /* Mobil menü aktifken linkleri göster */
    .nav-links.active {
        display: flex; /* JavaScript ile açıldığında görünür olsun */
        padding: 15px 0;
    }
    .nav-links li {
        margin: 0; /* Liste öğeleri arasında boşlukları sıfırla */
    }
    .nav-links li a {
        padding: 10px 20px; /* Linklerin tıklama alanını büyüt */
        display: block;
        text-align: center;
        width: 100%;
    }

    /* Auth butonları (Giriş Yap/Şimdi Başla ve Profil Dropdown) başlangıçta gizli */
    .auth-buttons {
        display: none;
        flex-direction: column;
        width: 100%;
        padding-bottom: 15px; /* Alt boşluk */
    }
    /* Mobil menü aktifken auth butonlarını göster */
    .auth-buttons.active {
        display: flex; /* JavaScript ile açıldığında görünür olsun */
    }

    /* Mobil menü içinde profil dropdown toggle butonu */
    .user-profile-dropdown {
        display: block; /* Mobil menüde tam genişlikte olsun */
        width: 100%;
        margin-left: 0;
        margin-bottom: 10px; /* Diğer öğelerden boşluk */
        position: static; /* Mobil akışta durmalı */
    }
    .profile-dropdown-toggle {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
        background-color: var(--primary-red) !important; /* Kırmızı renk */
        color: white !important;
        border: none !important;
        padding: 10px 15px;
        border-radius: 5px;
    }
    /* Mobil menüde profil resmini gizle, sadece metin/ikon olsun */
    .profile-avatar-small.dropdown-toggle img {
        display: none; 
    }
    .profile-avatar-small.dropdown-toggle .dropdown-arrow {
        /* Ok ikonunun stili, profile-dropdown-toggle ile aynı renk ve hizalama */
        color: white !important;
        background-color: transparent !important;
        box-shadow: none !important;
        position: static !important;
        margin-left: 5px;
    }

    /* Mobil menü içinde dropdown menü (açıldığında) */
/* Mobil menü içinde profil dropdown menüsü (düzeltildi) */
.profile-dropdown-menu {
    display: none; /* Varsayılan olarak menüyü GİZLE */
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    border-top: 1px solid #ccc;
    background-color: #f0f0f0;
    padding: 0;
    flex-direction: column;
}

/* JavaScript tarafından .show sınıfı eklendiğinde menüyü GÖSTER */
.profile-dropdown-menu.show {
    display: flex; 
}
    .profile-dropdown-menu.show {
        /* Mobil menüde show sınıfı ile kontrol edilen ekstra bir durum olmayacak,
           çünkü auth-buttons.active zaten tüm blokları gösteriyor. */
    }
    /* Mobil menü içinde dropdown linkleri */
    .profile-dropdown-menu a {
        justify-content: center; /* Linkleri ortala */
        padding: 10px !important;
        background-color: transparent !important; /* Arka plan rengini temizle */
        color: var(--text-dark) !important; /* Metin rengini ayarla */
    }
    .profile-dropdown-menu a:hover {
        background-color: #ccc !important;
        color: var(--primary-red) !important;
    }
}
/* --- Öğrenci Ödemelerim Sayfası Stilleri (my_payments.php) --- */
.my-payments-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    min-height: calc(100vh - 120px);
    text-align: center;
}

.my-payments-section .section-title {
    color: var(--primary-red);
    font-size: 2.2em;
    margin-bottom: 10px;
    position: relative;
}

.my-payments-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 100px;
    height: 3px;
    background-color: var(--secondary-orange);
    border-radius: 5px;
}

.my-payments-section .section-description {
    text-align: center;
    color: #666;
    font-size: 1.1em;
    margin-bottom: 40px;
}

.my-payments-section .table-container {
    overflow-x: auto; /* Küçük ekranlarda yatay kaydırma */
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 20px;
    margin-top: 30px;
}

/* Genel tablo stilleri zaten style.css içinde mevcut olmalı,
   ancak buraya spesifik bir ihtiyaç olursa eklenebilir. */
/* Örneğin: */
.my-payments-section table {
    width: 100%;
    border-collapse: collapse;
}
.my-payments-section table th,
.my-payments-section table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.my-payments-section table th {
    background-color: var(--primary-red);
    color: var(--text-light);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
}
.my-payments-section table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.my-payments-section table tr:hover {
    background-color: #f1f1f1;
}

/* Durum Rozetleri (Status Badges) */
/* Eğer zaten global olarak tanımlı değillerse, buraya eklenmeli */
.status-badge {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    color: #fff;
    display: inline-block;
    text-transform: capitalize;
}
.status-badge.pending { background-color: #ffc107; color: #333; } /* Bekliyor - Sarı */
.status-badge.approved { background-color: #28a745; } /* Onaylandı - Yeşil */
.status-badge.rejected { background-color: #dc3545; } /* Reddedildi - Kırmızı */
.status-badge.activated { background-color: #007bff; } /* Aktif Edildi - Mavi */
.status-badge.cancelled { background-color: #6c757d; } /* İptal Edildi - Gri */


.my-payments-section .no-data-message {
    text-align: center;
    padding: 40px;
    font-size: 1.2em;
    color: #888;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    grid-column: 1 / -1; /* Tablo boşsa tüm alanı kapla */
}

.my-payments-section .no-data-message a {
    color: var(--primary-red);
    font-weight: bold;
    text-decoration: underline;
}


/* Mobil uyumluluk */
@media (max-width: 768px) {
    .my-payments-section .section-title {
        font-size: 1.8em;
    }
    /* Tablo için responsive */
    .my-payments-section table, 
    .my-payments-section thead, 
    .my-payments-section tbody, 
    .my-payments-section th, 
    .my-payments-section td, 
    .my-payments-section tr {
        display: block;
    }
    .my-payments-section thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .my-payments-section tr { 
        border: 1px solid #ccc; 
        margin-bottom: 15px; 
        border-radius: 8px; /* Köşeleri yuvarla */
    }
    .my-payments-section td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }
    .my-payments-section td:before {
        position: absolute;
        top: 12px; /* Dikeyde ortalama */
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        content: attr(data-label); /* data-label'dan başlık çek */
        color: #555;
        font-size: 0.9em;
    }
    /* Her sütun için data-label */
    .my-payments-section table td:nth-of-type(1):before { content: "Paket"; }
    .my-payments-section table td:nth-of-type(2):before { content: "Koç"; }
    .my-payments-section table td:nth-of-type(3):before { content: "Tutar"; }
    .my-payments-section table td:nth-of-type(4):before { content: "Referans"; }
    .my-payments-section table td:nth-of-type(5):before { content: "Ödeme Tarihi"; }
    .my-payments-section table td:nth-of-type(6):before { content: "Bildirim Tarihi"; }
    .my-payments-section table td:nth-of-type(7):before { content: "Durum"; }
    .my-payments-section table td:nth-of-type(8):before { content: "Admin Notu"; }

    .my-payments-section .no-data-message {
        padding: 20px;
    }
}
/* --- Randevu Slotları ve Uyarılar için Ek Stiller (coach_profile.php) --- */
.available-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Daha küçük slot kartları */
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.slot-card {
    background-color: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.slot-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.slot-time {
    margin-bottom: 15px;
}

.slot-time .date {
    font-size: 1em;
    font-weight: bold;
    color: var(--primary-red);
    display: block;
    margin-bottom: 3px;
}

.slot-time .time {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--secondary-orange);
    display: block;
}

.slot-card .btn-sm {
    width: 100%;
    padding: 8px 15px;
    font-size: 0.9em;
}

/* Kalan Seans Rozeti */
.remaining-sessions .badge {
    background-color: var(--secondary-orange);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
    margin-left: 10px;
}

/* Ortak alert stilleri zaten var. Sadece bilgi alert'i ekleyelim. */
.alert.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .available-slots-grid {
        grid-template-columns: 1fr; /* Mobil'de tek kolon */
    }
}
/* --- WhatsApp Butonu Stilleri --- */
.btn-whatsapp {
    background-color: #25D366; /* WhatsApp yeşili */
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1.1em;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #1DA851; /* Koyu WhatsApp yeşili */
    color: white; /* Hover'da renk değişimi olmasın */
}

.btn-whatsapp i {
    font-size: 1.3em;
}
/* --- Öğrenci Dashboard Ek Stilleri (dashboard.php) --- */
.dashboard-section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--bg-light);
    min-height: 400px; /* İçerik olana kadar en az yükseklik */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* İçeriği yukarıdan başlat */
    align-items: center;
}

.dashboard-section h2 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 2.8em;
}

.dashboard-section .section-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    color: var(--text-dark);
}

.dashboard-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    width: 100%; /* Konteynerin genişliğini kapla */
    max-width: 1000px; /* Maksimum genişlik */
}

.dashboard-info-cards .card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 180px;
}

.dashboard-info-cards .card h3 {
    color: var(--primary-red);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.dashboard-info-cards .card .stat-number {
    font-size: 2.8em;
    font-weight: bold;
    color: var(--secondary-orange);
    margin-bottom: 20px;
}

/* Kartlara özel renkler (örneğin) */
.dashboard-info-cards .card:nth-child(1) h3, .dashboard-info-cards .card:nth-child(1) .stat-number {
    color: var(--primary-red);
}
.dashboard-info-cards .card:nth-child(2) h3, .dashboard-info-cards .card:nth-child(2) .stat-number {
    color: #28a745; /* Yeşil */
}
.dashboard-info-cards .card:nth-child(3) h3, .dashboard-info-cards .card:nth-child(3) .stat-number {
    color: #6f42c1; /* Mor */
}

.dashboard-info-cards .card .btn {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: auto;
}

/* Yaklaşan Randevular Bölümü */
.upcoming-appointments-section {
    width: 100%;
    max-width: 1000px;
    text-align: center;
    margin-top: 50px;
}

.upcoming-appointments-section .section-subtitle {
    color: var(--primary-red);
    font-size: 2em;
    margin-bottom: 25px;
    position: relative;
}
.upcoming-appointments-section .section-subtitle::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 80px;
    height: 2px;
    background-color: var(--secondary-orange);
    border-radius: 5px;
}

.upcoming-appointments-section .table-container {
    overflow-x: auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 20px;
    margin-top: 20px;
}

.upcoming-appointments-section table {
    width: 100%;
    border-collapse: collapse;
}
.upcoming-appointments-section table th,
.upcoming-appointments-section table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.upcoming-appointments-section table th {
    background-color: var(--primary-red);
    color: var(--text-light);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
}
.upcoming-appointments-section table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.upcoming-appointments-section table tr:hover {
    background-color: #f1f1f1;
}
.upcoming-appointments-section .no-data-message {
    text-align: center;
    padding: 30px;
    font-size: 1.1em;
    color: #888;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.upcoming-appointments-section .no-data-message a {
    color: var(--primary-red);
    font-weight: bold;
    text-decoration: underline;
}

/* Hızlı Erişim Kartı */
.dashboard-section .card.mt-5 { /* Dashboard'daki hızlı erişim kartı */
    width: 100%;
    max-width: 1000px;
    margin-top: 40px !important;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .dashboard-section .section-title {
        font-size: 2.2em;
    }
    .dashboard-info-cards {
        grid-template-columns: 1fr;
    }
    .dashboard-info-cards .card {
        min-height: auto;
    }
    .upcoming-appointments-section .section-subtitle {
        font-size: 1.8em;
    }
    /* Tablo responsive için my-payments.php veya admin_style.css'deki genel tablo stillerini kullanabilir */
}
/* --- Randevu Onayı Sayfası Stilleri (randevuonay.php) --- */
.appointment-confirmation-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    min-height: calc(100vh - 120px);
    text-align: center;
}

.appointment-confirmation-section .section-title {
    color: var(--primary-red);
    font-size: 2.5em;
    margin-bottom: 20px;
    position: relative;
}

.appointment-confirmation-section .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 150px;
    height: 3px;
    background-color: var(--secondary-orange);
    border-radius: 5px;
}

.appointment-confirmation-section .section-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.confirmation-details-card.card {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    background-color: #fff;
    text-align: left;
}

.confirmation-details-card h3 {
    color: var(--primary-red);
    font-size: 1.8em;
    margin-bottom: 25px;
    text-align: center;
}

.confirmation-details-card .detail-item {
    margin-bottom: 15px;
}

.confirmation-details-card .detail-item h4 {
    color: var(--primary-red);
    font-size: 1.2em;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.confirmation-details-card .detail-item h4 .fas {
    margin-right: 10px;
    color: var(--secondary-orange);
}

.confirmation-details-card .detail-item p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #444;
}

.confirmation-details-card .remaining-sessions .badge {
    background-color: var(--secondary-orange);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
    margin-left: 10px;
}

.confirmation-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.confirmation-actions .btn-lg {
    padding: 15px 30px;
    font-size: 1.1em;
    width: 100%;
    max-width: 350px;
}

.no-details-message {
    font-size: 1.2em;
    color: #888;
    text-align: center;
    margin-top: 50px;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .appointment-confirmation-section .section-title {
        font-size: 2em;
    }
    .confirmation-details-card.card {
        padding: 20px;
    }
    .confirmation-details-card h3 {
        font-size: 1.6em;
    }
    .confirmation-actions .btn-lg {
        padding: 12px 20px;
        font-size: 1em;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-red);
}

ul {
    list-style: none;
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--text-light);
    border-color: var(--primary-red);
}

.btn-primary:hover {
    background-color: var(--button-hover-darken);
    border-color: var(--button-hover-darken);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-secondary:hover {
    background-color: var(--primary-red);
    color: var(--text-light);
}

.btn-login {
    background-color: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.btn-login:hover {
    background-color: var(--text-dark);
    color: var(--text-light);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
}

/* HEADER STİLLERİ */
.main-header {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .logo a {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-red);
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav .nav-links {
    display: flex;
    margin-right: 20px;
}

.main-nav .nav-links li {
    margin-left: 25px;
}

.main-nav .nav-links li a {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav .nav-links li a:hover {
    color: var(--primary-red);
}

/* Auth butonları varsayılan görünümü (PC) */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-buttons .btn {
    margin-left: 0;
}

/* Hamburger menü ikonu - Varsayılan olarak gizli */
.hamburger-menu {
    display: none;
    font-size: 1.8em;
    cursor: pointer;
    color: var(--text-dark);
}

/* --- PC İÇİN PROFİL DROPDOWN STİLLERİ (PROFİL RESİMLİ VE METİNLİ) --- */
.user-profile-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    cursor: pointer;
}

/* Profil resmi ve kullanıcı adı/ikon için tıklama alanı */
.profile-dropdown-toggle {
    background-color: var(--primary-red);
    color: white;
    padding: 5px 10px; /* Metin butonuna uygun padding */
    border: none;
    cursor: pointer;
    border-radius: 5px; /* Daha yuvarlak buton kenarları */
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px; /* Metin ve ikon arası boşluk */
    transition: background-color 0.2s ease;
    white-space: nowrap; /* Metnin tek satırda kalmasını sağlar */
}

.profile-dropdown-toggle:hover {
    background-color: var(--button-hover-darken);
}

/* Profil resmi container'ı */
/* Bu sınıf sadece profil resminin olduğu yerlerde kullanılacak */
.profile-avatar-in-header {
    width: 30px; /* Küçük avatar boyutu */
    height: 30px;
    border-radius: 50%; /* Tamamen yuvarlak */
    overflow: hidden; /* Taşmayı engelle */
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--secondary-orange); /* Küçük bir çerçeve */
    flex-shrink: 0; /* Küçülmesini engelle */
}

.profile-avatar-in-header img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi kutuya sığdır */
}

.profile-avatar-in-header .fas {
    font-size: 1.2em; /* Varsayılan ikon boyutu (eğer resim yoksa) */
    color: #ccc;
}

.profile-dropdown-toggle .username-display {
    font-size: 0.95em;
    font-weight: 500;
}

.profile-dropdown-toggle .dropdown-arrow {
    font-size: 0.8em;
}

.profile-dropdown-menu {
    display: none; /* Başlangıçta gizli */
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1001;
    right: 0;
    border-radius: 5px;
    overflow: hidden;
    padding: 5px 0;
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
    pointer-events: none; /* Gizliyken tıklanmasın */
}

.profile-dropdown-menu.show {
    display: block !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.profile-dropdown-menu .dropdown-username {
    display: block;
    padding: 10px 16px;
    font-weight: bold;
    color: var(--primary-red);
    text-align: center;
    border-bottom: 1px solid #eee;
    margin-bottom: 5px;
}

.profile-dropdown-menu .dropdown-divider {
    height: 1px;
    background-color: #eee;
    margin: 5px 0;
}

.profile-dropdown-menu a {
    color: var(--text-dark);
    padding: 10px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    transition: background-color 0.2s ease;
    font-weight: normal;
}

.profile-dropdown-menu a:hover {
    background-color: #ddd;
    color: var(--primary-red);
}

.profile-dropdown-menu a .fas {
    font-size: 1.1em;
    color: #999;
}

/* HERO BÖLÜMÜ STİLLERİ */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/hero-bg.jpg') no-repeat center center/cover;
    color: var(--text-light);
    text-align: center;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.hero-section h1 {
    font-size: 3em;
    margin-bottom: 30px;
    max-width: 800px;
    line-height: 1.2;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Fade-in Animasyonları */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}

.fade-in.delay-1 {
    animation-delay: 0.5s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FOOTER STİLLERİ */
.main-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 40px 0;
    font-size: 0.9em;
}

.main-footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h3 {
    color: var(--secondary-orange);
    margin-bottom: 15px;
    font-size: 1.2em;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--secondary-orange);
}

.social-icons a {
    color: var(--text-light);
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--secondary-orange);
}

/* --- MOBİL UYUMLULUK (Responsive Tasarım) --- */
/* Masaüstü görünümü (769px ve üzeri) */
@media (min-width: 769px) {
    .main-nav .nav-links {
        display: flex !important;
        flex-direction: row;
        margin-right: 20px;
    }

    .main-nav .nav-links li {
        margin-left: 25px;
    }

    .main-nav .auth-buttons {
        display: flex !important;
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }

    .hamburger-menu {
        display: none !important;
    }
}

/* Mobil görünüm (768px ve altı) */
@media (max-width: 768px) {
    .main-header .container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-header .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    .main-nav {
        width: 100%;
        position: relative;
        flex-direction: column;
        align-items: flex-end;
    }

    .hamburger-menu {
        display: block !important;
        font-size: 2.5em;
        color: var(--text-dark);
        position: absolute;
        top: 15px;
        right: 20px;
        z-index: 1002;
    }

    /* Menü linkleri ve auth butonları varsayılan olarak gizli */
    .main-nav .nav-links,
    .main-nav .auth-buttons {
        display: none; /* Mobil menü kapalıyken gizli */
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: var(--bg-light);
        position: absolute;
        top: 60px;
        left: 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        padding: 20px 0;
    }

    /* main-nav aktifken menüleri göster (JavaScript tarafından eklenir) */
    .main-nav.active .nav-links,
    .main-nav.active .auth-buttons {
        display: flex !important;
    }

    .main-nav.active .nav-links li,
    .main-nav.active .auth-buttons .btn,
    .main-nav.active .user-profile-dropdown {
        margin: 10px 0;
        width: 100%;
        box-sizing: border-box;
    }

    .main-nav.active .nav-links li a {
        padding: 10px 0;
        display: block;
        width: 100%;
    }

    /* Mobil menü içinde profil dropdown görünümü */
    .user-profile-dropdown {
        position: static;
        margin-left: 0;
    }

    .profile-dropdown-toggle {
        width: 100%;
        justify-content: center;
        background-color: var(--primary-red) !important;
        color: white !important;
        border: none !important;
        padding: 10px 15px;
        border-radius: 5px;
    }
    
/* Mobil menü içinde profil dropdown menüsü (düzeltildi) */
.profile-dropdown-menu {
    display: none; /* Varsayılan olarak menüyü GİZLE */
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    border-top: 1px solid #ccc;
    background-color: #f0f0f0;
    padding: 0;
    flex-direction: column;
}

/* JavaScript tarafından .show sınıfı eklendiğinde menüyü GÖSTER */
.profile-dropdown-menu.show {
    display: flex; 
}
    .profile-dropdown-menu a {
        justify-content: center;
        padding: 10px !important;
        background-color: transparent !important;
        color: var(--text-dark) !important;
    }
    .profile-dropdown-menu a:hover {
        background-color: #ccc !important;
        color: var(--primary-red) !important;
    }
}
/* --- MOBİL HEADER HİZALAMA DÜZELTMESİ --- */
@media (max-width: 768px) {
  /* Header'ı tek satırda hizalamak için */
  .main-header .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between; /* Logoyu sola, menüyü sağa yaslar */
    align-items: center; /* Dikey olarak ortalar */
    flex-wrap: nowrap; /* Öğelerin alt satıra kaymasını engeller */
    /* Gerekirse header yüksekliğini sabitleyebilirsiniz */
    /* height: 60px; */ 
  }

  /* Logonun tüm satırı kaplamasını engellemek için */
  .main-header .logo {
    width: auto;
    margin-bottom: 0;
    text-align: left;
  }
  
  /* Hamburger menünün pozisyonunu sıfırlamak için */
  .hamburger-menu {
    position: static; /* Absolute konumlandırmayı kaldır */
    font-size: 2.2em; /* Boyutunu ayarlayabilirsiniz */
    display: block !important;
  }

  /* Navigasyon sarmalayıcısının gereksiz stillerini sıfırla */
  .main-nav {
      position: static;
      width: auto;
      flex-direction: row;
      align-items: center;
  }

  /* Açılan menünün pozisyonunu ayarla */
  /* Bu blok, menü açıldığında içeriğin nereden başlayacağını belirler */
  .main-nav.active .nav-links,
  .main-nav.active .auth-buttons {
      position: absolute;
      top: 65px; /* Bu değeri kendi header yüksekliğinize göre ayarlamanız gerekebilir */
      left: 0;
      width: 100%;
  }
}
/* --- MOBİL MENÜNÜN TAMAMINI DÜZELTEN KOD --- */
@media (max-width: 768px) {
    
    /* Önceki adımdaki hatalı konumlandırmayı iptal et */
    .main-nav.active .nav-links,
    .main-nav.active .auth-buttons {
        position: static;
        box-shadow: none;
    }

    /* Menü açıldığında ana sarmalayıcıyı (main-nav) konumlandır */
    .main-nav.active {
        display: flex;
        flex-direction: column; /* Tüm içeriği alt alta sırala */
        align-items: center; /* Öğeleri ortala */
        gap: 15px; /* Öğeler arasına boşluk koy (butonlar ve link listesi arasına) */
        
        position: absolute;
        top: 70px; /* Header'ın hemen altına */
        left: 0;
        width: 100%;
        padding: 20px 0; /* İçerik için üst ve alt boşluk */
        
        background-color: var(--bg-light);
        box-shadow: 0 5px 10px rgba(0,0,0,0.15);
        z-index: 1000;
    }

    /* Açık menü içindeki linkleri ve butonları göster */
    .main-nav.active .nav-links,
    .main-nav.active .auth-buttons {
        display: flex;
        flex-direction: column;
        width: 90%; /* Genişlikleri %90 olsun */
        gap: 10px; /* Kendi içlerindeki boşluk */
    }

    /* Butonların kenarlarında kalan gereksiz boşlukları sıfırla */
    .main-nav.active .auth-buttons .btn {
        margin: 0;
    }
}
/* --- RANDEVU YENİDEN PLANLAMA SAYFASI STİLLERİ --- */

.reschedule-appointment-section {
    padding: 60px 20px;
    background-color: #f9f9f9; /* Sayfa arka planını hafif gri yapalım */
    min-height: calc(100vh - 150px); /* Sayfanın en az ekran boyunda olmasını sağla */
    text-align: center;
}

/* Sayfa başlığı için genel stil (zaten olabilir ama özelleştirelim) */
.reschedule-appointment-section .section-title {
    color: var(--primary-red);
    font-size: 2.5em;
    margin-bottom: 15px;
}

.reschedule-appointment-section .section-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Mevcut randevu detaylarını gösteren kart */
.current-appointment-details.card {
    max-width: 500px;
    margin: 0 auto 40px auto;
    padding: 25px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 5px solid var(--primary-red); /* Sol kenara vurgu */
    text-align: left;
}

.current-appointment-details.card h3 {
    color: var(--primary-red);
    font-size: 1.6em;
    margin-bottom: 20px;
    text-align: center;
}

.current-appointment-details.card p {
    font-size: 1.1em;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.current-appointment-details.card p strong {
    color: #555;
    min-width: 70px;
    display: inline-block;
}

/* "Yeni Zaman Dilimi Seç" ara başlığı */
.reschedule-appointment-section .section-subtitle {
    font-size: 1.8em;
    color: var(--text-dark);
    margin-bottom: 25px;
    margin-top: 40px; /* .mt-5 Bootstrap class'ı yerine */
}

/* Müsait saatleri gösteren grid yapısı (book_appointment.php'deki ile benzer) */
.available-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 30px auto;
}

.slot-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.slot-card .slot-time .date {
    font-weight: bold;
    color: var(--primary-red);
    margin-bottom: 5px;
    font-size: 1.1em;
}

.slot-card .slot-time .time {
    font-weight: bold;
    color: var(--secondary-orange);
    font-size: 1.4em;
    margin-bottom: 15px;
}

.slot-card .btn-sm {
    width: 100%;
}

/* Mesaj kutuları için (müsait saat yok, hata vb.) */
.no-slots-message,
.no-details-message {
    background-color: #fef3cd;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    max-width: 700px;
    margin: 20px auto;
    border: 1px solid #ffeeba;
}

/* Butonlar için ek boşluklar */
.reschedule-appointment-section .btn-lg {
    margin-top: 20px; /* .mt-3 Bootstrap class'ı yerine */
}
/* --- RANDEVU ONAY SAYFASI EK STİLLERİ --- */
.confirmation-details-card .detail-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}
.confirmation-details-card .detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.confirmation-details-card .detail-item h4 {
    color: var(--primary-red);
    font-size: 1.1em;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}
.confirmation-details-card .detail-item h4 .fas {
    margin-right: 10px;
    color: var(--secondary-orange);
}
.confirmation-details-card .detail-item p {
    font-size: 1.2em;
    font-weight: 500;
    color: #333;
    padding-left: 25px; /* İkon ile hizalı */
}
/* Yeniden planlamadaki eski ve yeni tarihleri vurgula */
.detail-item.original-appointment p {
    text-decoration: line-through;
    color: #999;
}
.detail-item.new-appointment p {
    font-weight: bold;
    color: #28a745; /* Yeşil */
}
/* --- Öğrenci Dashboard Ek Stilleri (dashboard.php) --- */
.dashboard-section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--bg-light);
    min-height: 400px; /* İçerik olana kadar en az yükseklik */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* İçeriği yukarıdan başlat */
    align-items: center;
}

.dashboard-section h2 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 2.8em;
}

.dashboard-section .section-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    color: var(--text-dark);
}

.dashboard-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    width: 100%; /* Konteynerin genişliğini kapla */
    max-width: 1000px; /* Maksimum genişlik */
}

.dashboard-info-cards .card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 180px;
}

.dashboard-info-cards .card h3 {
    color: var(--primary-red);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.dashboard-info-cards .card .stat-number {
    font-size: 2.8em;
    font-weight: bold;
    color: var(--secondary-orange);
    margin-bottom: 20px;
}

/* Kartlara özel renkler (örneğin) */
.dashboard-info-cards .card:nth-child(1) h3, .dashboard-info-cards .card:nth-child(1) .stat-number {
    color: var(--primary-red);
}
.dashboard-info-cards .card:nth-child(2) h3, .dashboard-info-cards .card:nth-child(2) .stat-number {
    color: #28a745; /* Yeşil */
}
.dashboard-info-cards .card:nth-child(3) h3, .dashboard-info-cards .card:nth-child(3) .stat-number {
    color: #6f42c1; /* Mor */
}

.dashboard-info-cards .card .btn {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: auto;
}

/* Yaklaşan Randevular Bölümü */
.upcoming-appointments-section {
    width: 100%;
    max-width: 1000px;
    text-align: center;
    margin-top: 50px;
}

.upcoming-appointments-section .section-subtitle {
    color: var(--primary-red);
    font-size: 2em;
    margin-bottom: 25px;
    position: relative;
}
.upcoming-appointments-section .section-subtitle::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 80px;
    height: 2px;
    background-color: var(--secondary-orange);
    border-radius: 5px;
}

.upcoming-appointments-section .table-container {
    overflow-x: auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 20px;
    margin-top: 20px;
}

.upcoming-appointments-section table {
    width: 100%;
    border-collapse: collapse;
}
.upcoming-appointments-section table th,
.upcoming-appointments-section table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.upcoming-appointments-section table th {
    background-color: var(--primary-red);
    color: var(--text-light);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
}
.upcoming-appointments-section table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.upcoming-appointments-section table tr:hover {
    background-color: #f1f1f1;
}
.upcoming-appointments-section .no-data-message {
    text-align: center;
    padding: 30px;
    font-size: 1.1em;
    color: #888;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.upcoming-appointments-section .no-data-message a {
    color: var(--primary-red);
    font-weight: bold;
    text-decoration: underline;
}

/* Hızlı Erişim Kartı */
.dashboard-section .card.mt-5 {
    width: 100%;
    max-width: 1000px;
    margin-top: 40px !important;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .dashboard-section .section-title {
        font-size: 2.2em;
    }
    .dashboard-info-cards {
        grid-template-columns: 1fr;
    }
    .dashboard-info-cards .card {
        min-height: auto;
    }
    .upcoming-appointments-section .section-subtitle {
        font-size: 1.8em;
    }
}
/* --- Veri Analizi Rapor Kartı Stilleri (dashboard.php - Öğrenci) --- */
.dashboard-section .card.mt-4 { /* Genel kart stili, dashboard.php'deki bu kartı hedefliyor */
    margin-top: 30px !important; /* Üstten biraz boşluk */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    background-color: #fff;
    text-align: center;
    max-width: 800px; /* Daha geniş bir kart */
    margin-left: auto;
    margin-right: auto;
}

.dashboard-section .card.mt-4 h3 {
    color: var(--primary-red); /* Ana renk */
    font-size: 1.6em;
    margin-bottom: 15px;
}

.dashboard-section .card.mt-4 p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
}

.dashboard-section .card.mt-4 .btn {
    margin-top: 0; /* Karttaki butonun üst boşluğunu sıfırla, card padding ile veriliyor */
    padding: 10px 25px;
    font-size: 1em;
}

.dashboard-section .card.mt-4 .btn-info { /* Özel buton rengi */
    background-color: #17a2b8;
    color: white;
}

.dashboard-section .card.mt-4 .btn-info:hover {
    background-color: #138496;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .dashboard-section .card.mt-4 {
        padding: 20px;
    }
    .dashboard-section .card.mt-4 h3 {
        font-size: 1.4em;
    }
    .dashboard-section .card.mt-4 p {
        font-size: 1em;
    }
    .dashboard-section .card.mt-4 .btn {
        width: 100%; /* Mobil'de tam genişlik */
    }
}