﻿/* Dr. Ã–zgÃ¼r YazÄ±cÄ± â€” Medikal Estetik Klinik
   Tema: Minimal, klinik, sÄ±cak â€” beyaz, krem, hafif gri, soft altÄ±n */

/* Badak Medya marka fontu â€” sadece footer'da "Badak Medya" iÃ§in kullanÄ±lÄ±r */
@font-face {
  font-family: 'Astra';
  src: url('../assets/fonts/Astra-6RGXq.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #fefefe;
  --cream: #f8f6f2;
  --cream-dark: #eeeae4;
  --gray-light: #e8e6e2;
  --gray: #6b6560;
  --gray-dark: #3d3936;
  --gold: #b8a070;
  --gold-soft: #d4c9a8;
  --accent: #a89268;
  --text: #2c2825;
  --text-muted: #5c5652;
  --shadow: 0 2px 12px rgba(44,40,37,.06);
  --radius: 8px;
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(254,254,254,.95);
  border-bottom: 1px solid var(--gray-light);
  box-shadow: var(--shadow);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}
.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
}
.logo span { color: var(--gold); }
.logo img {
  height: 2.5rem;
  width: auto;
  display: block;
  object-fit: contain;
}
.badak-medya {
  font-family: 'Astra', var(--font-sans);
}
.nav-main {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-main a {
  padding: .5rem .85rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: .95rem;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
}
.nav-main a:hover, .nav-main a.active { color: var(--accent); background: var(--cream); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: .5rem;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--gray-dark);
}

/* Wrap & Sections */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section--alt { background: var(--white); }
.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1rem;
  letter-spacing: .01em;
}
.section-subtitle { color: var(--text-muted); margin: 0 0 2rem; max-width: 600px; }

/* Hero */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: url('https://images.pexels.com/photos/19242408/pexels-photo-19242408.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
  opacity: .35;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 .75rem;
  line-height: 1.2;
}
.hero .lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 520px;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background .2s, color .2s, transform .05s;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
}
.btn--primary:hover { background: var(--gold); color: var(--white); }
.btn--secondary {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--gray-light);
}
.btn--secondary:hover { background: var(--cream); border-color: var(--gold-soft); }

/* Service cards (homepage) */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(44,40,37,.08); }
.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--gray-light);
}
.service-card .card-body { padding: 1.25rem; }
.service-card h3 { font-size: 1.1rem; margin: 0 0 .5rem; color: var(--text); }
.service-card p { margin: 0; font-size: .9rem; color: var(--text-muted); }
.service-card a { color: var(--accent); font-weight: 500; text-decoration: none; }

/* Bio strip (home) */
.bio-strip {
  background: var(--white);
  padding: 3rem 0;
}
.bio-strip .wrap { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; }
.bio-strip .bio-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gray-light);
}
.bio-strip .bio-text { flex: 1; min-width: 280px; }
.bio-strip h2 { font-size: 1.35rem; margin: 0 0 .75rem; color: var(--text); }
.bio-strip p { margin: 0 0 1rem; color: var(--text-muted); }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
  padding: 3rem 0;
}
.page-hero h1 { font-size: 1.85rem; margin: 0 0 .5rem; color: var(--text); }
.page-hero p { margin: 0; color: var(--text-muted); }

/* Content */
.content-block h2 { font-size: 1.35rem; margin: 2rem 0 .75rem; color: var(--text); }
.content-block.biography h2:first-child { margin-top: 0; }
.content-block h3 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; color: var(--text); }
.content-block p { margin: 0 0 1rem; color: var(--text-muted); }
.content-block ul { margin: 0 0 1rem; padding-left: 1.25rem; color: var(--text-muted); }
.content-block .img-wrap {
  margin: 1.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.content-block .img-wrap img { width: 100%; height: auto; display: block; background: var(--gray-light); }
.content-block .img-caption { font-size: .85rem; color: var(--gray); margin-top: .5rem; }

/* About photo showcase */
.about-photo-showcase {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: .6rem;
  margin: .75rem auto 1.25rem;
  max-width: 760px;
}
.about-photo-showcase figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.about-photo-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--gray-light);
}
.about-photo-main {
  grid-row: 1 / span 2;
  min-height: 280px;
}
.about-photo-main img { object-position: center top; }
.about-photo-side { min-height: 136px; }

