/* --- 1. Değişkenler ve Temel Ayarlar --- */
:root {
    --main-green: #2D8B75;
    --dark-green: #1f5e4f;
    --gold: #B88E2F;
    --light-bg: #f4f9f8;
    --white: #ffffff;
    --text-color: #333;
    --gray-text: #666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

/* --- 2. Navigasyon (Header) --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header .logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--main-green);
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--gold);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--main-green);
    cursor: pointer;
}

/* --- 3. Hero / Slider Bölümü --- */
.mySwiper {
    width: 100%;
    height: 650px; /* Sabit bir yükseklik standardı her zaman daha güvenlidir */
    position: relative;
    overflow: hidden;
    background-color: #f4f9f8; /* Resim yüklenene kadar boş durmasın */
}

.swiper-slide {
    background-size: cover;       /* Resmi alanı kaplayacak şekilde ölçekler */
    background-position: center;   /* Resmi merkeze odaklar */
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
}

/* Mobilde slider yüksekliğini azaltalım ki ekranı kaplamasın */
@media (max-width: 768px) {
    .mySwiper {
        height: 500px; /* Mobilde daha makul bir yükseklik */
    }
    .swiper-slide {
        background-position: 70% center; /* Mobilde doktorun görünmesi için hafif kaydırdık */
    }
}

.hero-content {
    position: relative;
    z-index: 100; /* Wave-container (20) ve Before'dan (1) daha yüksek olmalı */
    max-width: 600px;
    /* Tıklamaları aktif edin */
    pointer-events: auto; 
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--dark-green);
    margin-bottom: 15px;
}

.hero-content h1 span {
    color: var(--gold);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--gray-text);
}
.hero-buttons {
    display: flex;
    gap: 15px;
    position: relative;
    z-index: 110;
}

/* Butonlar */
.btn {
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
}

hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
    margin: 25px 0;
}

.btn-gold { background-color: var(--gold); }
.btn-gold:hover { background-color: #a07b26; transform: translateY(-2px); }

.btn-green { background-color: var(--main-green); }
.btn-green:hover { background-color: var(--dark-green); transform: translateY(-2px); }

/* Dalga Efekti */
.wave-container {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 10; /* Z-index'i biraz düşürdük */
    line-height: 0;
    /* Dalga görseli butonların üzerine gelse bile tıklamayı engellemez */
    pointer-events: none; 
}

.wave-container svg {
    width: 100%;
    height: auto;
}

/* --- 4. Hizmetler (Services) --- */
.services {
    position: relative;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 0 10% 60px 10%;
    margin-top: -60px; /* Dalganın üzerine bindirme */
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 2.8rem;
    color: var(--main-green);
    margin-bottom: 20px;
}

/* --- 5. Doktor Profili --- */
/* --- Doktor Kartı Modernizasyonu --- */
.doctor-profile {
    background: #fff;
    padding: 60px 10%;
}

.doctor-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #e0f2ee 0%, #ffffff 100%); /* Resimdeki soft yeşil geçiş */
    border-radius: 30px; /* Daha yuvarlak köşeler */
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    border: 1px solid rgba(45, 139, 117, 0.1);
}

