/* Genel ayarlar */
html {
  height: 100%;
}
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f8f9fa;
  color: #111827;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-content {
  padding-top: 60px; /* fixed navbar yüksekliği kadar, boşluk olmasın */
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Footer her zaman sayfa altında sabit */
.site-footer {
  margin-top: auto;
  flex-shrink: 0;
}

/* Ayyıldız renk paleti (daha sade ve kurumsal görünüm) */
.bg-ayyildiz {
  background: linear-gradient(120deg, #111827 0%, #1f2937 55%, #7f1d1d 100%);
}

.text-ayyildiz {
  color: #b91c1c;
}

.btn-ayyildiz {
  background-color: #dc2626;
  border-color: #dc2626;
  color: #fff;
}

.btn-ayyildiz:hover {
  background-color: #b91c1c;
  border-color: #b91c1c;
  color: #fff;
}

.whatsapp-btn {
  border-radius: 999px;
  font-weight: 600;
  padding-inline: 1.25rem;
}

/* Ayyıldız logo */
.ayyildiz-logo {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ayyildiz-logo .crescent {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: -6px 0 0 0 #e60000;
  left: 4px;
}

.ayyildiz-logo .star {
  position: absolute;
  right: 3px;
  color: #e60000;
  font-size: 13px;
}

/* Yüklenebilir site logosu */
.site-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

@media (max-width: 767.98px) {
  .site-logo-img {
    height: 28px;
  }
}

/* Hero alanı */
.hero-section {
  background: radial-gradient(circle at top left, rgba(220, 38, 38, 0.08), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  color: #111827;
  padding: 4rem 0 3rem;
}

/* Sayfa başlıkları (Hizmetler, Hakkımızda, Galeri, İletişim) */
.page-header {
  padding-top: 1.75rem !important;
  padding-bottom: 1.5rem !important;
}

.page-header.mt-5 {
  margin-top: 2.25rem !important; /* varsayılan mt-5 yüksekliğini küçült */
}

.page-header .lead.text-muted {
  color: #4b5563 !important;
}
.page-header .display-4 {
  font-size: 2.3rem;
}

.hero-section .hero-badge {
  background-color: rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
  font-size: 0.875rem;
}

.hero-section .hero-card {
  background-color: rgba(255, 255, 255, 0.96);
  border-radius: 1rem;
  padding: 1.5rem;
  color: #212529;
}

/* Anasayfa CTA alanı */
.cta-section {
  background: linear-gradient(90deg, 
    rgba(59, 130, 246, 0.15) 0%, 
    rgba(59, 130, 246, 0.08) 20%, 
    #ffffff 50%, 
    rgba(59, 130, 246, 0.08) 80%, 
    rgba(59, 130, 246, 0.15) 100%);
  position: relative;
  width: 100%;
}

/* Hakkımızda sayfası CTA - koyu arka plan için */
.cta-section.bg-ayyildiz {
  background: linear-gradient(120deg, #111827 0%, #1f2937 55%, #7f1d1d 100%);
}

.cta-section.bg-ayyildiz h2,
.cta-section.bg-ayyildiz .text-light {
  color: #ffffff !important;
}
.cta-section.bg-ayyildiz p,
.cta-section.bg-ayyildiz .text-white-50 {
  color: rgba(255, 255, 255, 0.9) !important;
}
.cta-section.bg-ayyildiz .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
}
.cta-section.bg-ayyildiz .btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
}

/* Bölge sayfası wrapper - footer alta sabit kalsın */
.area-page-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Bölge sayfası - tutarlı açık/koyu geçiş */
.area-page-header.page-header.bg-light {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%) !important;
  border-bottom: 1px solid #e2e8f0;
}

.area-page-header .text-ayyildiz {
  color: #b91c1c !important;
}

.area-page-header .text-muted {
  color: #64748b !important;
}

/* Bölge sayfası içerik - açık ton */
.area-page-body.area-content-section {
  background-color: #ffffff;
}

.area-page-body .area-content {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.8;
}

.area-page-body .area-content p {
  margin-bottom: 1rem;
}

/* Bölge CTA - koyu alan, yumuşak geçiş */
.area-page-body + .cta-section.bg-ayyildiz {
  margin-top: 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

/* Footer - alta sabit, CTA ile uyumlu koyu ton */
.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-inner {
  max-width: 900px;
  padding: 3.5rem 2rem;
  margin: 0 auto;
}

@media (min-width: 1200px) {
  .cta-inner {
    padding: 4rem 3rem;
  }
}

.cta-eyebrow {
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 600;
  color: #dc2626;
  margin-bottom: 0.75rem;
}

.cta-button {
  padding-inline: 2.5rem;
  box-shadow: 0 0.5rem 1.25rem rgba(220, 38, 38, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 1.75rem rgba(220, 38, 38, 0.35);
}

/* Hero görsel alanı */
.hero-image-wrapper {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 1.25rem 2.5rem rgba(15, 23, 42, 0.18);
  background-color: #f3f4f6;
  display: inline-block;
}

.hero-main-image {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(1.05);
  border-radius: 0;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.22), rgba(15, 23, 42, 0.02));
}

.hero-image-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background-color: rgba(15, 23, 42, 0.85);
  color: #f9fafb;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* (Hero altındaki küçük görseller kaldırıldı) */

/* Kartlar */
.feature-card {
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
  border-color: rgba(230, 0, 0, 0.4);
}

/* Galeri */
.gallery-image {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}

.gallery-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-image:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.85) 100%);
  color: #f9fafb;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 1.25rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-overlay h5 {
  margin: 0 0 0.25rem 0;
  font-weight: 600;
}

