/* ================================================================
   Tuna Tesisat — Premium Corporate CSS v2.0
   Design: Modern, Clean, Professional Plumbing Company
   Palette: Navy #172554 | Orange #f97316 | White #ffffff | Slate #f8fafc
   ================================================================ */

/* ----------------------------------------------------------------
   1. CSS Custom Properties
   ---------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --primary-color:   #172554;   /* deep navy */
  --primary-mid:     #1e3a8a;   /* mid navy */
  --primary-light:   #1d4ed8;   /* bright navy */
  --secondary-color: #f97316;   /* orange */
  --accent-color:    #fb923c;   /* light orange */
  --orange-dark:     #ea580c;   /* dark orange */

  /* Neutrals */
  --white:      #ffffff;
  --light-bg:   #f8fafc;
  --light-gray: #f1f5f9;
  --border:     #e2e8f0;
  --text-color: #1e293b;   /* dark slate */
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Shadows */
  --shadow-xs:  0 1px 3px rgba(0,0,0,.08);
  --shadow-sm:  0 4px 12px rgba(0,0,0,.08);
  --shadow-md:  0 8px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.12);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.14);
  --shadow-orange: 0 8px 24px rgba(249,115,22,.30);
  --shadow-navy:   0 8px 24px rgba(23,37,84,.25);

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full:999px;

  /* Transitions */
  --ease:       cubic-bezier(.4,0,.2,1);
  --dur:        .28s;
  --transition: all var(--dur) var(--ease);
}

/* ----------------------------------------------------------------
   2. Global Reset & Base
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--text-color);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-color);
}

a { text-decoration: none; color: var(--secondary-color); transition: var(--transition); }
a:hover { color: var(--orange-dark); }
img { max-width: 100%; height: auto; display: block; }

/* ----------------------------------------------------------------
   3. Utility
   ---------------------------------------------------------------- */
.text-orange   { color: var(--secondary-color) !important; }
.text-navy     { color: var(--primary-color) !important; }
.bg-navy       { background-color: var(--primary-color) !important; }
.bg-orange     { background-color: var(--secondary-color) !important; }
.section-padding { padding: 72px 0; }
.section-padding-sm { padding: 48px 0; }

/* ----------------------------------------------------------------
   4. Buttons
   ---------------------------------------------------------------- */
.btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary-color);
  color: var(--white);
  border: 2px solid var(--secondary-color);
  padding: 10px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .25px;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-orange:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.btn-outline-orange {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  padding: 10px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .9rem;
  transition: var(--transition);
  cursor: pointer;
}
.btn-outline-orange:hover {
  background: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
  padding: 10px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .9rem;
  transition: var(--transition);
  cursor: pointer;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: var(--white);
  border: 2px solid #25d366;
  padding: 10px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .9rem;
  transition: var(--transition);
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,211,102,.35);
}

/* ----------------------------------------------------------------
   5. Navbar
   ---------------------------------------------------------------- */
#mainNavbar {
  background: var(--primary-color);
  padding: 0;
  height: 72px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
  z-index: 1050;
  transition: box-shadow var(--dur) var(--ease), height var(--dur) var(--ease);
}

#mainNavbar.scrolled {
  height: 64px;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  background: rgba(15,25,50,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

#mainNavbar .container {
  display: flex;
  align-items: center;
  height: 100%;
}

/* Brand */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  flex-shrink: 0;
}
.navbar-brand img {
  height: 46px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.navbar-brand .brand-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.3px;
  white-space: nowrap;
}
.navbar-brand .brand-text span { color: var(--secondary-color); }

/* Nav Links */
.navbar-nav { gap: 2px; }

.navbar .nav-link {
  color: rgba(255,255,255,.78) !important;
  font-weight: 500;
  font-size: .875rem;
  padding: 8px 12px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.navbar .nav-link i { font-size: .75rem; opacity: .8; }

.navbar .nav-link:hover {
  color: var(--white) !important;
  background: rgba(255,255,255,.08);
}
.navbar .nav-link.active {
  color: var(--white) !important;
  background: rgba(249,115,22,.18);
  position: relative;
}
.navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--secondary-color);
  border-radius: 1px;
}

