/*
Theme Name: Dr. Kıymet Boz - Medikal Estetik
Theme URI: https://drkiymetboz.com
Author: Custom Theme
Description: Dr. Kıymet Boz Medikal Estetik Kliniği için özel WordPress teması. Tüm içerikler admin panelinden yönetilebilir.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: drkiymetboz
Tags: medical, aesthetic, clinic, one-page, customizer
*/

/* ========================================
   CSS VARIABLES
======================================== */
:root {
  --primary:     #c0392b;
  --primary-light: #e74c3c;
  --primary-pale: #fdecea;
  --dark:        #2c2c2c;
  --dark-footer: #1a1a1a;
  --text:        #555555;
  --text-light:  #888888;
  --white:       #ffffff;
  --border:      #eeeeee;
  --accent-teal: #1a7b77;
  --font-heading:'Playfair Display', Georgia, serif;
  --font-body:   'Poppins', sans-serif;
  --radius:      8px;
  --shadow:      0 4px 20px rgba(0,0,0,.08);
  --shadow-md:   0 8px 40px rgba(0,0,0,.12);
  --transition:  all .3s ease;
}

/* ========================================
   RESET & BASE
======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; transition: var(--transition); }

ul { list-style: none; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.3;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding { padding: 80px 0; }

/* ========================================
   TOP BAR
======================================== */
.top-bar {
  background: var(--dark);
  color: #ccc;
  font-size: 13px;
  padding: 7px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: #ccc; }
.top-bar a:hover { color: var(--primary-light); }
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar i { margin-right: 5px; color: var(--primary-light); }

/* ========================================
   HEADER / NAVIGATION
======================================== */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0,0,0,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.site-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}
.site-logo span { color: var(--dark); }

.main-nav { display: flex; align-items: center; gap: 5px; }
.main-nav a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  border-radius: 4px;
  transition: var(--transition);
}
.main-nav a:hover,
.main-nav a.active { color: var(--primary); }

.nav-appointment-btn {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: 25px !important;
  margin-left: 10px;
}
.nav-appointment-btn:hover { background: var(--primary-light) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
}

/* ========================================
   HERO SLIDER
======================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  background: #fff5f5;
  min-height: 600px;
}
.hero-slides { position: relative; }
.hero-slide {
  display: none;
  min-height: 600px;
  align-items: center;
  padding: 60px 0;
}
.hero-slide.active { display: flex; }
.hero-content-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  width: 100%;
}
.hero-badge {
  display: inline-block;
  background: var(--primary-pale);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 15px;
}
.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--dark);
}
.hero-title span { color: var(--primary); }
.hero-desc {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 30px;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 13px 30px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
  border: 2px solid var(--primary);
}
.btn-primary:hover {
  background: transparent;
  color: var(--primary);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 13px 30px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-teal {
  background: var(--accent-teal);
  color: var(--white);
  padding: 13px 30px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
  border: 2px solid var(--accent-teal);
}
.btn-teal:hover { opacity: .88; }

.hero-image-wrap { position: relative; text-align: right; }
.hero-image-wrap img {
  max-height: 500px;
  width: auto;
  margin-left: auto;
  border-radius: 12px;
  object-fit: cover;
}
.hero-watermark {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(60px, 10vw, 120px);
  font-weight: 900;
  color: rgba(192,57,43,.08);
  letter-spacing: -5px;
  font-family: var(--font-heading);
  pointer-events: none;
  z-index: 0;
}
.hero-image-wrap img { position: relative; z-index: 1; }

.hero-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(192,57,43,.3);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.hero-dot.active { background: var(--primary); width: 28px; border-radius: 5px; }

/* ========================================
   SECTION HEADER
======================================== */
.section-header { text-align: center; margin-bottom: 50px; }
.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}
.section-desc {
  color: var(--text);
  max-width: 600px;
  margin: 0 auto;
  font-size: 15px;
}
.divider {
  width: 50px;
  height: 3px;
  background: var(--primary);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ========================================
   ABOUT SECTION
======================================== */
.about-section { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-wrap img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 500px;
}
.about-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background: var(--primary);
  color: var(--white);
  padding: 18px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.about-badge strong { display: block; font-size: 28px; font-family: var(--font-heading); }
.about-badge span { font-size: 12px; opacity: .9; }
.about-content { padding-top: 10px; }
.about-label {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.about-title { font-size: clamp(26px, 3.5vw, 36px); margin-bottom: 20px; }
.about-text { margin-bottom: 15px; color: var(--text); }
.about-read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.about-read-more:hover { gap: 10px; }

/* ========================================
   SERVICES SECTION
======================================== */
.services-section { background: #fafafa; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card-image { height: 200px; overflow: hidden; position: relative; }
.service-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-card-image img { transform: scale(1.08); }
.service-card-body { padding: 20px; }
.service-card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}
.service-card-desc { font-size: 13px; color: var(--text-light); }
.services-cta { text-align: center; }

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  opacity: .92;
  z-index: 0;
}
.cta-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}
.cta-icon {
  width: 70px; height: 70px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}
