/* ===== GLOBAL STİLLER VE RESETLEME ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #0a4d68;    /* Güven veren koyu mavi */
    --secondary-color: #088395; /* Canlı turkuaz */
    --light-bg: #f4f9f9;         /* Çok açık arka plan rengi */
    --text-color: #333;
    --white-color: #ffffff;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Lato', sans-serif;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.section-title {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 50px;
}

/* ===== HEADER (ÜST BİLGİ) ===== */
header {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
}

.desktop-nav ul li {
    margin-left: 30px;
}

.desktop-nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-family: var(--heading-font);
    transition: color 0.3s ease;
}

.desktop-nav ul li a:hover {
    color: var(--secondary-color);
}

.cta-button {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #066a7a;
}

/* ===== MOBİL MENÜ VE HAMBURGER ===== */
.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background-color: var(--white-color);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu ul {
    list-style: none;
    padding: 20px;
}

.mobile-menu ul li {
    text-align: center;
    margin-bottom: 15px;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--heading-font);
}

.mobile-menu.show {
    display: block;
}

/* ===== HERO (KARŞILAMA EKRANI) ===== */
#hero {
    height: 90vh;
    /* background: ... satırı silindi */
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white-color);
    overflow: hidden; /* Dışarı taşan slide'ları gizlemek için eklendi */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 77, 104, 0.7); /* Koyu mavi yarı-şeffaf katman */
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

#hero h1 {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

#hero h2 {
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    text-decoration: none;
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin: 5px;
    font-family: var(--heading-font);
}
.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white-color);
}
.btn-primary:hover {
    background-color: var(--white-color);
    color: var(--secondary-color);
}
.btn-secondary {
    background-color: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
}
.btn-secondary:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
}

/* ===== HAKKINDA BÖLÜMÜ ===== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.about-text h3 {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

/* ===== TEDAVİLER BÖLÜMÜ ===== */
.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.treatment-card {
    background-color: var(--white-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    text-align: center;
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: var(--secondary-color);
}

/* ===== İLETİŞİM VE KONUM BÖLÜMÜ ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-map iframe {
    border-radius: 8px;
    height: 450px;
}

.contact-title {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.contact-list li i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 20px;
    margin-top: 5px;
    width: 30px;
    text-align: center;
}

.contact-list li strong {
    display: block;
    color: var(--primary-color);
    font-family: var(--heading-font);
    font-size: 1.1rem;
}

.contact-list li p {
    margin: 0;
}

.contact-list li a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.contact-list li a:hover {
    color: var(--secondary-color);
}

/* ===== FOOTER (ALT BİLGİ) ===== */
footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white-color);
    text-decoration: none;
    margin: 0 10px;
    font-family: var(--heading-font);
    font-weight: 600;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-social a {
    color: var(--white-color);
    font-size: 1.5rem;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--secondary-color);
}

.footer-copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}


/* ===== MOBİL UYUMLULUK (RESPONSIVE) ===== */
@media (max-width: 992px) {
    .about-container, .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        text-align: center;
    }

    .contact-map {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .desktop-nav, .cta-button {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-bottom: 20px;
    }

}

/* ===== MOBİL DÜZELTMELERİ ===== */

/* Mobil menüdeki yeni "Hemen Randevu Al" butonunu stillendir */
.mobile-menu .mobile-cta-item {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.mobile-menu .mobile-cta-button {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 12px 25px;
    border-radius: 5px;
    display: inline-block;
    font-family: var(--heading-font);
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.mobile-menu .mobile-cta-button:hover {
    background-color: var(--primary-color);
}

/* Mobil cihazlarda (768px altı) geçerli olacak düzeltmeler */
@media (max-width: 768px) {

    /* Hero butonlarının (Tedaviler/Bize Ulaşın) üst üste binmesini engelle */
    .hero-buttons {
        display: flex;
        flex-direction: column; /* Butonları alt alta sırala */
        align-items: center;   /* Ortala */
        width: 100%;
    }

    .hero-buttons .btn {
        width: 80%; /* Buton genişliğini ayarla */
        margin: 10px 0; /* Butonlar arasına dikey boşluk ver */
        text-align: center;
    }

    /* Masaüstü randevu butonunu mobilde gizle (bu kural zaten vardı ama emin olmak için) */
    .cta-button {
        display: none;
    }
}

/* ===== HERO SLIDER STİLLERİ ===== */
.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* En alttaki katman */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* Başlangıçta tüm slide'lar gizli */
    transition: opacity 1s ease-in-out; /* Yumuşak geçiş efekti */
    z-index: 1;
}

.slide.active {
    opacity: 1; /* Sadece aktif olan slide görünür */
    z-index: 2;
}

/* z-index (katman) sıralaması:
   slide'lar z-index 1 ve 2
   overlay z-index 3
   yazılar z-index 4
   oklar z-index 5
*/
.hero-overlay {
    z-index: 3; 
}
.hero-content {
    z-index: 4; 
}

/* Kaydırma Okları */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5; /* En üstte */
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-arrow:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* Mobil cihazlar için okları küçült */
@media (max-width: 768px) {
    .slider-arrow {
        font-size: 1.2rem;
        padding: 10px;
    }
    .slider-arrow.prev {
        left: 10px;
    }
    .slider-arrow.next {
        right: 10px;
    }
}