/* Admin button in navbar */
.navbar .btn-orange {
  padding: 7px 18px;
  font-size: .825rem;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* Toggler */
.navbar-toggler {
  border: 1px solid rgba(255,255,255,.2) !important;
  padding: 5px 8px;
  border-radius: var(--radius-sm) !important;
}
.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%28255,255,255,.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile nav */
@media (max-width: 991px) {
  #mainNavbar {
    height: auto;
    min-height: 64px;
    padding: 0;
  }
  #mainNavbar .container { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .navbar-brand img { height: 38px; }
  .navbar-brand .brand-text { font-size: 1rem; }
  .navbar-collapse {
    background: rgba(15,25,50,.98);
    border-radius: var(--radius-md);
    margin-top: 10px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.08);
  }
  .navbar .nav-link {
    padding: 10px 14px !important;
    border-radius: var(--radius-sm);
  }
  .navbar .nav-link.active::after { display: none; }
  .navbar .btn-orange {
    display: block;
    text-align: center;
    margin-top: 8px;
    padding: 9px 18px;
  }
}

/* ----------------------------------------------------------------
   6. Hero Section
   ---------------------------------------------------------------- */
.hero-section {
  min-height: 88vh;
  background: linear-gradient(145deg, #0f172a 0%, var(--primary-color) 45%, #1e3a8a 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}

/* subtle grid pattern */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* orange glow top-right */
.hero-section::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(249,115,22,.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-decorative { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.025);
}
.hero-shape-1 { width: 380px; height: 380px; top: -80px; right: 8%; animation: floatSlow 9s ease-in-out infinite; }
.hero-shape-2 { width: 220px; height: 220px; bottom: 12%; right: 20%; animation: floatSlow 12s ease-in-out infinite reverse; }
.hero-shape-3 { width: 140px; height: 140px; top: 30%; left: 3%; animation: floatSlow 7s ease-in-out infinite 1.5s; }

.hero-icon {
  position: absolute;
  color: rgba(255,255,255,.08);
  font-size: 5rem;
}
.hero-icon-1 { top: 15%; right: 12%; animation: floatSlow 6s ease-in-out infinite; }
.hero-icon-2 { bottom: 25%; right: 6%; font-size: 3.5rem; animation: floatSlow 8s ease-in-out infinite 1s; }
.hero-icon-3 { top: 60%; left: 6%; font-size: 3rem; animation: floatSlow 7s ease-in-out infinite 2s; }
.hero-icon-4 { top: 10%; left: 12%; font-size: 2.5rem; animation: floatSlow 10s ease-in-out infinite 0.5s; }

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249,115,22,.2);
  border: 1px solid rgba(249,115,22,.4);
  color: var(--accent-color);
  font-size: .8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Hero title */
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -.5px;
}
.hero-title .text-gradient {
  background: linear-gradient(120deg, var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }

/* Hero stat pills */
.hero-stats { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.80);
  font-size: .85rem;
  font-weight: 500;
}
.hero-stat-item i { color: var(--secondary-color); }

/* Wave bottom */
.hero-scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.hero-scroll-indicator a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: rgba(255,255,255,.6);
  animation: bounceY 2s ease-in-out infinite;
}

/* ----------------------------------------------------------------
   7. Section / Page Structure
   ---------------------------------------------------------------- */

/* Section header reusable pattern */
.section-header { margin-bottom: 48px; }
.section-header.text-center { text-align: center; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249,115,22,.1);
  color: var(--secondary-color);
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.section-divider {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  border-radius: 2px;
  margin: 12px auto 16px;
}
.section-divider-left { margin-left: 0; }

.section-subtitle {
  color: var(--text-muted);
  font-size: .97rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   8. Service Cards
   ---------------------------------------------------------------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform .35s var(--ease);
  transform-origin: left;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.service-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(249,115,22,.12), rgba(249,115,22,.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-icon-wrapper i { font-size: 1.6rem; color: var(--secondary-color); transition: var(--transition); }

.service-card:hover .service-icon-wrapper {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}
.service-card:hover .service-icon-wrapper i { color: var(--white); }

.service-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}
.service-card-desc {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
  flex: 1;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--secondary-color);
  font-size: .85rem;
  font-weight: 600;
  margin-top: 18px;
  transition: var(--transition);
}
.service-card-link:hover { gap: 10px; color: var(--orange-dark); }

/* ----------------------------------------------------------------
   9. About / Counter Cards
   ---------------------------------------------------------------- */
