/* --- Değişkenler ve Reset --- */
:root {
    --color-cyan: #00BFA5;      /* Medikal Camgöbeği */
    --color-cyan-dark: #008E7B;
    --color-dark: #263238;      /* Koyu Gri/Mavi */
    --color-text: #455A64;      /* Metin Grisi */
    --color-bg: #F7F9FA;        /* Çok Açık Gri */
    --color-white: #FFFFFF;
    --color-border: #E0E0E0;
    --sidebar-width: 260px;
    
    --font-heading: 'Mukta', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; display: block; border-radius: 6px; }
ul { list-style: none; }

/* --- Layout --- */
.layout-wrapper { display: flex; min-height: 100vh; position: relative; }

/* --- Sidebar --- */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--color-white);
    height: 100vh;
    position: fixed;
    top: 0; left: 0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    border-right: 1px solid var(--color-border);
    box-shadow: 2px 0 15px rgba(0,0,0,0.05);
}

@media (min-width: 992px) {
    .sidebar { transform: translateX(0); }
    .mobile-header { display: none; }
    .close-menu { display: none; }
    .main-content { margin-left: var(--sidebar-width); }
}

.sidebar-header { padding: 30px 20px; display: flex; justify-content: space-between; align-items: center; }
.brand { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--color-dark); letter-spacing: -0.5px; }
.cyan-text { color: var(--color-cyan); }

.nav-menu { flex-grow: 1; padding: 20px 0; }
.nav-menu li a {
    display: block;
    padding: 12px 25px;
    font-size: 1.05rem;
    color: var(--color-text);
    border-left: 4px solid transparent;
    font-weight: 600;
}
.nav-menu li a:hover, .nav-menu li a.active {
    color: var(--color-cyan-dark);
    background-color: #E0F2F1;
    border-left-color: var(--color-cyan);
}

.sidebar-footer { padding: 30px; border-top: 1px solid var(--color-border); font-size: 0.9rem; text-align: center; color: #777; }
.email-link { color: var(--color-cyan-dark); font-weight: bold; margin-top: 5px; display: block; margin-bottom: 15px; }
.health-badge { background: #E0F2F1; color: var(--color-cyan-dark); padding: 5px; border-radius: 4px; font-weight: bold; font-size: 0.8rem; border: 1px solid var(--color-cyan); }

/* --- Mobile Header --- */
.mobile-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 20px; background: var(--color-white);
    position: fixed; width: 100%; top: 0; z-index: 900;
    border-bottom: 1px solid var(--color-border);
}
.mobile-brand { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--color-dark); }
.hamburger { background: none; border: none; cursor: pointer; display: flex; flex-direction: column; gap: 6px; }
.hamburger span { display: block; width: 25px; height: 3px; background-color: var(--color-cyan); border-radius: 3px; }
.close-menu { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #888; }

/* --- Main Content --- */
.main-content { width: 100%; min-height: 100vh; display: flex; flex-direction: column; padding-top: 60px; }
@media (min-width: 992px) { .main-content { padding-top: 0; } }

/* --- Hero Section --- */
.hero {
    position: relative; height: 60vh; min-height: 500px;
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; }
.overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0.4));
    display: flex; align-items: center; justify-content: center;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 20px; }
.hero-content h1 { font-family: var(--font-heading); font-size: 3rem; margin-bottom: 20px; line-height: 1.1; color: var(--color-dark); }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; color: #555; }

@media (min-width: 768px) { .hero-content h1 { font-size: 4.5rem; } }

