/*
Theme Name: Fizyoterapi & Sağlık Teması
Author: Özel Tasarım
Description: Soft renk geçişli, mobil uyumlu, randevu, harita navigasyonlu fizyoterapi teması.
Version: 1.3
*/

:root {
    --gradient-bg: linear-gradient(135deg, #e0f2fe 0%, #f0fdf4 100%);
    --gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    --primary-color: #0284c7;
    --accent-color: #0d9488;
    --text-color: #334155;
    --card-shadow: 0 10px 25px -5px rgba(148, 163, 184, 0.15);
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--gradient-bg);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header & Navigasyon */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

/* Hero */
.hero {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
}

.hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 15px;
    color: #1e293b;
}

.hero p {
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    margin-bottom: 25px;
    color: #0f172a;
}

/* Hizmet Kartları */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--gradient-card);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Hakkımda Bölümü */
.about-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-section p {
    color: #475569;
    font-size: 1rem;
}

/* Randevu Formu */
.booking-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.85rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn-submit:active {
    opacity: 0.8;
}

/* İletişim Bölümü & Yol Tarifi Butonu */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.contact-info {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-item {
    margin-bottom: 15px;
}

.contact-item h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 3px;
}

.nav-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-nav {
    flex: 1;
    display: inline-block;
    text-align: center;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f1f5f9;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.map-container {
    min-height: 280px;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 280px;
    border: none;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 30px;
}

.alert {
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 0.9rem;
}
.alert-success { background: #dcfce7; color: #15803d; }
.alert-error { background: #fee2e2; color: #b91c1c; }

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 12px;
        padding: 12px 5%;
    }

    nav ul {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 0.85rem;
    }

    .hero {
        padding: 35px 15px;
    }

    .booking-section, 
    .about-section, 
    .contact-info {
        padding: 20px;
    }
    
    .nav-buttons {
        flex-direction: column;
    }
}