.doctor-img img {
    width: 180px;
    height: 180px;
    border-radius: 20px; /* Resimdeki gibi hafif karemsi-yuvarlak */
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.doctor-info {
    padding-left: 50px;
    position: relative;
    z-index: 2;
}

.doctor-info h2 {
    color: var(--dark-green);
    font-size: 2rem;
    margin-bottom: 5px;
}

.title-line {
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    margin-bottom: 20px;
    border-radius: 2px;
}

/* Dekoratif Patiler */
.paw-1, .paw-2 {
    position: absolute;
    color: rgba(45, 139, 117, 0.1); /* Çok hafif şeffaf yeşil */
    font-size: 4rem;
    z-index: 1;
}
.paw-1 { right: 40px; bottom: 20px; transform: rotate(-15deg); }
.paw-2 { right: 120px; bottom: 50px; font-size: 2.5rem; transform: rotate(10deg); }

/* --- Randevu Bölümü (Resimdeki gibi) --- */
.appointment {
    text-align: center;
    padding: 40px 10%;
    background: #fff;
}

.appointment-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.appointment-header h2 {
    color: var(--dark-green);
    font-size: 2.2rem;
    font-weight: 700;
}

/* Altın rengi pati ikonları */
.paw-icon-gold {
    color: var(--gold); /* Mevcut #B88E2F rengin */
    font-size: 1.2rem;
    opacity: 0.8;
    /* İkonlara hafif bir eğim vererek daha doğal durmasını sağlayabilirsin */
}

.paw-icon-gold:first-child {
    transform: rotate(-15deg);
}

.paw-icon-gold:last-child {
    transform: rotate(15deg);
}

/* Resimdeki o ince ayırıcı çizgi */
.section-divider {
    width: 100%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
    margin: 15px auto 25px auto;
}

.appointment p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

/* Butonları yan yana ve resimdeki renklere yaklaştır */
.appointment-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-gold { 
    background-color: #b38e45 !important; 
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(179, 142, 69, 0.3);
}

.btn-green { 
    background-color: #2d7a60 !important; 
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(45, 122, 96, 0.3);
}
 

/* --- 7. İletişim ve Harita --- */
.contact-section {
    padding: 60px 10%;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.contact-details ul {
    list-style: none;
    margin-top: 20px;
}

.contact-details ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-details i {
    color: var(--main-green);
    font-size: 1.3rem;
}

.section-padding { padding: 80px 0; }

.about-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('img/hero-bg.jpg');
    background-size: cover;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.stats-bar {
    background-color: #38929f; /* Koyu profesyonel ton */
    color: #fff;
    padding: 50px 0;
}

.stat-item h3 { font-size: 2.5rem; margin-bottom: 5px; }

.principle-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
    margin-bottom: 20px;
}

.principle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.principle-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Genel Düzenlemeler */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-6, .col-md-4 {
    padding: 0 15px;
    position: relative;
    width: 100%;
}

@media (min-width: 768px) {
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
}

/* Hakkımızda Hero */
.about-hero {
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('../images/background_1.png') center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}

/* İstatistik Bandı */
.stats-bar {
    background: #38929f; /* Koyu modern ton */
    color: #fff;
    padding: 60px 0;
}

.stat-item span {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e67e22; /* Vurgu rengi */
}

/* Neden Biz Kartları */
.principle-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.principle-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

/* --- 8. Slogan Barı & Footer --- */
.slogan-bar {
    background: linear-gradient(90deg, #dcf0eb 0%, #ffffff 50%, #dcf0eb 100%);
    padding: 25px 0;
    display: flex;
    justify-content: center;
    gap: 50px;
    border-top: 1px solid #eee;
    font-weight: 600;
}

.slogan-item { display: flex; align-items: center; gap: 10px; color: var(--main-green); }

footer {
    padding: 50px 0 30px 0;
    text-align: center;
}
 
/* Konteyner Ayarları */
.social-links {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px; /* Butonlar arası boşluk */
    margin-bottom: 25px;
    padding: 10px;
}

/* Ana Buton Yapısı */
.social-links a {
    position: relative;
    width: 55px; /* Biraz daha geniş ve ferah */
    height: 55px;
    background: var(--main-green, #2ecc71);
    color: #ffffff;
    border-radius: 50%; /* Tam yuvarlak */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 22px; /* İkon boyutu */
    z-index: 1;
    overflow: hidden; /* Taşmaları önler */
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Yaylanma efekti */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Hover (Üzerine Gelince) Durumu */
.social-links a:hover {
    color: #ffffff;
    background: var(--gold, #f1c40f);
    transform: translateY(-7px); /* Yukarı zıplama efekti */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Arka Plandaki Parlama Efekti (Opsiyonel/Görsel derinlik katar) */
.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: -1;
}

.social-links a:hover::before {
    transform: scale(1.2);
    opacity: 0;
}

/* İkonun Kendisine Hafif Bir Hareket Verelim */
.social-links a i {
    transition: all 0.3s ease;
}

.social-links a:hover i {
    transform: scale(1.2); /* İkon hoverda biraz büyür */
}
/* --- 9. Mobil Uyumluluk (Responsive) --- */
@media (max-width: 992px) {
    .contact-container { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    nav.active { display: block; }
    nav ul { flex-direction: column; align-items: center; gap: 15px; }
    nav ul li { margin: 0; }

    .mySwiper { height: 60vh; }
    .swiper-slide { 
        background-position: 75% center; 
        text-align: center;
        justify-content: center;
    }
	
	.swiper-slide::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%; /* Gölgeyi tüm alana yayalım */
		height: 100%;
		/* Soldan sağa doğru beyazdan şeffafa yumuşak bir geçiş */
		background: linear-gradient(to right, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
		z-index: 1;
	}

    .doctor-card { 
        flex-direction: column; 
        border-radius: 30px; 
        padding: 40px 20px;
    }
    .doctor-info { padding-left: 0; text-align: center; margin-top: 20px; }

    .appointment { text-align: center; }
    .appointment-btns { flex-direction: column; align-items: center; }
    .appointment-btns .btn { width: 100%; }

    .slogan-bar { flex-direction: column; gap: 15px; }
}

/* Swiper Ok/Nokta Özelleştirme */
.swiper-button-next, .swiper-button-prev { color: var(--main-green); transform: scale(0.7); }
.swiper-pagination-bullet-active { background: var(--main-green); }

/* Resmin div dışına taşmasını engeller */
.about-img img {
    width: 100%;       /* Div'in genişliğine tam oturmasını sağlar */
    height: auto;      /* Orantıyı bozmadan yüksekliği ayarlar */
    display: block;    /* Alt kısımdaki boşlukları engeller */
    object-fit: cover; /* Resmin div içinde düzgün yayılmasını sağlar */
}

/* Eğer resmin köşelerini yuvarlatmak isterseniz (opsiyonel) */
.about-img {
    overflow: hidden; /* Taşmaları garanti altına almak için */
    border-radius: 15px; 
}

/* Hizmetler Hero */
.services-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.2), rgba(44, 62, 80, 0.2)), url('../images/background_1.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

/* Hizmet Kart Tasarımı */
.service-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    margin-bottom: 30px;
    height: calc(100% - 30px); /* Kartların boyunu eşitlemek için */
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #38929f;
}

.service-icon {
    font-size: 3rem;
    color: #38929f;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 600;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

/* Responsive Resim Kuralı (İhtiyaç Halinde) */
.service-card img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    border-radius: 8px;
}

/* İletişim Hero */
.contact-hero {
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('../images/background_1.png') center/cover;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

/* Bilgi Maddeleri */
.info-item {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: #38929f;
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: #2c3e50;
}

/* Form Tasarımı */
.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.btn-submit {
    background: #38929f;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #2980b9;
}

/* Harita */
.map-section {
    line-height: 0;
}


.contact-card {
    background: #fff;
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: #38929f;
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: #38929f;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-card p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 10px;
}
 

.card-link {
    color: #38929f;
    text-decoration: underline;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-tag {
    font-size: 0.8rem;
    background: #ebf5fb;
    color: #2980b9;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 10px;
}

/* Page Header Genel Alanı */
.page-header {
    background-color: #f7f7f7; /* Hafif gri arka plan */
    border-bottom: 5px solid #3498db; /* Alt kısımdaki renkli çizgi */
    padding: 60px 0;
    margin-bottom: 40px;
    position: relative;
}

/* Başlık Stili */
.page-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    display: inline-block;
}

/* Başlık Altındaki Çizgi (data-title-border efekti) */
.page-header h1[data-title-border]::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #3498db;
    margin-top: 10px;
}

/* Breadcrumb (Navigasyon) Stili */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 0.9rem;
}

.breadcrumb li {
    display: inline-block;
}

.breadcrumb li a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb li a:hover {
    color: #3498db;
}

/* Sayfa adı için (Breadcrumb'ın aktif kısmı) */
.breadcrumb li::before {
    content: "/";
    padding: 0 10px;
    color: #ccc;
}

/* İlk elemandaki slaş işaretini kaldır */
.breadcrumb li:first-child::before {
    display: none;
}

/* Mobil Düzenleme */
@media (max-width: 767px) {
    .page-header {
        text-align: center;
        padding: 40px 0;
    }
    
    .breadcrumb {
        text-align: center !important;
        margin-bottom: 15px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header h1[data-title-border]::after {
        margin: 10px auto 0; /* Mobilde çizgiyi ortalar */
    }
}