/* Hero Section - Modern ve Şık */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 75vh;
  background-color: var(--primary);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.8) 0%, rgba(var(--dark-rgb), 0.6) 100%);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/*******************************
* Painter App - Ana CSS Dosyası
* Bu dosya tüm site genelinde kullanılan stilleri içerir
*
* ÖNEMLİ: CSS KOD YÖNETİMİ
* 1. Yeni stiller eklerken doğru bölüme ekleyin
* 2. Stil tanımlarken kapsamı daraltın (global seçiciler yerine, özelleştirilmiş seçiciler)
* 3. Bootstrap stillerini geçersiz kılmak için dikkatli olun
* 4. CSS kodunu karmaşık hale getirmemek için gereksiz stil tekrarından kaçının
* 5. Media sorguları için en altta özel bir bölüm kullanın
*
* BİLEŞENLER:
* - Navbar
* - Butonlar
* - Servis kartları
* - Slider
* - Footer
*******************************/

/* Reverted Typography */
body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--secondary);
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--text-heading);
}

/************* MODERN RENK PALETİ *************/
:root {
  --primary: #1a2332;
  /* Derin lacivert - modern ve güçlü */
  --secondary: #f8fafc;
  /* Çok açık gri - temiz arka plan */
  --accent: #8b5cf6;
  /* Modern mor - şık ve profesyonel */
  --accent-color: var(--accent);
  --warning: #f59e0b;
  /* Sıcak amber - dikkat çekici */
  --success: #10b981;
  /* Modern yeşil - pozitif */
  --danger: #ef4444;
  /* Modern kırmızı - uyarı */
  --light: #f8fafc;
  /* Açık gri */
  --dark: #0f172a;
  /* Çok koyu lacivert */
  --muted: #64748b;
  /* Orta gri - text için */

  /* SABİT METİN RENKLERİ - admin panelden değişmez */
  --text-dark: #0f172a;
  /* Body text rengi - sabit koyu */
  --text-heading: #1a2332;
  /* Başlık rengi - sabit koyu lacivert */
  --text-muted: #64748b;
  /* İkincil text rengi */

  /* Admin Panel Değişkenleri */
  --bg-dark: #1a2332;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --primary-color: #8b5cf6;
  --primary-dark: #7c3aed;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --border-color: #e2e8f0;

  /* RGB versiyonları */
  --primary-rgb: 26, 35, 50;
  --secondary-rgb: 248, 250, 252;
  --accent-rgb: 139, 92, 246;
  --warning-rgb: 245, 158, 11;
  --light-rgb: 248, 250, 252;
  --dark-rgb: 15, 23, 42;

  /* Mesafeler - modern spacing */
  --spacer: 1rem;
  --spacer-sm: 0.5rem;
  --spacer-lg: 2rem;
  --spacer-xl: 3rem;

  /* Border-radius - minimal keskin köşeler */
  --border-radius: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-sm: 0.25rem;

  /* Shadows - modern gölgeler */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* Geçiş süreleri */
  --transition-base: all 0.3s ease;
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s ease;
}

/************* TEMEL STILLER *************/
/* Basic Reset */
html {
  overflow-y: scroll;
  /* Kaydırma çubuğunu her zaman görünür kılar */
}

/* Duplicate body override removed (kept reverted fonts above) */

a {
  color: var(--primary);
  transition: var(--transition-base);
}

a:hover {
  color: var(--dark);
}

/************* NAVBAR STİLLERİ *************/

/* Modern Navbar */
.modern-navbar {
  background: var(--primary, #1a2332);
  /* solid fallback */
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.94) 0%, rgba(var(--dark-rgb), 0.94) 100%) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.18);
  box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(var(--accent-rgb), 0.08) inset;
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
  padding: 0.65rem 0;
  /* bir nebze kompakt */
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1050;
  /* Lightbox modal (2000) üstte kalabilsin */
  will-change: background;
}

.modern-navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(var(--accent-rgb), 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(var(--accent-rgb), 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Navbar scrolled state */
.modern-navbar.scrolled {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.98) 0%, rgba(var(--dark-rgb), 0.98) 100%) !important;
  box-shadow: 0 6px 28px -8px rgba(0, 0, 0, 0.55), 0 2px 0 rgba(var(--accent-rgb), 0.22) inset;
  border-color: rgba(var(--accent-rgb), 0.28);
}

/* Brand Styling */
.navbar-brand {
  color: #ffffff !important;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  padding-left: .25rem;
}

.navbar-brand:hover {
  color: var(--accent-color) !important;
  transform: scale(1.02);
}

.navbar-brand-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Logo Styling */
.navbar-logo {
  height: 45px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(1.1);
}

/* Basit logo img hizalama */
.navbar-brand img {
  height: 45px;
  width: auto;
  object-fit: contain;
  display: block;
}

