:root{
  --primary: #0d6efd;
  --secondary: #0a4fb5;
  --dark: #12203d;
}

body{
  font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  color: #2b2f36;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand, .brand-fallback, .nav-tabbar .nav-link{
  font-family: 'Oswald', 'Source Sans 3', system-ui, sans-serif;
}

/* ===== Top utility bar ===== */
.topbar{
  background: var(--dark);
  font-size: .82rem;
  letter-spacing: .02em;
}
.topbar a{ opacity: .9; }
.topbar a:hover{ opacity: 1; }
.topbar-item{ display: inline-flex; align-items: center; gap: .4rem; }
.topbar-icon{ width: 14px; height: 14px; flex: none; opacity: .85; }

/* ===== Main header row ===== */
.main-header{
  padding: .75rem 0;
}
.site-logo{
  height: auto;
  max-height: 64px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
}
@media (max-width: 575.98px){
  .site-logo{ max-height: 44px; max-width: 230px; }
}
.brand-fallback{
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.header-cta .phone-label{
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8a93a3;
}
.header-cta .phone-number{
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.phone-icon{ width: 18px; height: 18px; flex: none; }
.header-cta .btn-whatsapp-header{
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  padding: .55rem 1.3rem;
}
.header-cta .btn-whatsapp-header:hover{ filter: brightness(0.94); color: #fff; }
.header-cta .navbar-toggler{
  border-color: #dde1ea;
  padding: .4rem .55rem;
}
.header-cta .navbar-toggler:focus{ box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--primary) 25%, transparent); }
.header-cta .navbar-toggler-icon{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(18, 32, 61, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Tab-style nav row ===== */
.nav-tabbar{
  background: #fff;
  border-top: 1px solid #eef0f3;
  border-bottom: 3px solid var(--dark);
}
.nav-tabbar .nav-link{
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--dark);
  padding: .9rem 1.15rem !important;
  display: flex;
  align-items: center;
  gap: .45rem;
  border-radius: .5rem .5rem 0 0;
  transition: background .15s ease, color .15s ease;
}
.nav-tabbar .nav-link svg{ width: 16px; height: 16px; flex: none; }
.nav-tabbar .nav-link:hover{
  color: var(--primary);
  background: #f5f6f9;
}
.nav-tabbar .nav-link.active{
  background: var(--primary);
  color: #fff;
}

.btn-primary{
  background-color: var(--primary);
  border-color: var(--primary);
}
.btn-primary:hover,
.btn-primary:focus{
  background-color: var(--secondary);
  border-color: var(--secondary);
}
.btn-outline-primary{
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover{
  background-color: var(--primary);
  border-color: var(--primary);
}
.text-primary{ color: var(--primary) !important; }

/* ===== Hero: full-bleed slide ===== */
.hero-banner{
  position: relative;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}
.hero-slide{
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-color: var(--dark);
}
.hero-slide.no-image{
  background-image: none !important;
  background: linear-gradient(135deg, var(--secondary), var(--dark));
}
.hero-slide::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,16,32,.92) 0%, rgba(10,16,32,.72) 40%, rgba(10,16,32,.35) 75%);
}
@media (max-width: 767.98px){
  .hero-slide{ min-height: 460px; }
  .hero-slide::before{ background: linear-gradient(180deg, rgba(10,16,32,.55) 0%, rgba(10,16,32,.88) 60%); }
}
@media (max-width: 575.98px){
  .hero-slide{ min-height: 400px; }
}
.hero-slide-content{
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 3rem 0;
}
.hero-slide-content .eyebrow{
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  opacity: .85;
  margin-bottom: .75rem;
}
.hero-slide-content h1{
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  margin-bottom: 1.1rem;
}
.hero-divider{
  width: 70px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}
.hero-slide-content p{
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* Hero slider (Bootstrap carousel) */
#heroSlider .carousel-control-prev,
#heroSlider .carousel-control-next{
  width: 4.5rem;
  opacity: 0;
  transition: opacity .2s ease;
}
#heroSlider:hover .carousel-control-prev,
#heroSlider:hover .carousel-control-next{ opacity: .85; }
#heroSlider .carousel-control-prev-icon,
#heroSlider .carousel-control-next-icon{
  width: 2.2rem; height: 2.2rem;
  background-color: rgba(0,0,0,.25);
  border-radius: 50%;
  padding: .5rem;
  background-size: 1.1rem;
}
.hero-indicators{
  position: absolute;
  right: 1.5rem;
  left: auto;
  bottom: 1.25rem;
  width: auto;
  margin: 0;
  justify-content: flex-end;
  z-index: 2;
}
.hero-indicators [data-bs-target]{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.5);
  opacity: 1;
  margin: 0 4px;
}
.hero-indicators .active{ background: var(--primary); }

