/* Tedavi-detay.css - Tedavi Detay Sayfası */

/* Genel Ayarlar */
body {
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Breadcrumb Section */
.breadcrumb-section {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #dee2e6;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.breadcrumb-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d;
    margin: 0 8px;
}

/* Tedavi Detay Section */
.tedavi-detay-section {
    padding: 40px 0;
}

/* Tedavi Content */
.tedavi-content {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

/* Tedavi Header */
.tedavi-header {
    padding: 40px 40px 20px;
    border-bottom: 1px solid #f1f1f1;
}

.tedavi-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.tedavi-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
}

.meta-item i {
    color: #007bff;
    width: 16px;
}

/* Tedavi Image */
.tedavi-image {
    padding: 0;
}

.tedavi-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Tedavi Body */
.tedavi-body {
    padding: 40px;
    font-size: 16px;
    line-height: 1.8;
    color: #2c3e50;
}

.tedavi-body h2,
.tedavi-body h3,
.tedavi-body h4 {
    color: #2c3e50;
    font-weight: 600;
    margin: 30px 0 15px 0;
}

.tedavi-body h2 {
    font-size: 1.8rem;
    border-left: 4px solid #007bff;
    padding-left: 15px;
}

.tedavi-body h3 {
    font-size: 1.5rem;
}

.tedavi-body h4 {
    font-size: 1.3rem;
}

.tedavi-body p {
    margin-bottom: 20px;
}

.tedavi-body ul,
.tedavi-body ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.tedavi-body li {
    margin-bottom: 8px;
}

.tedavi-body a {
    color: #007bff;
    text-decoration: none;
}

.tedavi-body a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Share Section */
.share-section {
    padding: 30px 40px;
    background: #f8f9fa;
    border-top: 1px solid #f1f1f1;
}

.share-section h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.share-btn.facebook {
    background: #3b5998;
    color: #fff;
}

.share-btn.facebook:hover {
    background: #2d4373;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.share-btn.twitter {
    background: #1da1f2;
    color: #fff;
}

.share-btn.twitter:hover {
    background: #0d95e8;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.share-btn.whatsapp {
    background: #25d366;
    color: #fff;
}

.share-btn.whatsapp:hover {
    background: #20ba5a;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.share-btn.copy {
    background: #6c757d;
    color: #fff;
}

.share-btn.copy:hover {
    background: #545b62;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Sidebar */
.tedavi-sidebar {
    position: sticky;
    top: 100px;
}

/* Sidebar Widget */
.sidebar-widget {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.sidebar-widget h4 {
    background: #007bff;
    color: #fff;
    padding: 20px 25px;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Contact Widget */
.contact-info {
    padding: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f1f1;
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-item i {
    color: #007bff;
    font-size: 18px;
    width: 20px;
    margin-top: 3px;
}

.contact-item div strong {
    display: block;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-item div a {
    color: #007bff;
    text-decoration: none;
}

.contact-item div a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.contact-item div span {
    color: #6c757d;
}

.appointment-btn {
    display: block;
    background: #28a745;
    color: #fff;
    text-align: center;
    padding: 15px 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.appointment-btn:hover {
    background: #218838;
    color: #fff;
    text-decoration: none;
}

/* Summary Widget */
.summary-content {
    padding: 25px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f1f1;
}

.summary-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.summary-item strong {
    color: #2c3e50;
    font-weight: 600;
    min-width: 120px;
}

.summary-item span {
    color: #6c757d;
    text-align: right;
    flex: 1;
}

/* Related Treatments */
.related-treatments {
    padding: 60px 0;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h3 {
    font-size: 2.2rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #6c757d;
    margin: 0;
}

/* Related Card */
.related-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.related-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.related-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.related-card:hover .related-overlay {
    opacity: 1;
}

.related-btn {
    background: #007bff;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-btn:hover {
    background: #0056b3;
    color: #fff;
    text-decoration: none;
    transform: scale(1.1);
}

.related-content {
    padding: 25px;
}

.related-content h5 {
    margin-bottom: 15px;
}

.related-content h5 a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
}

.related-content h5 a:hover {
    color: #007bff;
}

.related-content p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0056b3;
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .tedavi-sidebar {
        position: static;
        top: auto;
        margin-top: 40px;
    }
    
    .tedavi-header h1 {
        font-size: 2.2rem;
    }
    
    .section-header h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .tedavi-detay-section {
        padding: 20px 0;
    }
    
    .tedavi-header {
        padding: 30px 20px 15px;
    }
    
    .tedavi-header h1 {
        font-size: 2rem;
    }
    
    .tedavi-meta {
        gap: 15px;
    }
    
    .tedavi-image img {
        height: 300px;
    }
    
    .tedavi-body {
        padding: 30px 20px;
    }
    
    .share-section {
        padding: 20px;
    }
    
    .share-buttons {
        gap: 10px;
    }
    
    .share-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .contact-info,
    .summary-content {
        padding: 20px;
    }
    
    .related-treatments {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h3 {
        font-size: 1.8rem;
    }
    
    .related-content {
        padding: 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .tedavi-header h1 {
        font-size: 1.8rem;
    }
    
    .tedavi-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .tedavi-image img {
        height: 250px;
    }
    
    .tedavi-body {
        padding: 20px 15px;
        font-size: 15px;
    }
    
    .tedavi-body h2 {
        font-size: 1.5rem;
        padding-left: 10px;
    }
    
    .share-section {
        padding: 15px;
    }
    
    .share-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .share-btn {
        text-align: center;
        justify-content: center;
    }
    
    .contact-info,
    .summary-content {
        padding: 15px;
    }
    
    .contact-item {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .summary-item {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }
    
    .summary-item span {
        text-align: left;
    }
    
    .section-header h3 {
        font-size: 1.6rem;
    }
    
    .related-image {
        height: 180px;
    }
    
    .related-content {
        padding: 15px;
    }
    
    .related-content h5 a {
        font-size: 1.1rem;
    }
}