.navbar-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* Textual wordmark fallback */
.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  font-family: var(--heading-font, 'Poppins', 'Inter', sans-serif);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f9fafc;
  text-shadow: 0 6px 14px rgba(10, 11, 28, 0.45);
}

.brand-wordmark__primary {
  color: #f8fafc;
}

.brand-wordmark__secondary {
  color: #f8fafc;
}

.brand-wordmark--navbar {
  font-size: 1.28rem;
  padding: 0.45rem 1rem;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(13, 16, 35, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-wordmark--navbar:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 14px 36px rgba(13, 16, 35, 0.45);
}

@media (max-width: 575.98px) {
  .brand-wordmark--navbar {
    font-size: 1.05rem;
    padding: 0.35rem 0.7rem;
    letter-spacing: 0.14em;
  }
}

.brand-wordmark--footer {
  font-size: 1.55rem;
  padding: 0.6rem 1.8rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 38px rgba(12, 15, 34, 0.35);
}

/* Navigation Links */
.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem !important;
  border-radius: 12px;
  border: 1px solid transparent;
  /* Hover'da border eklenince oluşan layout kaymasını engelle */
  box-sizing: border-box;
  /* Genişlik stabil kalsın */
  transition: background .22s ease, color .22s ease, transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 0.25rem;
}

.navbar-nav .nav-link i {
  font-size: 1rem;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.navbar-nav .nav-link:hover i {
  opacity: 1;
  transform: scale(1.1);
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1) 0%, rgba(var(--accent-rgb), 0.05) 100%);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: -1;
}

.navbar-nav .nav-link:hover::before {
  opacity: 1;
  transform: scale(1.02);
}

.navbar-nav .nav-link:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.18) 0%, rgba(var(--accent-rgb), 0.08) 100%);
  border-color: rgba(var(--accent-rgb), 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px -6px rgba(var(--accent-rgb), 0.38);
}

.navbar-nav .nav-link.active {
  color: #ffffff !important;
  background: transparent;
  /* Sadece alt çizgi kalsın */
  border-color: transparent;
  transform: none;
  box-shadow: none;
}

/* Aktif küçük alt çizgi */
.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  /* Düz çizgi */
  box-shadow: none;
}

.navbar-nav .nav-link.active i {
  opacity: 1;
  color: #ffffff;
}

/* Unified Button System */
/* CTA Buttons (gradient – dark/hero areas) */
.btn-cta,
.btn-accent,
.btn-hero-accent {
  /* legacy aliases retained */
  --btn-radius: 25px;
  --cta-bg-start: #ffffff;
  --cta-bg-end: #f1f5f9;
  --cta-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, var(--cta-bg-start) 0%, var(--cta-bg-end) 100%);
  border: 2px solid var(--text-heading);
  color: var(--text-heading) !important;
  font-weight: 600;
  padding: .75rem 1.5rem;
  border-radius: var(--btn-radius);
  position: relative;
  overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease, background .4s ease;
  box-shadow: var(--cta-shadow);
}

.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  left: -100%;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .15), transparent);
  transition: left .6s ease;
}

.btn-cta:hover::before {
  left: 100%;
}

.btn-cta:hover {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.9) 0%, var(--accent) 55%, rgba(var(--accent-rgb), 0.85) 100%);
  box-shadow: 0 10px 26px -6px rgba(var(--accent-rgb), .45);
  transform: translateY(-3px);
}

.btn-cta:active {
  transform: translateY(-1px) scale(.97);
  box-shadow: 0 4px 14px -4px rgba(var(--accent-rgb), .4);
}

/* CTA Outline */
.btn-cta-outline,
.btn-accent-outline,
.btn-hero-accent-outline {
  --btn-radius: 25px;
  background: linear-gradient(135deg, rgba(26, 35, 50, .12) 0%, rgba(26, 35, 50, .06) 100%);
  border: 2px solid var(--text-heading);
  color: var(--text-heading) !important;
  font-weight: 600;
  padding: .75rem 1.5rem;
  border-radius: var(--btn-radius);
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
  box-shadow: 0 4px 15px rgba(26, 35, 50, .15);
}

.btn-cta-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  left: -100%;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .28), transparent);
  transition: left .55s ease;
}

.btn-cta-outline:hover::before {
  left: 100%;
}

.btn-cta-outline:hover {
  background: linear-gradient(135deg, var(--accent) 0%, rgba(var(--accent-rgb), .9) 100%);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -4px rgba(var(--accent-rgb), .45);
}

/* UI Buttons (neutral for light surfaces) */
.btn-ui,
.btn-primary-modern {
  /* alias retained temporarily */
  --btn-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid rgba(15, 23, 42, 0.15);
  color: var(--text-dark) !important;
  font-weight: 600;
  padding: .75rem 1.4rem;
  border-radius: var(--btn-radius);
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
  position: relative;
}

