:root {
  --primary: #1a5276;
  --primary-dark: #154360;
  --secondary: #2980b9;
  --accent: #e67e22;
  --text: #2c3e50;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
  --white: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  line-height: 1.75;
  font-size: 1rem;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.navbar {
  background-color: var(--primary) !important;
  padding: 0.875rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  max-height: 55px;
  width: auto;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  padding: 0.5rem 0.9rem !important;
  transition: color 0.3s !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white) !important;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.45);
  padding: 0.35rem 0.65rem;
}

.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%2C255%2C255%2C0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-section {
  min-height: 90vh;
  background-image: url('../images/kocaeli-su-sondaji-slider.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--primary);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 82, 118, 0.9) 0%, rgba(26, 82, 118, 0.65) 100%);
  display: flex;
  align-items: center;
  width: 100%;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2rem;
  max-width: 640px;
}

section {
  padding: 80px 0;
}

.bg-light-section {
  background-color: var(--bg-light);
}

.bg-white-section {
  background-color: var(--white);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.section-divider {
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  margin: 0.75rem auto 2.5rem;
  border-radius: 2px;
}

.section-divider-left {
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  margin: 0.75rem 0 2rem;
  border-radius: 2px;
}

.service-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.14);
}

.service-card .card-img-top {
  height: 210px;
  object-fit: cover;
  background-color: #cde0ef;
  width: 100%;
  display: block;
}

.service-card .card-body {
  padding: 1.5rem;
}

.service-card .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.page-breadcrumb {
  background-color: var(--bg-light);
  padding: 10px 0;
  border-bottom: 1px solid #dee2e6;
}

.page-breadcrumb .breadcrumb {
  margin-bottom: 0;
  font-size: 0.875rem;
}

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

.page-breadcrumb .breadcrumb-item.active {
  color: var(--text-light);
}

.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 55px 0 45px;
  color: var(--white);
}

.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.feature-box {
  text-align: center;
  padding: 2.25rem 1.5rem;
}

.feature-icon {
  width: 72px;
  height: 72px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
  color: var(--white);
}

.feature-box h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.stat-box {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.5rem;
  display: block;
}

.cta-section {
  padding: 25px 0px 15px;
  color: var(--primary-dark);
  text-align: center;
}

.cta-section h2 {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.contact-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  padding: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.contact-icon {
  width: 52px;
  height: 52px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.25rem;
  flex-shrink: 0;
  color: var(--white);
  font-size: 1.25rem;
}

.contact-item-text strong {
  display: block;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.contact-item-text a,
.contact-item-text span {
  color: var(--text);
}

.maps-section {
  padding: 0;
  line-height: 0;
}

.maps-section iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}

.about-image-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.mission-box {
  background-color: var(--bg-light);
  border-radius: 12px;
  padding: 2rem;
  border-left: 4px solid var(--primary);
  margin-bottom: 1.5rem;
}

.mission-box h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.content-section {
  padding: 80px 0;
}

.content-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 2.25rem;
  margin-bottom: 1rem;
}

.content-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.content-section p {
  margin-bottom: 1rem;
}

.content-section ul,
.content-section ol {
  margin-bottom: 1.25rem;
  padding-left: 1.75rem;
}

.content-section li {
  margin-bottom: 0.4rem;
}

.legal-meta {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #dee2e6;
}

footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 65px 0 0;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 1rem;
}

.footer-description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  gap: 0.5rem;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.3s;
}

.footer-contact-item a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 50px;
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: var(--white);
}

.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  transition: background-color 0.3s, border-color 0.3s, transform 0.2s;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #d35400;
  border-color: #d35400;
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-light {
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  transition: all 0.3s;
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
}

.services-content h2, .services-content h3 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.services-content h2:after, .services-content h3:after {
  content: '';
  display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 0.75rem 0 2rem;
    border-radius: 2px;
}

.services-content h2 {
  font-size: 2.25rem;
}

.services-content h3 {
  font-size: 1.85rem;
}

@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.25rem;
  }

  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.875rem;
  }

  .navbar-collapse {
    background-color: var(--primary);
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
    border-radius: 0 0 8px 8px;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 1.875rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-section {
    min-height: 75vh;
  }

  section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .page-hero h1 {
    font-size: 1.75rem;
  }

  .cta-section h2 {
    font-size: 1.625rem;
  }

  footer {
    padding: 50px 0 0;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.625rem;
  }

  .hero-section {
    min-height: 65vh;
  }

  .service-card .card-img-top {
    height: 180px;
  }
}