.gallery-overlay p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.9;
}

.gallery-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  color: #25d366;
}
.gallery-whatsapp-btn:hover {
  background-color: #25d366;
  color: #fff;
  border-color: #25d366;
}

.gallery-image:hover .gallery-overlay {
  opacity: 1;
}

.gallery-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

/* İletişim kartı */
.contact-card {
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.map-wrapper {
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #f3f4f6;
}

.map-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

/* Küçük yardımcılar */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #e60000, #ffffff);
  border-radius: 999px;
}

/* Service Cards */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 1rem;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(230, 0, 0, 0.15) !important;
}

.service-icon {
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

/* Hizmetler görsel grid tasarımı */
.service-tile-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.service-tile {
  position: relative;
  border-radius: 0.85rem;
  overflow: hidden;
  box-shadow: 0 1.25rem 2.5rem rgba(15, 23, 42, 0.16);
  background-color: #020617;
}

.service-tile img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-tile-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.5rem 1.25rem;
  background-color: #f5f0e8; /* açık krem ton */
  color: #4b5563; /* nötr gri yazı */
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-tile-label span {
  display: inline-block;
}

.service-tile:hover img {
  transform: scale(1.06);
}

/* Hizmetler hero yerleşimi */
.services-hero-layout {
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.service-hero-main {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 1.25rem 2.5rem rgba(15, 23, 42, 0.18);
  background-color: #020617;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-hero-main-image {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(1.05);
}

.service-hero-main-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background-color: rgba(15, 23, 42, 0.88);
  color: #f9fafb;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.service-hero-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.service-hero-thumb {
  flex: 1 1 80px;
  border-radius: 0.75rem;
  overflow: hidden;
  border: none;
  padding: 0;
  background: transparent;
  box-shadow: 0 0 0 2px transparent;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-hero-thumb img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}

.service-hero-thumb.active {
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.85);
  transform: translateY(-2px);
}

/* Hizmet detay kartları */
.service-detail {
  background-color: #ffffff;
}

.service-detail:nth-of-type(even) {
  background-color: #f9fafb;
}

.service-detail-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.04);
  background-color: #ffffff;
}

.service-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.service-detail-list i {
  margin-top: 0.15rem;
}