.btn-ui:hover {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-color: rgba(15, 23, 42, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.18);
}

.btn-ui:active {
  transform: translateY(-1px) scale(.985);
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.22);
}

/* UI Outline */
.btn-ui-outline,
.btn-primary-modern-outline {
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.25);
  color: var(--text-dark) !important;
  font-weight: 600;
  padding: .75rem 1.4rem;
  border-radius: 14px;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.btn-ui-outline:hover {
  background: #ffffff;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.18);
  transform: translateY(-3px);
}

/* Mobile Navbar Toggler (Bootstrap icon, custom framing) */
.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.6) 0%, rgba(var(--dark-rgb), 0.6) 100%);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.navbar-toggler:hover {
  border-color: rgba(var(--accent-rgb), 0.6) !important;
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.25);
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.4) !important;
}

.navbar-dark .navbar-toggler-icon {
  width: 1.55rem;
  height: 1.55rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.92)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M5 8h20M5 15h20M5 22h20'/%3e%3c/svg%3e");
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  transition: transform .35s ease;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  transform: rotate(90deg);
}

/* Mobile Menu */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.98) 0%, rgba(var(--dark-rgb), 0.98) 100%);
    margin-top: 1rem;
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  }

  .navbar-nav .nav-link {
    padding: 1rem 1.5rem !important;
    margin: 0.25rem 0;
    font-size: 1rem;
  }

  .btn-accent {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }
}

.btn-outline-primary {
  border-color: var(--text-heading);
  color: var(--text-heading);
  font-weight: 600;
  transition: var(--transition-base);
}

.btn-outline-primary:hover {
  background: var(--text-heading);
  border-color: var(--text-heading);
  color: white;
  transform: translateY(-1px);
}

.btn-outline-secondary {
  border-color: var(--text-heading);
  color: var(--text-heading);
  font-weight: 600;
  transition: var(--transition-base);
}

.btn-outline-secondary:hover {
  background: var(--text-heading);
  border-color: var(--text-heading);
  color: white;
  transform: translateY(-1px);
}

/* CTA butonları için özel spacing */
.cta-buttons .btn {
  min-width: 180px;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}

/* Hero section'da beyaz outline buton */
.hero-section .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.8);
  color: white;
  font-weight: 600;
}

.hero-section .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
  transform: translateY(-1px);
}

/* Teklif Al Butonu (eski) */
.btn-outline-success {
  color: white;
  border-color: var(--accent);
  background-color: var(--accent);
}

.btn-outline-success:hover {
  background-color: rgba(var(--primary-rgb), 0.9);
  border-color: rgba(var(--primary-rgb), 0.9);
}

/* Mobil Toggle */
.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-light .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

/************* BOOTSTRAP OVERRIDE CLASSES *************/
/* Bootstrap sınıfları için geçersiz kılmalar */
.text-primary {
  color: var(--text-heading) !important;
}

.text-accent {
  color: var(--accent) !important;
}

.bg-accent {
  background-color: var(--text-heading) !important;
}

.bg-accent.bg-opacity-10 {
  background-color: rgba(var(--accent-rgb), 0.1) !important;
}

/* Bootstrap'i geçersiz kılma ve kendi renk sistemimize uyumlu hale getirme */
.bg-primary {
  background-color: var(--primary) !important;
}

.bg-secondary.bg-opacity-10 {
  background-color: rgba(var(--secondary-rgb), 0.1) !important;
}

/************* MODERN SERVİS KARTLARI *************/
.service-card {
  transition: var(--transition-base);
  border: none;
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  max-width: 320px;
  min-width: 220px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--warning) 100%);
  transform: translateY(-100%);
  transition: var(--transition-base);
}

.service-card:hover::before {
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
}

.service-link {
  color: var(--dark);
  transition: var(--transition-base);
  text-decoration: none;
}

.service-card:hover .service-link {
  color: var(--dark);
}

.service-image-wrapper {
  height: 160px;
  max-height: 160px;
  overflow: hidden;
  border-radius: 0;
  position: relative;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.service-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
  opacity: 0;
  transition: var(--transition-base);
}

.service-card:hover .service-image-wrapper::after {
  opacity: 1;
}

.service-image-wrapper img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

/* Tüm servis kartlarında hover durumunda görsel efekti */
.service-card:hover .service-image-wrapper img {
  transform: scale(1.05);
}

/************* HERO SECTION *************/
/* Sade hero tasarımı - önceki karmaşık kodlar kaldırıldı */

/* Modern Butonlar */
.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #2563eb 100%);
  border: none;
  color: white;
  font-weight: 600;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  transition: var(--transition-base);
  box-shadow: var(--shadow);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #2563eb 0%, var(--accent) 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition-base);
}

