:root {
  --bg: #f8fafb;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --primary: #b91c1c;
  --primary-soft: #fee2e2;
  --accent: #dc2626;
  --border: #e5e7eb;
  user-select:none ;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.452);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  user-select: none;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;

}

.brand-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  font-family: cormorant garamond, serif;
  letter-spacing: 0.5px;
  color:#b91c1c
}

.brand-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem ;  
  font-weight: bold;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a,
.site-nav .dropdown-toggle {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  margin-left: 0.35rem;
}

.dropdown-menu {
  position: absolute;
  top: 140%;
  left: 0;
  min-width: 220px;
  display: none;
  flex-direction: column;
  gap: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  padding: 0.75rem 0;
  z-index: 20;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: flex;
}

.dropdown-menu a {
  padding: 0.85rem 1.2rem;
  white-space: nowrap;
  color: var(--text);
  scroll-behavior: smooth;
}

.dropdown-menu a:hover {
  background: var(--bg);
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

.hero {
  min-height: 80vh;
  padding: 5rem 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center 40%;
  position: relative;
  color: #ffffff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  
}

.hero-slider-section {
  position: relative;
  width: 100%;
  min-height: 80vh;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: block;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 80vh;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  z-index: 0;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.55);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide .hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  width: 100%;
  padding: 0 2rem;
  margin-left: 70px;
}

.slider-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: #ffffff;
  width: 32px;
  border-radius: 6px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  z-index: 10;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.4);
}

.slider-arrow-prev {
  left: 2rem;
}

.slider-arrow-prev::after {
  content: "‹";
}

.slider-arrow-next {
  right: 2rem;
}

.slider-arrow-next::after {
  content: "›";
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: #fca5a5;
  font-size: 1.4rem;
}

.hero h1,
.section-header h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.hero p {
  margin: 1.5rem 0 2rem;
  max-width: 38rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
}

.button.secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}

.section {
  padding: 5rem 0;
}

.about-grid,
.contact-grid,
.services-grid {
  display: grid;
  gap: 2rem;
}

.about-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.about-image img {
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.about-copy h2,
.service-card h3,
.appointment-card h2,
.contact-section h2 {
  margin-top: 0;
}

.about-copy p,
.service-card p,
.contact-details p,
.appointment-info p,
.contact-form label {
  line-height: 1.8;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.about-list li {
  margin-bottom: 0.85rem;
  padding-left: 1.3rem;
  position: relative;
}

.about-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.section-header {
  max-width: 680px;
  margin-bottom: 3rem;
}

.section-header p {
  color: var(--muted);
}

.services-preview {
  display: grid;
  gap: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
}

.services-preview p {
  color: var(--muted);
  line-height: 1.9;
  max-width: 720px;
}

.services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.service-card h3 {
  margin-bottom: 1rem;
}

.appointment-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(190, 18, 60, 0.95), rgba(220, 38, 38, 0.95));
  border-radius: 32px;
  padding: 2.5rem;
  color: #ffffff;
}

.appointment-info p {
  margin: 0.5rem 0;
  color: rgba(255, 255, 255, 0.85);
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-details p {
  margin: 1rem 0;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.55rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  font: inherit;
  background: #ffffff;
  color: var(--text);
}

.contact-form button {
  width: fit-content;
}

.button-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.about-detail-section {
  background: #ffffff;
}

.about-detail-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-detail-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-detail-content h2 {
  margin-top: 0;
  font-size: 1.5rem;
  color: var(--primary);
}

.about-detail-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--text);
}

.info-block {
  background: var(--bg);
  padding: 1.5rem;
  border-radius: 16px;
  border-left: 4px solid var(--accent);
}

.info-block p {
  margin: 0.75rem 0;
  line-height: 1.7;
}

.info-block ul {
  margin: 0;
  padding: 0;
}

.about-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  position: sticky;
  top: 120px;
}

.sidebar-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--primary);
}

.sidebar-card p {
  margin: 1rem 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.sidebar-card a {
  color: var(--accent);
  text-decoration: none;
}

.sidebar-card .button {
  width: 100%;
  text-align: center;
  margin-top: 1rem;
}

.publications-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
}