/* --- Search Box --- */
.search-box {
    background: #fff; padding: 10px; border-radius: 50px; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--color-border);
}
@media (min-width: 768px) { .search-box { flex-direction: row; padding: 5px; } }
.search-box input, .search-box select {
    flex: 1; border: none; padding: 15px; font-size: 1rem; outline: none; border-radius: 50px;
}
.search-box input { border-bottom: 1px solid #eee; }
@media (min-width: 768px) { .search-box input { border-bottom: none; border-right: 1px solid #eee; } }

/* --- Buttons --- */
.btn { display: inline-block; padding: 12px 35px; font-weight: 700; border-radius: 50px; transition: 0.3s; border: none; cursor: pointer; text-align: center; }
.btn-cyan { background-color: var(--color-cyan); color: #fff; box-shadow: 0 4px 10px rgba(0, 191, 165, 0.4); }
.btn-cyan:hover { background-color: var(--color-cyan-dark); transform: translateY(-2px); }
.btn-link { color: var(--color-cyan-dark); font-weight: bold; text-decoration: underline; }
.full-width { width: 100%; border-radius: 8px; }

/* --- Container --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.content-padding { padding-top: 60px; padding-bottom: 60px; }

/* --- Grids --- */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-family: var(--font-heading); font-size: 2rem; color: var(--color-dark); margin-bottom: 10px; }
.line { width: 60px; height: 4px; background: var(--color-cyan); margin: 0 auto; border-radius: 2px; }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (min-width: 768px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* --- Cards --- */
.cat-card { background: #fff; padding: 25px; border-radius: 12px; text-align: center; border: 1px solid var(--color-border); transition: 0.3s; display: block; }
.cat-card:hover { border-color: var(--color-cyan); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.cat-card .icon { font-size: 2.5rem; margin-bottom: 10px; }
.cat-card h3 { color: var(--color-text); font-size: 1.1rem; }

.clinic-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.03); transition: 0.3s; border: 1px solid var(--color-border); }
.clinic-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.card-img { position: relative; height: 200px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.rating { position: absolute; top: 10px; right: 10px; background: #FFC107; color: #fff; padding: 4px 10px; border-radius: 20px; font-weight: bold; font-size: 0.9rem; }
.card-body { padding: 25px; }
.card-body h3 { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 5px; color: var(--color-dark); }
.location { color: #888; font-size: 0.9rem; margin-bottom: 10px; }
.desc { font-size: 0.95rem; color: #555; margin-bottom: 15px; }

/* --- About & Steps --- */
.page-intro { text-align: center; margin-bottom: 60px; }
.page-intro h1 { font-family: var(--font-heading); font-size: 2.5rem; color: var(--color-dark); }

.steps-container { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 60px; }
@media (min-width: 768px) { .steps-container { grid-template-columns: repeat(3, 1fr); } }
.step-item { text-align: center; padding: 30px; background: #fff; border-radius: 12px; border: 1px solid var(--color-border); }
.step-number { width: 50px; height: 50px; background: var(--color-cyan-dark); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: bold; margin: 0 auto 20px; }
.step-item h3 { margin-bottom: 10px; color: var(--color-dark); }

.bg-light-cyan { background-color: #E0F2F1; padding: 50px; border-radius: 12px; text-align: center; }
.about-text h2 { font-family: var(--font-heading); color: var(--color-cyan-dark); margin-bottom: 15px; }

/* --- Reviews --- */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
.review-card { background: #fff; padding: 30px; border-radius: 12px; border: 1px solid var(--color-border); }
.verified { color: var(--color-cyan-dark); font-size: 0.8rem; font-weight: bold; margin-bottom: 10px; }
blockquote { font-style: italic; color: #555; margin-bottom: 15px; }
cite { font-weight: bold; color: var(--color-dark); }

/* --- Contact & Forms --- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 1fr 2fr; } }
.contact-info { background: #fff; padding: 30px; border-radius: 12px; border: 1px solid var(--color-border); height: fit-content; }
.contact-info h3 { color: var(--color-cyan-dark); margin-bottom: 10px; margin-top: 20px; font-size: 1.2rem; }
.contact-info h3:first-child { margin-top: 0; }

.clean-form { background: #fff; padding: 40px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--color-text); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 6px; font-family: inherit; transition: 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--color-cyan); outline: none; }

/* --- Privacy --- */
.policy-box { max-width: 800px; margin: 0 auto; background: #fff; padding: 50px; border-radius: 12px; border: 1px solid var(--color-border); }
.policy-box h1 { font-family: var(--font-heading); color: var(--color-dark); }
.cyan-line { border: 0; height: 3px; background: var(--color-cyan); margin: 20px 0; width: 60px; }
.policy-box h3 { color: var(--color-cyan-dark); margin-top: 30px; margin-bottom: 10px; font-family: var(--font-heading); }

/* --- Footer --- */
.main-footer { background: #263238; color: #fff; padding: 40px 0; margin-top: auto; }
.footer-content { text-align: center; opacity: 0.8; }

/* --- Overlay --- */
.overlay-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 998;
    display: none; opacity: 0; transition: opacity 0.3s;
}
.sidebar.active { transform: translateX(0); }
.overlay-bg.active { display: block; opacity: 1; }