.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.text-accent {
  color: var(--accent) !important;
}

.text-warning {
  color: var(--warning) !important;
}

.hero-section .btn-outline-light {
  border-width: 2px;
}

.hero-section .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
}

/************* FOOTER BÖLÜMÜ *************/
/* Footer link stilleri */
footer h5 {
  color: white !important;
}

footer .hover-primary:hover {
  color: #ffffff !important;
}

footer a {
  transition: var(--transition-base);
}

/************* SAYFA ÖZEL STİLLER *************/
/* Breadcrumb stili */
.breadcrumb-container {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: var(--primary);
}

.breadcrumb-item a {
  color: var(--primary);
}

.breadcrumb-item a:hover {
  color: var(--dark);
}

.breadcrumb-item.active {
  color: var(--dark);
}

/* Modern Page Header - Background Image Desteği */
.modern-page-header {
  position: relative;
  /* Eğer inline background-image gelmezse varsayılan gradient + doku */
  --header-bg-image: none;
  /* Inline ile url(...) atanacak */
  background-image:
    linear-gradient(135deg, rgba(var(--primary-rgb), var(--header-overlay-opacity, 0.85)) 0%, rgba(var(--dark-rgb), var(--header-overlay-opacity, 0.75)) 100%),
    var(--header-bg-image),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  background-size: cover, cover, 200px 200px;
  background-position: center, center, 0 0;
  background-repeat: no-repeat, no-repeat, repeat;
  background-attachment: fixed;
  color: white;
  padding: 2.25rem 0 1.25rem 0;
  /* Daha kompakt yükseklik */
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  min-height: var(--header-min-height, 240px);
  display: flex;
  align-items: center;
}

.modern-page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 0%, rgba(var(--accent-rgb), 0.05) 100%);
  z-index: 1;
}

.modern-page-header .container {
  position: relative;
  z-index: 2;
}

.header-title {
  font-size: 1.8rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.3rem;
  color: #ffffff !important;
  /* Kontrastı garanti et */
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45), 0 0 1px rgba(0, 0, 0, 0.6);
  /* Daha güçlü okunabilirlik */
  margin-bottom: 0.3rem;
}

.header-title:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 60px;
  background-color: var(--accent);
}

.header-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 90%;
}

.header-breadcrumb {
  background-color: transparent !important;
  padding: 0;
  margin: 0;
}

.header-breadcrumb .breadcrumb-item {
  font-size: 1.1rem;
}

.header-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.8);
  content: "›";
  font-weight: 500;
  font-size: 1.2rem;
}

.header-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: var(--transition-base);
  font-weight: 500;
}

.header-breadcrumb .breadcrumb-item a:hover {
  color: white;
  text-decoration: underline;
}

.header-breadcrumb .breadcrumb-item.active {
  color: #ffffff;
  /* Mor yerine beyaz */
  font-weight: 600;
  position: relative;
}

/* Aktif breadcrumb için ince accent alt çizgi */
.header-breadcrumb .breadcrumb-item.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-color) 0%, rgba(var(--accent-rgb), 0.5) 60%, transparent 100%);
  border-radius: 2px;
  opacity: 0.85;
}

/* Header Decorative Elements */
.header-decorative-elements {
  position: relative;
  width: 250px;
  height: 120px;
}




.header-house {
  position: absolute;
  top: 18px;
  right: 38px;
  width: 70px;
  height: 60px;
  z-index: 2;
}

.header-house-body {
  position: absolute;
  bottom: 0;
  left: 10px;
  width: 50px;
  height: 35px;
  background: #e0e0e0;
  border: 2.5px solid #333;
  border-radius: 4px 4px 8px 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-house-roof {
  position: absolute;
  left: 2px;
  top: 0;
  width: 66px;
  height: 32px;
  background: transparent;
  border-left: 33px solid transparent;
  border-right: 33px solid transparent;
  border-bottom: 22px solid #bdbdbd;
  z-index: 1;
}

.header-house-door {
  position: absolute;
  left: 30px;
  bottom: 0;
  width: 10px;
  height: 16px;
  background: #888;
  border: 2px solid #333;
  border-radius: 2px 2px 6px 6px;
}

/* Servisler sayfası - özel stil */
.service-header .header-background {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.9) 0%, rgba(var(--secondary-rgb), 0.3) 100%);
}

/************* İLETİŞİM SAYFASI STİLLERİ *************/

/* Workflow Timeline Styles */
.workflow-timeline {
  position: relative;
  padding: 20px 0;
}

.workflow-timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  height: 100%;
  width: 4px;
  background-color: rgba(var(--primary-rgb), 0.1);
  border-radius: 4px;
}