.counter-card {
  background: var(--light-bg);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.counter-card:hover { box-shadow: var(--shadow-md); background: var(--white); transform: translateY(-3px); }
.counter-icon { color: var(--secondary-color); font-size: 1.5rem; margin-bottom: 8px; }
.counter { font-size: 2rem; font-weight: 900; color: var(--primary-color); line-height: 1; }
.counter-value { font-size: 1.6rem; font-weight: 900; color: var(--primary-color); line-height: 1; }
.counter-suffix { font-size: 1.5rem; font-weight: 900; color: var(--secondary-color); }
.counter-label { font-size: .8rem; color: var(--text-muted); font-weight: 500; margin-top: 6px; }

/* About text */
.about-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }

/* ----------------------------------------------------------------
   10. Project Cards
   ---------------------------------------------------------------- */
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.project-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-mid));
}
.project-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.project-card:hover .project-card-img img { transform: scale(1.08); }
.project-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255,255,255,.2);
  font-size: 3.5rem;
}
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23,37,84,.75) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.project-card-date {
  color: rgba(255,255,255,.9);
  font-size: .78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.project-card-body { padding: 20px; flex: 1; }
.project-card-title { font-size: 1rem; font-weight: 700; color: var(--primary-color); margin-bottom: 8px; }
.project-card-desc { color: var(--text-muted); font-size: .875rem; line-height: 1.65; }

/* ----------------------------------------------------------------
   11. Testimonial / Comment Cards
   ---------------------------------------------------------------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 6rem;
  color: rgba(249,115,22,.08);
  position: absolute;
  top: -8px;
  left: 16px;
  line-height: 1;
  pointer-events: none;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }

.testimonial-text {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.testimonial-rating { margin-bottom: 16px; }
.testimonial-rating .text-orange { font-size: .9rem; }

.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-mid));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.testimonial-name { font-size: .92rem; font-weight: 700; color: var(--primary-color); margin-bottom: 2px; }
.testimonial-role { font-size: .78rem; color: var(--text-light); }

/* Carousel controls */
.btn-carousel {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}
.btn-carousel:hover { background: var(--secondary-color); border-color: var(--secondary-color); color: var(--white); }

/* ----------------------------------------------------------------
   12. Contact Section
   ---------------------------------------------------------------- */

/* Form card */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.contact-form-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Contact info cards — compact & modern */
.contact-info-wrapper { display: flex; flex-direction: column; gap: 14px; }

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}
.contact-info-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); border-color: var(--secondary-color); }

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.15rem;
  transition: var(--transition);
}
.bg-orange-light  { background: rgba(249,115,22,.1); }
.bg-success-light { background: rgba(37,211,102,.1); }
.bg-info-light    { background: rgba(14,165,233,.1); }
.bg-danger-light  { background: rgba(239,68,68,.1); }