.service-detail-meta {
  border-left: 3px solid rgba(220, 38, 38, 0.3);
  padding-left: 1rem;
}

/* Hakkımızda sayfası blok aralıkları (15px) */
.about-section .about-block {
  margin-bottom: 32px;
}

.about-section .about-block:last-of-type {
  margin-bottom: 0;
}

.about-photo {
  border-radius: 1.5rem;
  background-color: #f3f4f6;
  border: 1px dashed rgba(148, 163, 184, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #6b7280;
  font-size: 0.95rem;
  padding: 1.5rem;
  aspect-ratio: 4 / 3;
  max-width: 520px;
}

.about-photo.has-image {
  display: block;
  background-color: #f3f4f6;
  border: 1px dashed rgba(148, 163, 184, 0.9);
  padding: 0;
  overflow: hidden;
  aspect-ratio: auto;
  max-width: 100%;
}

.about-photo.has-image img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  display: block;
}

@media (min-width: 992px) {
  .about-photo {
    margin-left: auto;
  }
}

.about-highlight-card {
  border-radius: 1.5rem;
  background: radial-gradient(circle at top left, rgba(220, 38, 38, 0.06), transparent 55%),
    #ffffff;
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.06);
  padding: 2rem;
  height: 100%;
}

.about-highlight-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.about-highlight-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.about-highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.about-highlight-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: #dc2626;
  margin-top: 0.35rem;
}

.about-section-inner {
  padding-inline: 1.25rem;
}

@media (min-width: 992px) {
  .about-section-inner {
    padding-inline: 2rem;
  }
}

/* Gallery Filter */
.filter-btn.active {
  background-color: #e60000;
  border-color: #e60000;
  color: #fff;
}

.gallery-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 1rem;
  overflow: hidden;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.gallery-item.hidden {
  display: none;
}

/* Contact Form */
.contact-item {
  padding: 0.5rem 0;
}

/* Mutlu Müşteriler / Referanslar */
.testimonial-card {
  border-radius: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.1) !important;
}

.testimonial-comment {
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
}

.testimonial-name {
  font-size: 0.9rem;
  color: #1f2937;
}

.testimonial-stars {
  font-size: 0.9rem;
}

/* Bölge sayfası - ilçe/mahalle blokları */
.district-block {
  border-radius: 0.75rem;
  transition: box-shadow 0.2s ease;
}

.district-block:hover {
  box-shadow: 0 0.25rem 0.75rem rgba(15, 23, 42, 0.08) !important;
}

/* Feature Box */
.feature-box {
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

/* Stat Box */
.stat-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

/* Mobilde istatistik alanı küçültme */
.stat-number {
  font-size: 1.5rem;
}

.stat-label {
  font-size: 0.7rem;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 3rem;
  }
  
  .stat-label {
    font-size: 1rem;
  }
}

/* Button Outline Ayyıldız */
.btn-outline-ayyildiz {
  color: #e60000;
  border-color: #e60000;
}

.btn-outline-ayyildiz:hover {
  background-color: #e60000;
  border-color: #e60000;
  color: #fff;
}

/* Navbar Active Link */
.navbar-nav .nav-link.active {
  color: #fff !important;
  font-weight: 600;
  position: relative;
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
}

/* Responsive düzenlemeler */
@media (max-width: 767.98px) {
  .hero-section {
    padding-top: 5.25rem;
  }

  .hero-section .display-5 {
    font-size: 2rem;
  }

  .page-content {
    padding-top: 70px;
  }
}

/* Sabit WhatsApp canlı destek butonu */
.floating-whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.25);
  z-index: 1050;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.floating-whatsapp i {
  font-size: 1.75rem;
}

.floating-whatsapp:hover {
  background-color: #1fb257;
  transform: translateY(-2px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

@media (max-width: 575.98px) {
  .floating-whatsapp {
    width: 52px;
    height: 52px;
    right: 1rem;
    bottom: 1rem;
  }
}