.workflow-item {
  padding-left: 70px;
  position: relative;
  margin-bottom: 40px;
}

.workflow-item:last-child {
  margin-bottom: 0;
}

.workflow-icon {
  position: absolute;
  left: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(var(--primary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  z-index: 2;
}

.workflow-icon i {
  font-size: 1.4rem;
}

.workflow-number {
  position: absolute;
  width: 24px;
  height: 24px;
  background-color: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  top: -5px;
  right: -5px;
}

.workflow-content {
  background-color: white;
  padding: 20px 25px;
  border-radius: var(--border-radius);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--primary);
}

.workflow-content h4 {
  margin-bottom: 10px;
  color: var(--primary);
}

.workflow-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/************* İLETİŞİM SAYFASI STİLLERİ *************/
/* İletişim Sayfası Stilleri */
.contact-info {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--primary);
}

.contact-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.contact-form {
  padding: 15px;
}

.contact-map iframe {
  display: block;
  filter: grayscale(30%);
  transition: all 0.4s ease;
}

.contact-map iframe:hover {
  filter: grayscale(0%);
}

.success-icon {
  animation: success-pulse 2s infinite;
}

@keyframes success-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* --------------------------------- */
/* Showcase / Projelerimiz Sayfası   */
/* --------------------------------- */

/* Showcase Liste Sayfası */
/* Showcase Banner & Filters */
.showcase-banner {
  background-color: rgba(var(--bs-light-rgb), .5);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.showcase-filters .btn {
  border-radius: 30px;
  padding: 8px 16px;
  transition: all 0.3s ease;
}

/* Gallery Thumbnails */
.gallery-thumbnails {
  gap: 10px;
}

.gallery-thumbnail {
  flex: 0 0 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-thumbnail:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .gallery-thumbnails {
    gap: 5px;
  }

  .gallery-thumbnail {
    flex: 0 0 80px;
    height: 60px;
  }
}

/* Service Cards Grid - Galeri ile uyumlu */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  padding: 1.25rem 0;
  align-items: stretch;
}

/* Yeni Hizmet Tile Tasarımı */
.services-list .service-tile {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 14px;
  padding: 1rem 1.05rem 1.15rem;
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .08);
  transition: box-shadow .25s ease, transform .25s ease;
}

.services-list .service-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px -4px rgba(0, 0, 0, .12);
}

.services-list .service-tile-img {
  object-fit: cover;
  border-radius: 10px;
  width: 100%;
  height: 100%;
}

.services-list .service-tile-title {
  line-height: 1.25;
}

.services-list .service-tile-desc {
  font-size: .92rem;
  line-height: 1.55;
  color: var(--dark);
  display: block;
  overflow: visible;
  max-height: none;
}

@media (min-width:1400px) {
  .services-list .service-tile-desc {
    font-size: .95rem;
  }
}

/* Yatay Hizmet Kartları */
.services-horizontal .service-h-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.service-h-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 18px;
  padding: 1rem 1.15rem;
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .08);
  transition: var(--transition-base);
}

.service-h-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent) 0%, var(--warning) 100%);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  transition: width .45s ease;
}

.service-h-card {
  position: relative;
  overflow: hidden;
}

.service-h-card:hover {
  box-shadow: 0 10px 32px -6px rgba(0, 0, 0, .14);
  transform: translateY(-3px);
}

.service-h-card:hover::before {
  width: 100%;
}

.service-h-media {
  flex: 0 0 290px;
  max-width: 290px;
  margin-bottom: 0.85rem;
}

@media (min-width:768px) {
  .service-h-media {
    margin-bottom: 0;
    margin-right: 1.35rem;
  }
}

.service-h-ratio {
  width: 100%;
  height: 100%;
}

.service-h-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.service-h-placeholder {
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  font-size: .8rem;
}

.service-h-body {
  flex: 1;
  min-width: 0;
}

.service-h-title {
  line-height: 1.25;
}

.service-h-desc {
  font-size: .92rem;
  line-height: 1.55;
  color: var(--dark);
}

/* Scrollable full description */
.service-h-desc-scroll {
  max-height: 140px;
  overflow: auto;
  padding-right: 6px;
  position: relative;
}

.service-h-desc-scroll::-webkit-scrollbar {
  width: 6px;
}

.service-h-desc-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.service-h-desc-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
  border-radius: 10px;
}

.service-h-desc-scroll::-webkit-scrollbar-thumb:hover {
  filter: brightness(1.15);
}

@media (min-width:1400px) {
  .service-h-desc-scroll {
    max-height: 160px;
  }
}

@media (min-width:1400px) {
  .service-h-desc {
    font-size: .95rem;
  }
}

.service-h-card .btn {
  --bs-btn-padding-y: .35rem;
  --bs-btn-padding-x: .9rem;
}

