/* Yeniay Rehabilitasyon - erzincanyeniay.com */
:root {
  --primary: #0d7a6f;
  --primary-dark: #065a52;
  --primary-light: #e8f6f4;
  --accent: #f4a261;
  --accent-hover: #e76f51;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #f8fafc;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(13, 122, 111, 0.08);
  --shadow-lg: 0 12px 40px rgba(13, 122, 111, 0.15);
  --font: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  margin: 0;
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

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

/* Top bar */
.top-bar-yeniay {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  padding: 0.5rem 0;
}
.top-bar-yeniay a { color: #fff; }
.top-bar-yeniay i { color: var(--accent); margin-right: 0.35rem; }

/* Header */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header .navbar { padding: 0.75rem 0; }
.navbar-brand-yeniay {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary-dark) !important;
}
.navbar-brand-yeniay img { height: 48px; width: auto; }
.navbar-brand-yeniay span small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.nav-yeniay .nav-link {
  color: var(--text) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  text-transform: none;
}
.nav-yeniay .nav-link:hover,
.nav-yeniay .nav-link.active {
  color: var(--primary) !important;
  background: var(--primary-light);
}
.btn-yeniay-primary {
  background: var(--primary);
  color: #fff !important;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}
.btn-yeniay-primary:hover {
  background: var(--primary-dark);
  color: #fff !important;
  transform: translateY(-1px);
}
.btn-yeniay-outline {
  border: 2px solid var(--primary);
  color: var(--primary) !important;
  background: transparent;
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
}
.btn-yeniay-outline:hover {
  background: var(--primary);
  color: #fff !important;
}
.btn-yeniay-accent {
  background: var(--accent);
  color: #fff !important;
  border: none;
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
}
.btn-yeniay-accent:hover { background: var(--accent-hover); color: #fff !important; }

/* Hero slider */
.hero-slider {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
}
.hero-slide {
  min-height: 85vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(6,90,82,0.92) 0%, rgba(13,122,111,0.75) 45%, rgba(13,122,111,0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 640px;
  padding: 2rem 0;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.25);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: none;
  background-color: var(--white);
  border-radius: 50%;
  padding: 1.5rem;
  background-size: 50%;
}
.hero-slider .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  opacity: 0.6;
}
.hero-slider .carousel-indicators .active { opacity: 1; background: var(--accent); }

/* Sections */
.section-yeniay {
  padding: 5rem 0;
}
.section-yeniay.bg-white { background: var(--white); }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.section-header .label {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  color: var(--text);
  margin: 0.5rem 0 1rem;
}
.section-header p { color: var(--text-muted); margin: 0; }

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--primary);
}
.stat-item span { font-size: 0.9rem; color: var(--text-muted); }

/* About block */
.about-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-image-wrap::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--accent);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.3;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.feature-list li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
}
.feature-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* Service cards */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(13,122,111,0.06);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card .thumb {
  height: 200px;
  overflow: hidden;
}
.service-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.service-card:hover .thumb img { transform: scale(1.06); }
.service-card .body { padding: 1.5rem; }
.service-card .icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}
.service-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 1rem; }
.service-card .link-more {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Gallery preview */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-item-y {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}
.gallery-item-y img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item-y:hover img { transform: scale(1.08); }
.gallery-item-y .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(6,90,82,0.85));
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item-y:hover .overlay { opacity: 1; }
.gallery-item-y .overlay span { color: #fff; font-weight: 600; }

/* CTA */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}
.cta-band p { opacity: 0.9; margin-bottom: 1.5rem; }
.cta-band .btn-yeniay-accent { margin: 0 0.25rem; }

/* Page head inner */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 4rem 0 3rem;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 0.5rem;
}
.breadcrumb-yeniay {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}
.breadcrumb-yeniay a { color: rgba(255,255,255,0.85); }
.breadcrumb-yeniay a:hover { color: #fff; }

/* Contact */
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  height: 100%;
}
.contact-card .icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.form-yeniay .form-control {
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
}
.form-yeniay .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,122,111,0.15);
}

/* Footer */
.site-footer-y {
  background: #0f172a;
  color: rgba(255,255,255,0.8);
  padding-top: 4rem;
}
.site-footer-y h5 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}
.site-footer-y a { color: rgba(255,255,255,0.75); }
.site-footer-y a:hover { color: var(--accent); }
.site-footer-y ul { list-style: none; padding: 0; margin: 0; }
.site-footer-y ul li { margin-bottom: 0.5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding: 1.5rem 0;
  font-size: 0.875rem;
  text-align: center;
}
.social-y a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  margin-right: 0.5rem;
}
.social-y a:hover { background: var(--primary); color: #fff !important; }

/* WhatsApp float */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 999;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff !important; }

/* Service detail / gallery page extras */
.service-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
}
.content-prose h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin: 1.75rem 0 1rem;
    color: var(--primary-dark);
}
.content-prose ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}
.content-prose ul li {
    margin-bottom: 0.35rem;
}

/* Hakkımızda sayfası */
.about-intro-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-intro-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.about-intro-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  line-height: 1.3;
}
.about-intro-badge strong {
  display: block;
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.about-intro-badge span {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.about-intro-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  margin: 0.75rem 0 1rem;
  line-height: 1.25;
}
.about-intro-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.about-value-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.6rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}
.about-value-item i { color: var(--primary); }
.about-content-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(13,122,111,0.08);
}
.about-mv-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
}
.about-mv-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  flex: 1;
}
.about-mv-vision { border-left-color: var(--accent); }
.about-mv-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.about-mv-vision .about-mv-icon {
  background: rgba(244,162,97,0.15);
  color: var(--accent-hover);
}
.about-mv-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  color: var(--primary-dark);
}
.about-mv-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.about-contact-band {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0a6b62 100%);
  color: #fff;
  padding: 3.5rem 0;
}
.about-contact-inner { text-align: center; }
.about-contact-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
}
.about-contact-head p {
  opacity: 0.9;
  margin: 0 0 2rem;
}
.about-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  text-align: left;
  margin-bottom: 2rem;
}
.about-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 1.25rem;
}
.about-contact-item:hover { background: rgba(255,255,255,0.15); }
.about-contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.about-contact-item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
  margin-bottom: 0.25rem;
}
.about-contact-item span,
.about-contact-item a {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.45;
  word-break: break-word;
}
.about-contact-item a:hover { color: var(--accent); }
.about-contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.about-map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  line-height: 0;
}
.about-map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

@media (max-width: 991px) {
  .hero-slider, .hero-slide { min-height: 70vh; }
  .section-yeniay { padding: 3rem 0; }
  .about-intro-image img { height: 300px; }
  .about-content-box { padding: 1.5rem; }
}
@media (max-width: 576px) {
  .about-contact-actions .btn { width: 100%; }
  .about-map-wrap iframe { height: 280px; }
}