.btn-pill-outline{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 2px solid #fff;
  color: #fff;
  border-radius: .3rem;
  padding: .65rem 1.7rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .03em;
  transition: background .15s ease, color .15s ease;
}
.btn-pill-outline:hover{ background: #fff; color: var(--dark); }
.btn-pill-solid{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--primary);
  border: 2px solid var(--primary);
  color: #fff;
  border-radius: .3rem;
  padding: .65rem 1.7rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .03em;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-pill-solid:hover{ background: transparent; color: #fff; border-color: #fff; }

.section-title{
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin-bottom: .75rem;
}
.section-divider{
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 0 auto 1.25rem;
}
.section-sub{
  color: #6c757d;
  margin-bottom: 2.5rem;
}
.section-py{ padding-top: 5.5rem; padding-bottom: 5.5rem; }

/* Cards */
.service-card, .feature-card, .blog-card, .testimonial-card{
  border: 1px solid #e8eaef;
  border-radius: .4rem;
  transition: border-color .2s ease, box-shadow .2s ease;
  height: 100%;
}
.service-card:hover, .blog-card:hover, .feature-card:hover{
  border-color: color-mix(in srgb, var(--primary) 30%, #e8eaef);
  box-shadow: 0 6px 18px -12px rgba(18,32,61,.25);
}

/* Service areas (Hizmet Bölgelerimiz) */
.area-card{
  border: 1px solid #e8eaef;
  border-radius: .4rem;
  overflow: hidden;
  background: #fff;
}
.area-card-header{
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: .02em;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.area-icon{ display: flex; }
.area-icon svg{ width: 18px; height: 18px; }
.area-card-body{ padding: 1.5rem; }
.area-list{
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 1.5rem;
}
.area-list li{
  break-inside: avoid;
  padding: .3rem 0;
  font-size: .92rem;
  color: #3a4152;
}
.area-check{ font-weight: 700; margin-right: .3rem; }
.service-icon, .feature-icon{
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: .4rem;
  background: var(--primary);
  color: #fff;
  margin-bottom: 1rem;
}
.service-icon svg, .feature-icon svg{ width: 26px; height: 26px; }
.service-card h5, .feature-card h6{
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
}

.img-zoom{ overflow: hidden; display: block; border-radius: .4rem .4rem 0 0; }

.testimonial-card{
  background: #fff;
  border: 1px solid #e8eaef;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: .4rem;
  position: relative;
  overflow: hidden;
}
.testimonial-card::before{
  content: "\201C";
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  font-family: Georgia, serif;
  font-size: 5.5rem;
  line-height: 1;
  color: color-mix(in srgb, var(--primary) 10%, transparent);
  font-weight: 700;
  z-index: 0;
}
.testimonial-card > *{ position: relative; z-index: 1; }
.testimonial-avatar{
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  margin-right: .6rem;
  flex: none;
}
.stars{ color: #ffb400; letter-spacing: 2px; }

/* Stats band */
.stats-band{
  background: var(--dark);
  padding: 3.25rem 0;
  border-top: 3px solid var(--primary);
}
.stats-band .stat-number{
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  color: #fff;
  line-height: 1;
}
.stats-band .stat-label{
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: .5rem;
}

.cta-strip{
  background: var(--dark);
  color: #fff;
  border-radius: .4rem;
  border-top: 4px solid var(--primary);
}
.cta-strip h3{ text-transform: uppercase; font-weight: 800; }

/* Footer */
.site-footer{
  background: var(--dark);
}
.site-footer h5, .site-footer h6{
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
}
.footer-logo-wrap{
  display: inline-block;
  background: #fff;
  border-radius: .4rem;
  padding: .6rem .9rem;
}
.footer-logo{
  height: auto;
  max-height: 44px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  display: block;
}
.footer-item{ display: flex; align-items: flex-start; gap: .55rem; }
.footer-icon{ width: 16px; height: 16px; flex: none; margin-top: .2rem; opacity: .85; }
.footer-social{
  width: 34px; height: 34px;
  border-radius: .4rem;
  background: rgba(255,255,255,.08);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.footer-social svg{ width: 16px; height: 16px; }
.footer-social:hover{ background: var(--primary); color: #fff; }
.inline-icon{ width: 16px; height: 16px; flex: none; color: var(--primary); }
.btn-icon{ width: 16px; height: 16px; flex: none; }

/* WhatsApp float button */
.whatsapp-float{
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: #25D366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
  z-index: 1000;
}
.whatsapp-float:hover{ color: #fff; transform: scale(1.06); }

.page-banner{
  background: var(--dark);
  color: #fff;
  padding: 3.5rem 0;
  border-bottom: 4px solid var(--primary);
}
.page-banner h1{
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
}

/* Service detail page */
.service-detail-cta{
  background: #f8f9fb;
  border: 1px solid #e8eaef;
  border-radius: .4rem;
  padding: 1.75rem;
}
.related-service-link{
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .75rem;
  border-radius: .35rem;
  color: #2b2f36;
  text-decoration: none;
  border: 1px solid #e8eaef;
  font-weight: 600;
  font-size: .92rem;
  transition: border-color .15s ease, color .15s ease;
}
.related-service-link:hover{ border-color: var(--primary); color: var(--primary); }
.related-service-icon{ width: 20px; height: 20px; flex: none; color: var(--primary); }
.related-service-icon svg{ width: 100%; height: 100%; }

.blog-card img{
  border-radius: .4rem .4rem 0 0;
  height: 200px;
  object-fit: cover;
  width: 100%;
}
.img-zoom{ background: #f4f6fb; }
.img-zoom img{
  height: 210px;
  object-fit: contain;
  width: 100%;
  display: block;
}

/* Gallery page */
.gallery-thumb{
  position: relative;
  display: block;
  border-radius: .4rem;
  overflow: hidden;
  border: 1px solid #e8eaef;
}
.gallery-thumb img{
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.gallery-caption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(18,32,61,.85), transparent);
  color: #fff;
  font-size: .78rem;
  padding: 1.5rem .6rem .5rem;
}
.video-card{
  border: 1px solid #e8eaef;
  border-radius: .4rem;
  overflow: hidden;
  background: #fff;
}
.video-card iframe{ width: 100%; height: 100%; border: 0; }
.video-title{
  margin: 0;
  padding: .9rem 1rem;
  font-weight: 600;
  font-size: .95rem;
}