/* Scrollbar uyumu (webkit) */
.services-horizontal ::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}

.services-horizontal ::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, .04);
  border-radius: 20px;
}

.services-horizontal ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
  border-radius: 20px;
}

.services-horizontal ::-webkit-scrollbar-thumb:hover {
  filter: brightness(1.1);
}

/* cta-section (showcase ile uyumlu) ek stil gerekirse burada genişletilebilir */
/* CTA boyut küçültme */
.cta-section {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}

@media (max-width: 575.98px) {
  .cta-section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

.cta-section h3.h2 {
  font-size: 1.65rem;
  line-height: 1.25;
}

.cta-section p.lead {
  font-size: 1rem;
  line-height: 1.5;
}

.cta-section .btn-lg {
  padding: .75rem 1.75rem;
  font-size: 1rem;
  border-radius: 14px;
}

.cta-section .p-4.p-md-5 {
  padding: 1.25rem !important;
}

@media (min-width:768px) {
  .cta-section .p-4.p-md-5 {
    padding: 2rem !important;
  }
}

/* Service Cards - Modern Overlay Design */
.service-card-modern {
  margin-bottom: 1rem;
}

.service-card-container {
  height: 280px;
  border-radius: 14px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
  background: #0f172a;
  border: none;
}

.service-card-container:hover {
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 10px 28px -6px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.service-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
}

.service-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card-container:hover .service-bg-image {
  transform: scale(1.1);
}

.service-bg-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(120, 136, 159, 0.7),
      rgba(91, 105, 125, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.placeholder-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  opacity: 0.3;
}

.service-icon {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.9);
  opacity: 1;
  position: relative;
  z-index: 2;
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(26, 35, 50, 0.4) 0%,
      rgba(45, 55, 72, 0.5) 50%,
      rgba(26, 35, 50, 0.6) 100%);
  border-radius: 14px;
}

.service-content {
  position: relative;
  z-index: 2;
  height: 100%;
}

.service-title {
  font-size: 1.1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  line-height: 1.3;
}

.service-description {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(26, 35, 50, 0.95) 0%,
      rgba(45, 55, 72, 0.95) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 3;
}

.service-card-container:hover .service-hover-overlay {
  opacity: 1;
  transform: translateY(0);
}

.service-hover-content {
  text-align: center;
  padding: 1.5rem;
  max-width: 90%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-full-description {
  max-height: 180px;
  overflow-y: auto;
  padding-right: 8px;
  text-align: left;
}

.service-full-description::-webkit-scrollbar {
  width: 3px;
}

.service-full-description::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.service-full-description::-webkit-scrollbar-thumb {
  background: rgba(var(--accent-rgb), 0.6);
  border-radius: 2px;
}

.service-full-description::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--accent-rgb), 0.8);
}

.service-hover-content p {
  font-size: 0.9rem;
  line-height: 1.5;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  margin-bottom: 0;
}

/* Services Carousel */
.services-carousel-wrapper {
  overflow: hidden;
  margin: 0 30px;
  position: relative;
}

.services-carousel {
  display: flex;
  gap: 1rem;
  transition: transform 0.3s ease;
  will-change: transform;
}

.service-card-wrapper {
  flex: 0 0 300px;
  max-width: 300px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border: none;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.3);
  transition: all 0.3s ease;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50%;
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.1);
  background: var(--accent);
  box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.4);
  color: white;
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-btn:disabled {
  opacity: 0.3;
  transform: translateY(-50%) scale(0.9);
  cursor: not-allowed;
}

.carousel-btn-left {
  left: -25px;
}

.carousel-btn-right {
  right: -25px;
}

@media (max-width: 768px) {
  .services-carousel-wrapper {
    margin: 0 20px;
  }

  .service-card-wrapper {
    flex: 0 0 240px;
    max-width: 240px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .carousel-btn-left {
    left: -20px;
  }

  .carousel-btn-right {
    right: -20px;
  }
}

/* (Reverted) */

.service-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 420px;
  width: 100%;
}

.service-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 250px;
  width: 100%;
  flex-shrink: 0;
}

.service-card .card-body {
  height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
  flex-shrink: 0;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card:hover .service-image {
  transform: scale(1.05);
}

.service-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--bs-dark);
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.service-description {
  font-family: 'Inter', sans-serif;
  color: var(--bs-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.9375rem;
  }

  .service-card {
    height: 360px;
  }

  .service-image-wrapper {
    height: 200px;
  }

  .service-card .card-body {
    height: 160px;
    padding: 1.25rem;
  }

  .service-title {
    font-size: 1rem;
  }

  .service-description {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 0.9375rem;
  }
}

/* Showcase Cards */
.showcase-card {

  transition: all 0.3s ease;
}

.showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .15) !important;
}

.showcase-card:hover .showcase-image {
  transform: scale(1.05);
}

