/* Doktorlar Listesi - Grid Kart Tasarımı */

/* Hero Section */
.specialty-hero,
.doctors-hero {
    position: relative;
    background-size: cover;
    background-attachment: fixed;    padding: 200px 0 60px 0; /* Üstten daha fazla padding, alttan daha az */
    min-height: 400px;
    margin-top: -80px; /* Header yüksekliği kadar yukarı çek */
    padding-top: 220px; /* Header yüksekliği + daha fazla padding */
    padding-bottom:24px;
    width: 100vw; /* Tam genişlik */
    margin-left: calc(-50vw + 50%); /* Container dışına taş */
    margin-right: calc(-50vw + 50%); /* Container dışına taş */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.specialty-hero {
    background: url('/images/hero-bg.jpg') center center;
    background-size: cover;
    background-position: center;
}

.doctors-hero {
    background-size: cover;
    background-position: center;
}

/* Uzmanlık detay sayfası için özel stil */
.doctors-hero[style*="background-image"] {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Başlıkları sola yaslama */
.page-header.text-left {
    text-align: left !important;
}

.page-header.text-left .page-title {
    text-align: left !important;
}

.page-header.text-left .page-subtitle {
    text-align: left !important;
    margin-left: 0 !important;
}

/* Hero içindeki metinler ortalı olsun */
.doctors-hero .page-header {
    text-align: center !important;
}

.doctors-hero .page-header .page-title {
    text-align: center !important;
}

.doctors-hero .page-header .page-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Hero doktorlar bölümü */
.hero-doctors-section {
    margin: 2rem 0;
    text-align: left;
}

.hero-doctors-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.hero-doctors-subtitle {
    font-size: 1rem;
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

/* Standart section header stilleri */
.section-header {
    margin-bottom: 2rem;
    border-bottom: none !important;
}

.section-header.text-left {
    text-align: left !important;
    border-bottom: none !important;
}





/* Dinamik paragraf stili - Standart paragraf */
.specialty-intro {
    margin: 2rem 0;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* Uzmanlık detayları section - KALDIRILDI */
.specialty-details {
    display: none;
}



/* Uzmanlık detayları section */
.specialty-details {
    padding: 3rem 0;
    background: #ffffff;
}

.specialty-details .section-header {
    margin-bottom: 2rem;
}

.specialty-details .section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.specialty-details .section-subtitle {
    font-size: 1rem;
    color: #718096;
    max-width: 500px;
    margin: 0 auto;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.detail-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.detail-card:hover {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: #dee2e6;
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: #007bff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.detail-icon i {
    color: white;
    font-size: 1rem;
}

.detail-content {
    flex: 1;
}

.detail-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.detail-text {
    color: #4a5568;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .specialty-details {
        padding: 2rem 0;
    }

    .specialty-details .section-title {
        font-size: 1.5rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .detail-card {
        padding: 1rem;
    }

    .detail-icon {
        width: 35px;
        height: 35px;
    }

    .detail-icon i {
        font-size: 0.9rem;
    }



    /* Mobil için dinamik paragraf */
    .specialty-intro {
        margin: 1rem 0;
    }

    .intro-text {
        font-size: 1rem;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.doctors-page {
    padding: 1rem 0; /* Padding'i azalt */
    background: #fff;
}

.page-header {
    text-align: center;
    margin-bottom: 2rem; /* Margin'i azalt */
    padding: 1rem 0; /* Padding'i azalt */
}

.page-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0 auto;
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Hero içindeki yazılar için */
.specialty-hero .page-title {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.specialty-hero .page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 700px;
}

.doctors-hero .page-title {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.doctors-hero .page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 700px;
}

.hero-details {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-item {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item strong {
    color: white;
    font-weight: 600;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doctors-list {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    margin-top: 2rem;
}

/* Container içindeki doctors-list için */
.container .doctors-list {
    max-width: none;
    margin: 0;
    padding: 0;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.doctor-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem 1.5rem 0 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.doctor-header {
    text-align: center;
    margin-bottom: 1rem;
}

.doctor-photo {
    margin-bottom: 1rem;
}

.doctor-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e9ecef;
    margin: 0 auto;
}

.doctor-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #e9ecef;
    margin: 0 auto;
}

.doctor-placeholder i {
    font-size: 2.5rem;
    color: #999;
}

.doctor-info {
    margin-bottom: 0.5rem;
}

.doctor-name {
    margin-bottom: 0.75rem;
}

.doctor-name a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.3;
    display: block;
}

.doctor-name a:hover {
    color: #007bff;
}

.doctor-hospital {
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.4;
}

.doctor-hospital i {
    color: #666;
    font-size: 0.8rem;
}

.doctor-actions {
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    justify-content: center;
}

.btn-detail {
    background: #007bff;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 12px 12px;
}

.btn-detail:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
    transform: none;
}


/* Tablet */
@media (max-width: 1024px) {
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .doctor-card {
        padding: 1.25rem;
    }
    
    .doctor-image,
    .doctor-placeholder {
        width: 80px;
        height: 80px;
    }
    
    .doctor-placeholder i {
        font-size: 2rem;
    }
    
    .doctor-name a {
        font-size: 1.1rem;
    }
    
    .doctor-hospital {
        font-size: 0.85rem;
    }
}

/* Mobil */
@media (max-width: 768px) {
    .specialty-hero {
        padding: 100px 0 60px 0;
        min-height: 300px;
    }
    
    .specialty-hero .page-title {
        font-size: 2rem;
    }
    
    .specialty-hero .page-subtitle {
        font-size: 1rem;
    }
    
    .doctors-hero .page-title {
        font-size: 2rem;
    }
    
    .doctors-hero .page-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 2rem;
        margin-top: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-details {
        margin-top: 1.5rem;
        padding: 1rem;
    }
    
    .detail-item {
        font-size: 0.9rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .doctors-list {
        padding: 0 1rem;
    }
    
    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .doctor-card {
        padding: 1.5rem;
    }
    
    .doctor-image,
    .doctor-placeholder {
        width: 90px;
        height: 90px;
    }
    
    .doctor-placeholder i {
        font-size: 2.2rem;
    }
    
    .doctor-name a {
        font-size: 1.3rem;
    }
    
    .doctor-hospital {
        font-size: 0.9rem;
    }
    
    .doctor-actions {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }
    
    .btn-detail {
        flex: 1;
        font-size: 0.85rem;
        padding: 0.75rem 0.5rem;
    }
} 

/* Doktor Kartları - Güçlü seçiciler */
html body .doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* Tablet için 2 sütun */
@media (max-width: 1024px) and (min-width: 768px) {
    html body .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Mobil için 1 sütun */
@media (max-width: 767px) {
    html body .doctors-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

html body .doctor-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

html body .doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

html body .doctor-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #f7fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 3px solid #e2e8f0;
}

html body .doctor-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

html body .doctor-photo i {
    font-size: 2.5rem;
    color: #cbd5e0;
}

html body .doctor-info {
    text-align: center;
}

html body .doctor-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

html body .doctor-name a {
    color: inherit;
    text-decoration: none;
}

html body .doctor-hospital {
    font-size: 1rem;
    color: #718096;
    margin-bottom: 1.5rem;
}

html body .doctor-actions {
    text-align: center;
}

html body .doctor-actions .btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

html body .doctor-actions .btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
} 