/* Service detail: 3 images */
.service-images { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin: 2rem 0; }
.service-images .hero-img { grid-column: 1; aspect-ratio: 16/9; }
.service-images .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.service-images img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); background: var(--gray-light); }
.service-images figure { margin: 0; }
.service-images figcaption { font-size: 0.875rem; color: var(--text-muted); margin-top: 0.35rem; }
.service-no-image { padding: 1.5rem; background: var(--cream-dark); border-radius: var(--radius); color: var(--text-muted); font-size: 0.95rem; text-align: center; }

@media (min-width: 768px) {
  .service-images { grid-template-columns: 1fr 1fr; }
  .service-images .hero-img { grid-column: 1 / -1; }
}

/* CTA block */
.cta-block {
  background: var(--gray-dark);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  margin: 2rem 0;
  text-align: center;
}
.cta-block h3 { color: var(--white); margin: 0 0 .5rem; }
.cta-block p { color: var(--gray-light); margin: 0 0 1rem; }
.cta-block .btn--primary { background: var(--gold); }
.cta-block .btn--primary:hover { background: var(--gold-soft); color: var(--text); }

/* FAQ */
.faq-list { max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--gray-light); }
.faq-item summary {
  padding: 1rem 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; color: var(--gold); }
.faq-item[open] summary::after { content: 'âˆ’'; }
.faq-item div { padding: 0 0 1rem; color: var(--text-muted); }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-light);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item .caption { position: absolute; bottom: 0; left: 0; right: 0; padding: .75rem; background: linear-gradient(transparent, rgba(0,0,0,.6)); color: var(--white); font-size: .9rem; }

/* License notice (fixed) */
.license-notice {
  background: var(--cream-dark);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 2rem 0;
  font-size: .9rem;
  color: var(--text-muted);
}
.license-notice strong { color: var(--text); }

/* Footer */
.site-footer {
  background: var(--gray-dark);
  color: var(--gray-light);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin: 0 0 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { color: var(--gray-light); text-decoration: none; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; text-align: center; color: var(--gray); }
.footer-bottom .badak-medya { font-family: 'Astra', var(--font-sans); }
.footer-bottom a.badak-medya { color: inherit; text-decoration: none; }
.footer-bottom a.badak-medya:hover { color: var(--gold-soft); }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1rem;
}
.modal-overlay.is-open { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.modal .modal-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--gray-light); display: flex; justify-content: space-between; align-items: center; }
.modal .modal-header h3 { margin: 0; font-size: 1.2rem; }
.modal .modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--gray); }
.modal .modal-body { padding: 1.5rem; }

/* Form */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: .35rem; font-weight: 500; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: .65rem .85rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* Blog template */
.blog-list { display: grid; gap: 1.5rem; }
.blog-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-light);
}
.blog-card img { width: 120px; height: 90px; object-fit: cover; border-radius: var(--radius); background: var(--gray-light); }
.blog-card h3 { font-size: 1.1rem; margin: 0 0 .35rem; }
.blog-card .meta { font-size: .85rem; color: var(--gray); margin-bottom: .25rem; }

/* Admin: image approval */
.admin-checklist { max-width: 800px; }
.admin-checklist .check-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem; border: 1px solid var(--gray-light); border-radius: var(--radius); margin-bottom: .75rem; }
.admin-checklist input[type="checkbox"] { margin-top: .25rem; }
.admin-checklist .check-item label { cursor: pointer; }

/* Responsive */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 768px) {
  .nav-main { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 1rem; box-shadow: var(--shadow); }
  .nav-main.is-open { display: flex; }
  .nav-toggle { display: block; }
  .hero { min-height: 60vh; }
  .bio-strip .wrap { flex-direction: column; text-align: center; }
  .service-images .grid-2 { grid-template-columns: 1fr; }
  .about-photo-showcase { grid-template-columns: 1fr; }
  .about-photo-main,
  .about-photo-side { min-height: auto; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Print */
@media print {
  .site-header, .site-footer, .btn, .modal-overlay, .license-notice { display: none !important; }
  body { background: white; }
}