/* Why Choose Us & Workflow Cards */
.workflow-icon {
  transition: all 0.3s ease;
}

.card:hover .workflow-icon {
  transform: scale(1.1);
}

/* =============================================
   FOOTER STYLES - Modern Footer Design
   ============================================= */

/* Footer */
.modern-footer {
  background: linear-gradient(135deg, var(--primary, #1a2332) 0%, var(--dark, #0f172a) 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.modern-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(var(--accent-rgb), 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(var(--accent-rgb), 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(var(--accent-rgb), 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.footer-section {
  position: relative;
  z-index: 1;
}

.footer-title {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--accent-color);
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 1.5rem !important;
}

.footer-text {
  color: #e2e8f0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-links .footer-link {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-radius: 6px;
  font-size: 0.95rem;
}

.footer-links .footer-link:hover {
  color: var(--accent-color);
  transform: translateX(8px);
  padding-left: 12px;
}

.footer-links .footer-link i {
  width: 20px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links .footer-link:hover i {
  opacity: 1;
}

.footer-contact .footer-link {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact .footer-link:hover {
  color: var(--accent-color);
}

.footer-contact li {
  display: flex;
  align-items: center;
  padding: 4px 0;
}

/* Footer ikonları için tutarlı renk */
.footer-title i,
.footer-contact i,
.footer-section i {
  color: rgba(255, 255, 255, 0.85);
}

.footer-hours {
  background: rgba(var(--accent-rgb), 0.1);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  backdrop-filter: blur(10px);
}

.footer-logo img {
  filter: brightness(1.1) contrast(1.1);
  transition: all 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.05);
  filter: brightness(1.2) contrast(1.2);
}

/* Footer logo (transparent variants) */
.footer-logo-img {
  max-height: 60px;
  width: auto;
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4)) brightness(1.05) contrast(1.05);
  transition: all .3s ease;
}

.footer-logo-img:hover {
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55)) brightness(1.12) contrast(1.12);
  transform: translateY(-2px);
}

.social-links {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(var(--accent-rgb), 0.2);
  color: #cbd5e1;
  text-decoration: none;
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
}

.social-link:hover {
  background: var(--accent-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(var(--accent-rgb), 0.3);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 1.5rem 1rem 1rem 1rem !important;
  backdrop-filter: blur(10px);
}

.footer-copyright {
  color: #94a3b8;
  margin: 0;
  font-size: 0.9rem;
}

.footer-credits {
  color: #94a3b8;
  font-size: 0.85rem;
}

/* Responsive Footer */
@media (max-width: 767.98px) {
  .modern-footer {
    padding: 2rem 0 !important;
  }

  .footer-title {
    font-size: 1rem;
  }

  .footer-text,
  .footer-link {
    font-size: 0.9rem;
  }

  .footer-section {
    margin-bottom: 2rem;
  }

  .footer-bottom {
    text-align: center !important;
  }

  .footer-bottom .col-md-6:last-child {
    margin-top: 1rem;
  }
}

/* Before / After Hero Slider */
.hero-before-after-wrapper {
  position: relative;
  margin-top: 0;
  border-radius: 0;
  overflow: hidden;
  background: #151515;
}

/* Navbar'a bitişik, köşeler düz */
/* Full-width overlay (gradient) */
.hero-before-after-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(140deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .55) 18%, rgba(0, 0, 0, .35) 38%, rgba(0, 0, 0, .15) 60%, rgba(0, 0, 0, 0) 85%);
  pointer-events: none;
}

/* Pattern overlay kaldırıldı (istenirse tekrar eklenebilir) */
.hero-ba-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

@media (min-width:992px) {
  .hero-ba-inner {
    min-height: 540px;
  }
}

.hero-ba-text {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 560px;
  padding: 3.5rem 3rem;
  color: #fff;
  pointer-events: none;
}

/* pointer-events:none => slider handle her zaman tıklanabilir */
.hero-ba-text a,
.hero-ba-text button {
  pointer-events: auto;
}

/* CTA ve linkleri yeniden etkinleştir */
.hero-ba-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1rem;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, .35), 0 1px 2px rgba(0, 0, 0, .6);
}

/* Eski beyaz + belirgin gölge */
.hero-ba-title span {
  color: inherit;
}

/* Mor accent kaldırıldı */
.hero-ba-sub {
  font-size: 1.125rem;
  opacity: .95;
  max-width: 520px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .4);
}

/* Okunabilir beyaz */
.hero-ba-slider {
  position: relative;
  width: 100%;
  flex: 1;
  overflow: hidden;
}

.hero-ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Üst (before) layer tam boy; sadece clip-path değişiyor => ölçek yok */
.hero-ba-before-layer {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
  will-change: clip-path;
}

