/* style.css - MedLife Tasarım Dosyası */

/* --- GENEL AYARLAR --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f7f6;
}

a { text-decoration: none; }

/* --- HEADER (ÜST MENÜ) --- */
header {
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky; /* Menüyü yukarı sabitler */
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 8px 0;
    font-size: 14px;
    text-align: center;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: white;
}

.logo span { color: #00d4ff; }

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: white;
    font-size: 15px;
    transition: color 0.3s;
}

nav a:hover { color: #00d4ff; }

/* --- HERO (GİRİŞ BÖLÜMÜ - Sadece Ana Sayfa İçin) --- */
.hero {
    background: linear-gradient(rgba(0, 102, 204, 0.8), rgba(0, 77, 153, 0.8)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&q=80&w=1200');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero h1 { font-size: 48px; margin-bottom: 20px; }
.hero p { font-size: 20px; margin-bottom: 30px; }

/* --- SAYFA BAŞLIKLARI (Alt Sayfalar İçin) --- */
.page-header {
    background-color: #0066cc;
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 30px;
}

/* --- BUTONLAR --- */
.btn {
    display: inline-block;
    background-color: #00d4ff;
    color: #004d99;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: white;
    transform: translateY(-2px);
}

/* --- KARTLAR VE İÇERİK --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-title {
    text-align: center;
    color: #0066cc;
    margin-bottom: 30px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.card h3 { color: #333; margin-bottom: 10px; }
.card-icon { font-size: 40px; margin-bottom: 15px; }

/* --- DOKTOR LİSTESİ (Poliklinikler Sayfası İçin) --- */
.doctor-list {
    display: none; /* Başlangıçta gizli */
    text-align: left;
    margin-top: 15px;
    border-top: 1px solid #eee;
}

.doctor-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    font-weight: bold;
}
.doctor-item:hover { background-color: #f0f8ff; color: #0066cc; }

.doctor-info {
    display: none; /* Detay gizli */
    font-size: 14px;
    color: #555;
    padding: 5px 10px;
    background: #fff;
    border-left: 3px solid #00d4ff;
}

/* --- FORM --- */
.form-group { margin-bottom: 15px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* --- FOOTER --- */
footer {
    background-color: #222;
    color: white;
    padding: 40px 20px;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-section h3 { color: #00d4ff; margin-bottom: 15px; }
.footer-section a { display: block; color: #ccc; margin-bottom: 5px; }
.footer-bottom { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid #444; color: #888; }