.contact-info-content { flex: 1; min-width: 0; }
.contact-info-content h5 {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 3px;
}
.contact-info-content a,
.contact-info-content p {
  font-size: .92rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-info-content a:hover { color: var(--secondary-color); }

/* Social links */
.contact-social h5 { color: var(--primary-color); font-size: .95rem; }
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  transition: var(--transition);
}
.social-instagram { background: rgba(225,48,108,.1); color: #e1306c; }
.social-instagram:hover { background: #e1306c; color: var(--white); transform: translateY(-3px); }
.social-github { background: rgba(36,41,47,.08); color: #24292f; }
.social-github:hover { background: #24292f; color: var(--white); transform: translateY(-3px); }
.social-facebook { background: rgba(24,119,242,.1); color: #1877f2; }
.social-facebook:hover { background: #1877f2; color: var(--white); transform: translateY(-3px); }
.social-twitter { background: rgba(29,155,240,.1); color: #1d9bf0; }
.social-twitter:hover { background: #1d9bf0; color: var(--white); transform: translateY(-3px); }
.social-youtube { background: rgba(255,0,0,.1); color: #ff0000; }
.social-youtube:hover { background: #ff0000; color: var(--white); transform: translateY(-3px); }

/* Map wrapper */
.map-wrapper { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.map-placeholder {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
}

/* ----------------------------------------------------------------
   13. CTA Section
   ---------------------------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a8a 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(249,115,22,.12) 0%, transparent 65%);
  pointer-events: none;
}
.cta-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: var(--white); margin-bottom: 12px; }
.cta-text { color: rgba(255,255,255,.72); font-size: 1rem; max-width: 520px; margin-bottom: 0; }

/* ----------------------------------------------------------------
   14. Blog Cards
   ---------------------------------------------------------------- */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.blog-image { position: relative; height: 200px; overflow: hidden; background: linear-gradient(135deg, var(--primary-color), var(--primary-mid)); }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blog-card:hover .blog-image img { transform: scale(1.08); }

.blog-placeholder-icon { display: flex; align-items: center; justify-content: center; height: 100%; color: rgba(255,255,255,.2); font-size: 3.5rem; }

.blog-date-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--secondary-color);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.blog-content { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card h3 { font-size: 1rem; font-weight: 700; color: var(--primary-color); margin-bottom: 10px; line-height: 1.4; }
.blog-card p { color: var(--text-muted); font-size: .875rem; line-height: 1.7; flex: 1; }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--secondary-color);
  font-size: .82rem;
  font-weight: 600;
  margin-top: 14px;
  transition: var(--transition);
}
.read-more:hover { gap: 9px; color: var(--orange-dark); }

/* Blog Detail */
.blog-detail { max-width: 780px; margin: 0 auto; }
.blog-detail h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; color: var(--primary-color); }
.blog-meta { color: var(--text-muted); font-size: .88rem; margin-bottom: 28px; }
.blog-body { font-size: 1rem; line-height: 1.9; color: var(--text-color); }

/* ----------------------------------------------------------------
   15. Page Header (inner pages)
   ---------------------------------------------------------------- */
.page-header {
  background: linear-gradient(145deg, #0f172a 0%, var(--primary-color) 60%, #1e3a8a 100%);
  padding: 120px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M24 24v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-20v-4h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(249,115,22,.14) 0%, transparent 60%);
}
.page-header-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; color: var(--white); position: relative; z-index: 1; margin-bottom: 14px; }
.page-header .breadcrumb { justify-content: center; position: relative; z-index: 1; }
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a { color: rgba(255,255,255,.65); font-size: .88rem; }
.page-header .breadcrumb-item.active { color: var(--accent-color); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ----------------------------------------------------------------
   16. Footer
   ---------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, var(--primary-color) 0%, #0f172a 100%);
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}
.footer-widget {}
.footer-title {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-title i { color: var(--secondary-color); }
.footer-slogan { color: var(--accent-color); font-size: .875rem; font-weight: 600; margin-bottom: 12px; }
.footer-desc { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.7; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: .875rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.footer-links a i { color: var(--secondary-color); font-size: .7rem; }
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: .875rem;
}
.footer-contact li i { color: var(--secondary-color); margin-top: 3px; width: 16px; }
.footer-contact a { color: rgba(255,255,255,.65); }
.footer-contact a:hover { color: var(--white); }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.75);
  font-size: 1rem;
  transition: var(--transition);
}
.social-icon:hover { background: var(--secondary-color); color: var(--white); transform: translateY(-3px); }

.footer-bottom {
  margin-top: 48px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-bottom p { color: rgba(255,255,255,.45); font-size: .8rem; margin: 0; }

/* ----------------------------------------------------------------
   17. WhatsApp Float & Scroll-to-Top
   ---------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 1000;
  transition: var(--transition);
  animation: pulseWA 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); color: var(--white); box-shadow: 0 8px 30px rgba(37,211,102,.5); }

.scroll-to-top {
  position: fixed;
  bottom: 92px;
  right: 32px;
  width: 42px;
  height: 42px;
  background: var(--primary-color);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: .9rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
  box-shadow: var(--shadow-md);
}
.scroll-to-top.visible { opacity: 1; visibility: visible; }
.scroll-to-top:hover { background: var(--secondary-color); transform: translateY(-3px); }

/* ----------------------------------------------------------------
   18. Form Inputs (public pages)
   ---------------------------------------------------------------- */
.form-control {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  background: var(--light-bg);
  color: var(--text-color);
}
.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(249,115,22,.12);
  background: var(--white);
  outline: none;
}
.form-floating label { color: var(--text-muted); }

/* ----------------------------------------------------------------
   19. Report Page
   ---------------------------------------------------------------- */
.report-section { background: var(--light-bg); }
.report-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  max-width: 960px;
  margin: 0 auto;
}
.report-header { text-align: center; margin-bottom: 36px; padding-bottom: 24px; border-bottom: 2px solid var(--border); }
.report-header h2 { font-size: 1.7rem; color: var(--primary-color); margin-bottom: 8px; }
.report-date { color: var(--text-muted); font-size: .88rem; }

.report-stat-card {
  background: var(--light-bg);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.report-stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.report-stat-number { font-size: 2rem; font-weight: 900; color: var(--secondary-color); line-height: 1; }
.report-stat-label { font-size: .8rem; color: var(--text-muted); font-weight: 500; margin-top: 6px; }

.report-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.report-table th { background: var(--primary-color); color: var(--white); padding: 12px 16px; font-weight: 600; font-size: .875rem; text-align: left; }
.report-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.report-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.report-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); font-size: .875rem; color: var(--text-muted); }
.report-table tr:hover td { background: var(--light-bg); }

/* ----------------------------------------------------------------
   20. Alert styles
   ---------------------------------------------------------------- */
.alert { border-radius: var(--radius-md); border: none; font-size: .9rem; }
.alert-success { background: rgba(34,197,94,.1); color: #166534; border-left: 4px solid #22c55e; }
.alert-danger  { background: rgba(239,68,68,.1);  color: #991b1b; border-left: 4px solid #ef4444; }

/* ----------------------------------------------------------------
   21. Animations
   ---------------------------------------------------------------- */
@keyframes floatSlow {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-18px) rotate(4deg); }
}
@keyframes bounceY {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}
@keyframes pulseWA {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeInUp {
  from { opacity:0; transform: translateY(32px); }
  to   { opacity:1; transform: translateY(0); }
}

/* Scroll-reveal */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }
.animate-on-scroll.animate-left  { transform: translateX(-28px); }
.animate-on-scroll.animate-left.animated  { transform: translateX(0); }
.animate-on-scroll.animate-right { transform: translateX(28px); }
.animate-on-scroll.animate-right.animated { transform: translateX(0); }

.delay-1 { transition-delay: .10s; }
.delay-2 { transition-delay: .20s; }
.delay-3 { transition-delay: .30s; }
.delay-4 { transition-delay: .40s; }
.delay-5 { transition-delay: .50s; }

/* ----------------------------------------------------------------
   22. Responsive Breakpoints
   ---------------------------------------------------------------- */

/* ≥1200px */
@media (max-width: 1399px) {
  .hero-title { font-size: clamp(1.9rem, 3.5vw, 3rem); }
}

/* ≤1199px  laptop */
@media (max-width: 1199px) {
  .section-padding { padding: 60px 0; }
  .hero-section { min-height: 80vh; }
  .navbar .nav-link { padding: 7px 10px !important; font-size: .84rem; }
}

/* ≤991px tablet */
@media (max-width: 991px) {
  .hero-section { padding: 110px 0 64px; min-height: auto; }
  .hero-buttons { justify-content: center; }
  .hero-subtitle { font-size: .97rem; }
  .section-padding { padding: 52px 0; }
  .page-header { padding: 110px 0 48px; }
  .contact-form-card { padding: 24px; }
  .report-container { padding: 30px; }
  .cta-section { padding: 48px 0; }
}

/* ≤767px mobile */
@media (max-width: 767px) {
  .hero-section { padding: 100px 0 56px; }
  .hero-title { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .hero-subtitle { font-size: .9rem; }
  .hero-buttons .btn-orange,
  .hero-buttons .btn-outline-white,
  .hero-buttons .btn-whatsapp { width: 100%; justify-content: center; }
  .hero-buttons { flex-direction: column; gap: 10px; }
  .section-padding { padding: 44px 0; }
  .section-title { font-size: 1.5rem; }
  .page-header { padding: 100px 0 40px; }
  .page-header-title { font-size: 1.7rem; }
  .site-footer { padding: 44px 0 0; }
  .footer-bottom { margin-top: 32px; }
  .whatsapp-float { width: 48px; height: 48px; font-size: 1.4rem; bottom: 20px; right: 20px; }
  .scroll-to-top { bottom: 78px; right: 24px; width: 38px; height: 38px; }
  .report-container { padding: 20px; }
  .counter-card { padding: 18px 12px; }
  .counter { font-size: 1.7rem; }
  .cta-section { padding: 40px 0; }
  .cta-title { font-size: 1.4rem; }
  .contact-info-content a,
  .contact-info-content p { white-space: normal; }
}

/* ≤575px small mobile */
@media (max-width: 575px) {
  .hero-title { font-size: 1.6rem; }
  .service-card { padding: 24px 18px; }
  .testimonial-card { padding: 22px; }
  .blog-date-badge { font-size: .7rem; padding: 4px 10px; }
  .report-container { padding: 16px; }
  .contact-form-card { padding: 18px; }
}

/* ----------------------------------------------------------------
   23. Print
   ---------------------------------------------------------------- */
}

/* ----------------------------------------------------------------
   24. Page-Specific Components (hakkimizda, hizmetlerimiz, etc.)
   ---------------------------------------------------------------- */

/* --- About image wrapper --- */
.about-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

/* Testimonial info sub-elements */
.testimonial-info { display: flex; flex-direction: column; }
.testimonial-quote {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-bottom: 10px;
  opacity: .5;
}

/* About content text p styling */
.about-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 10px; font-size: .95rem; }
.about-text br + br { display: block; margin-bottom: 8px; content: ''; }

.about-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--light-gray) 100%);
  padding: 40px 24px;
  text-align: center;
}
.about-image-placeholder h3 { font-size: 1.3rem; margin-top: 12px; }
.about-image-placeholder p  { color: var(--text-muted); font-size: .875rem; margin: 0; }
.about-image-shape { display: none; }