.hero-ba-slider.dragging .hero-ba-before-layer {
  transition: none;
}

.hero-ba-handle {
  will-change: left;
}

.hero-ba-slider {
  user-select: none;
  touch-action: none;
}

.hero-ba-before-layer .hero-ba-img-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  margin-left: -2px;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  z-index: 6;
}

/* z-index > text */
.hero-ba-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, .95);
}

.hero-ba-knob {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, .55);
  border: 1px solid rgba(255, 255, 255, .3);
  padding: .5rem .65rem;
  border-radius: 40px;
  font-size: .85rem;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .25);
}

.hero-ba-knob i {
  font-size: .9rem;
  line-height: 1;
  color: #fff;
}

.hero-ba-handle:focus .hero-ba-knob,
.hero-ba-handle:hover .hero-ba-knob {
  background: rgba(0, 0, 0, .75);
}

.hero-ba-handle .divider {
  position: absolute;
  width: 2px;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, .9);
}

.hero-ba-handle .label {
  position: absolute;
  background: rgba(0, 0, 0, .55);
  padding: .4rem .7rem;
  border-radius: 24px;
  font-size: .65rem;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.hero-ba-handle .label.before {
  left: -110px;
}

.hero-ba-handle .label.after {
  right: -110px;
}

@media (max-width:600px) {
  .hero-ba-text {
    position: absolute;
    padding: 1.25rem 1rem 1.1rem 1rem;
    max-width: 100%;
    pointer-events: none;
    top: 0;
    left: 0;
  }

  .hero-ba-text a,
  .hero-ba-text button {
    pointer-events: auto;
  }

  .hero-ba-title {
    font-size: clamp(1.55rem, 7vw, 2rem);
    margin-bottom: .55rem;
  }

  .hero-ba-sub {
    font-size: .9rem;
    line-height: 1.35;
    max-width: 480px;
  }

  .hero-ba-inner {
    min-height: 470px;
  }

  .hero-ba-handle .label.before {
    left: -90px;
  }

  .hero-ba-handle .label.after {
    right: -90px;
  }
}

/* Contact Card Hover Effects */
.contact-card .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
}

.contact-card:hover .card {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(var(--accent-rgb), 0.2);
  border-color: var(--accent);
}

.contact-card .contact-icon-lg i {
  transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon-lg i {
  transform: scale(1.15);
}

/* Contact CTA Section - Elegant Compact Design */
.contact-cta-section {
  background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.08) 0%, rgba(var(--accent-rgb), 0.03) 100%);
  border-right: 3px solid var(--accent);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.cta-icon-wrapper {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent) 0%, rgba(var(--accent-rgb), 0.7) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.25);
}

.cta-icon-wrapper i {
  font-size: 1.5rem;
  color: white;
}

.cta-icon-wrapper .cta-favicon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.contact-cta-section h4 {
  color: var(--text-heading, #1a202c);
  margin-bottom: 0.5rem;
}

.contact-cta-section p {
  color: var(--text-muted, #64748b);
}

@media (max-width: 991px) {
  .contact-cta-section {
    border-right: none;
    border-bottom: 3px solid var(--accent);
    padding: 2rem;
  }
}

/* Wall Reveal Animation */
.wall-reveal-container {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  cursor: pointer;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.wall-before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #d4c4a8 0%, #c4b396 50%, #b8a888 100%);
  transition: opacity 0.6s ease, transform 0.4s ease;
  z-index: 2;
}

/* Çatlaklar */
.crack {
  position: absolute;
  background: rgba(80, 60, 40, 0.3);
  border-radius: 2px;
}

.crack-1 {
  width: 2px;
  height: 60px;
  top: 20%;
  left: 30%;
  transform: rotate(15deg);
}

.crack-2 {
  width: 40px;
  height: 2px;
  top: 40%;
  right: 25%;
  transform: rotate(-8deg);
}

.crack-3 {
  width: 2px;
  height: 45px;
  bottom: 25%;
  left: 55%;
  transform: rotate(-20deg);
}

/* Soyulan boya efektleri */
.peel {
  position: absolute;
  border-radius: 40% 60% 50% 40%;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.peel-1 {
  width: 35px;
  height: 25px;
  top: 30%;
  right: 35%;
}

.peel-2 {
  width: 28px;
  height: 20px;
  bottom: 35%;
  left: 25%;
}

.wall-after {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--accent) 0%, rgba(var(--accent-rgb), 0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.brand-reveal {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s ease 0.2s;
}

/* Hover Effects */
.wall-reveal-container:hover .wall-before {
  opacity: 0;
  transform: scale(1.1);
}

.wall-reveal-container:hover .brand-reveal {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 991px) {
  .wall-reveal-container {
    min-height: 200px;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .brand-reveal {
    font-size: 1.2rem;
  }
}