.publications-section h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.publications-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.publications-list li {
  padding: 1rem;
  background: var(--bg);
  border-radius: 12px;
  border-left: 3px solid var(--accent);
  line-height: 1.7;
}

.site-footer {
  background: #f8fafb;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2.5rem 0 1.5rem;
}

.footer-section h4 {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-section a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background 0.2s, transform 0.2s;
}

.social-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.social-btn svg path,
.social-btn svg rect,
.social-btn svg line,
.social-btn svg circle {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.social-btn:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  background: var(--primary);
  color: #ffffff;
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0.3rem 0;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .about-grid,
  .contact-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .appointment-card {
    flex-direction: column;
    text-align: center;
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .about-detail-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
  }

  .button-group {
    flex-direction: column;
  }

  .button-group .button {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    border-top: 1px solid var(--border);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
  }

  .site-nav.open {
    max-height: 500px;
  }

  .dropdown-menu {
    position: static;
    border: none;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    transition: max-height 0.5s ease;
  }

  .dropdown.open .dropdown-menu {
    display: flex;
    max-height: 1000px;
  }

  .site-nav a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .hero {
    padding: 4rem 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .footer-section h4 {
    font-size: 0.9rem;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .slider-arrow-prev {
    left: 1rem;
  }

  .slider-arrow-next {
    right: 1rem;
  }

  .slider-controls {
    bottom: 1.5rem;
  }

  .slider-dot {
    width: 10px;
    height: 10px;
  }

  .slider-dot.active {
    width: 28px;
  }

  .hero-slide .hero-content {
    padding: 0 1rem;
  }

  .hero-slide h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
}
/* Slider Kapsayıcısı: Kartların taşmasını önler ve maskeler */
.services-slider-container {
  overflow: hidden;
  width: 100%;
  padding: 30px 0;
  position: relative;
  margin: 30px 0;
}

/* Şerit: Kartları yan yana dizer ve sağdan sola yürütür */
.services-slider {
  display: flex;
  width: max-content;
  gap: 24px; /* Kartlar arası ideal boşluk */
  animation: kesintisizHizmetAkisi 50s linear infinite;
}

/* Kullanıcı fareyle bir kartın üzerine gelirse dönüş durur */
.services-slider:hover {
  animation-play-state: paused;
}

/* Kartların dönerken büzüşmesini engeller ve genişliğini sabitler */
.services-slider .service-card {
  flex-shrink: 0;
  width: 320px; /* Hizmetler sayfanızdaki görünüme tam uyumlu genişlik */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Sağdan sola yumuşak animasyon döngüsü */
@keyframes kesintisizHizmetAkisi {
  0% {
    transform: translateX(0);
  }
  100% {
    /* 12 kart bittiği an aradaki boşluk payıyla pürüzsüzce sıfırlanıp başa döner */
    transform: translateX(-50%);
  }
}
/* Top Bar Genel Stil */
.top-bar {
    background-color: #333333; /* Görseldeki koyu gri tonu */
    color: #ffffff;
    font-size: 13px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* İç Konteyner Düzeni */
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* Sizin temanızda container genişliği neyse ona uyum sağlar */
}

/* Linklerin Ortak Özellikleri */
.top-bar a {
    color: #e0e0e0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.top-bar a:hover {
    color: #ffffff;
}

/* İletişim Bilgileri */
.top-contact {
    display: flex;
    gap: 20px;
}

/* Sağ Blok (Dil + Sosyal Medya) */
.top-widgets {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Dil Seçimi */
.top-languages {
    display: flex;
    gap: 10px;
    font-weight: bold;
}

.top-languages a {
    opacity: 0.6;
}

.top-languages a.active, 
.top-languages a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Sosyal Medya Butonları */
.top-socials {
    display: flex;
    gap: 12px;
}

.top-socials a {
    opacity: 0.8;
}

.top-socials a:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Mobil Uyumluluk (Responsive) */
@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .top-contact {
        flex-direction: column;
        gap: 4px;
    }
    .top-widgets {
        gap: 15px;
    }
}