/* About content lead text */
.about-content .lead {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

/* --- Value Cards (hakkimizda) --- */
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(249,115,22,.12), rgba(249,115,22,.06));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: var(--secondary-color);
  transition: var(--transition);
}
.value-card:hover .value-icon {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: var(--white);
}
.value-title { font-size: 1.05rem; font-weight: 700; color: var(--primary-color); margin-bottom: 10px; }
.value-desc  { color: var(--text-muted); font-size: .875rem; line-height: 1.7; margin: 0; }

/* --- Mission / Vision Cards --- */
.mission-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--secondary-color);
  transition: var(--transition);
}
.mission-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--secondary-color); }

.vision-card { border-left-color: var(--primary-color); }
.vision-card:hover { border-color: var(--primary-color); }

.mission-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(249,115,22,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--secondary-color);
  margin-bottom: 18px;
}
.vision-card .mission-icon { background: rgba(23,37,84,.08); color: var(--primary-color); }
.mission-title { font-size: 1.15rem; font-weight: 700; color: var(--primary-color); margin-bottom: 12px; }
.mission-text  { color: var(--text-muted); font-size: .9rem; line-height: 1.75; margin-bottom: 16px; }
.mission-list  { list-style: none; padding: 0; margin: 0; }
.mission-list li { color: var(--text-muted); font-size: .88rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }

/* --- Stats Section (hakkimizda) --- */
.stats-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-mid) 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(249,115,22,.12) 0%, transparent 60%);
  pointer-events: none;
}
.stat-item { position: relative; z-index: 1; padding: 12px; }
.stat-icon { font-size: 1.8rem; color: var(--secondary-color); margin-bottom: 10px; }
.stat-label { color: rgba(255,255,255,.7); font-size: .82rem; font-weight: 500; margin: 6px 0 0; }
.stats-section .counter        { color: var(--white); font-size: 2.4rem; font-weight: 900; line-height: 1; }
.stats-section .counter-value  { color: var(--white); font-size: 2rem;   font-weight: 900; line-height: 1; }
.stats-section .counter-suffix { color: var(--secondary-color); font-size: 1.6rem; font-weight: 900; }

/* --- Service Detail Cards (hizmetlerimiz) --- */
.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.service-detail-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }

.service-detail-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 32px;
  position: relative;
}
.service-detail-number {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255,255,255,.15);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.service-detail-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.service-detail-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-detail-desc { color: var(--text-muted); font-size: .92rem; line-height: 1.75; margin-bottom: 18px; }
.service-detail-features { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(249,115,22,.08);
  color: var(--secondary-color);
  font-size: .78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(249,115,22,.2);
}

/* --- Why cards (hizmetlerimiz) --- */
.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.why-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 16px;
}
.why-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--primary-color); margin-bottom: 10px; }
.why-card p  { color: var(--text-muted); font-size: .875rem; line-height: 1.7; margin: 0; }

/* ----------------------------------------------------------------
   25. Responsive additions for page-specific components
   ---------------------------------------------------------------- */
@media (max-width: 991px) {
  .service-detail-icon-wrapper { min-height: 160px; }
  .service-detail-content { padding: 24px; }
  .mission-card { padding: 24px; }
  .stats-section { padding: 48px 0; }
  .stats-section .counter { font-size: 2rem; }
}
@media (max-width: 767px) {
  .service-detail-card .row { flex-direction: column !important; }
  .service-detail-reversed .row { flex-direction: column !important; }
  .about-image-placeholder { min-height: 200px; }
  .mission-card { border-left: none; border-top: 4px solid var(--secondary-color); }
  .vision-card { border-top-color: var(--primary-color); }
}