.cta-content h2 {
  font-size: clamp(24px, 4vw, 38px);
  color: var(--white);
  margin-bottom: 12px;
}
.cta-content p {
  font-size: 15px;
  opacity: .9;
  margin-bottom: 30px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}
.cta-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: var(--white);
  color: var(--primary);
  padding: 13px 30px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
}
.btn-white:hover { background: var(--dark); color: var(--white); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
  padding: 13px 30px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
}
.btn-outline-white:hover { background: var(--white); color: var(--primary); }

/* ========================================
   FEATURES SECTION
======================================== */
.features-section { background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.feature-card { text-align: center; padding: 30px 20px; }
.feature-icon {
  width: 70px; height: 70px;
  background: var(--primary-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 26px;
  color: var(--primary);
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}
.feature-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.feature-desc { font-size: 13px; color: var(--text-light); }

/* ========================================
   FAQ + TESTIMONIALS
======================================== */
.faq-testimonials-section { background: #fafafa; }
.faq-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.column-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}
.column-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  background: var(--white);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active { border-color: var(--primary); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
}
.faq-item.active .faq-question { color: var(--primary); }
.faq-icon {
  min-width: 20px; height: 20px;
  background: var(--primary-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--primary);
  transition: var(--transition);
}
.faq-item.active .faq-icon { background: var(--primary); color: var(--white); transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 20px 16px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.7;
}
.faq-item.active .faq-answer { display: block; }

/* Testimonials */
.testimonials-slider { position: relative; }
.testimonial-item { display: none; }
.testimonial-item.active { display: block; }
.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-quote {
  font-size: 50px;
  color: var(--primary);
  line-height: 1;
  font-family: var(--font-heading);
  margin-bottom: 10px;
}
.testimonial-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}
.testimonial-nav {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.testimonial-prev,
.testimonial-next {
  width: 36px; height: 36px;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 14px;
}
.testimonial-prev:hover, .testimonial-next:hover {
  background: var(--primary);
  color: var(--white);
}

/* ========================================
   STATS SECTION
======================================== */
.stats-section { background: var(--white); padding: 60px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item { padding: 20px; }
.stat-number {
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
  background: var(--dark-footer);
  color: #aaa;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .site-logo { color: var(--white); margin-bottom: 15px; }
.footer-brand p { font-size: 13px; line-height: 1.8; }
.footer-title {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  font-family: var(--font-body);
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 13px;
  color: #aaa;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
}
.footer-contact i { color: var(--primary-light); margin-top: 3px; min-width: 16px; }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  color: #666;
}

/* ========================================
   MOBILE MENU
======================================== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,.95);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--white);
  font-size: 22px;
  font-family: var(--font-heading);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--primary-light); }
.mobile-nav-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
}

/* ========================================
   FLOATING WHATSAPP
======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 25px; right: 25px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 999;
  transition: var(--transition);
  font-size: 26px;
  color: var(--white);
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ========================================
   SCROLL TO TOP
======================================== */
.scroll-top {
  position: fixed;
  bottom: 90px; right: 25px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  font-size: 16px;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--dark); }

/* ========================================
   PAGE / SINGLE
======================================== */
.page-banner {
  background: var(--primary-pale);
  padding: 50px 0;
  text-align: center;
}
.page-banner h1 { font-size: 36px; color: var(--dark); }
.page-content { padding: 60px 0; }
.entry-content { max-width: 800px; margin: 0 auto; }
.entry-content p { margin-bottom: 16px; }
.entry-content h2,h3,h4 { margin: 24px 0 12px; }

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp .6s ease forwards; }

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .hero-content-wrap { grid-template-columns: 1fr; }
  .hero-image-wrap { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-badge { bottom: 20px; }
  .faq-testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar .container { flex-direction: column; gap: 5px; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
  .hero-btns { flex-direction: column; }
}
