/* Bilge Grup Mühendislik — logo teması: lacivert, royal mavi, gümüş */
:root {
  --navy: #0a2463;
  --navy-dark: #061a47;
  --royal: #1e56a0;
  --royal-light: #2d7dd2;
  --silver: #8b9cb3;
  --silver-light: #e8edf4;
  --white: #ffffff;
  --text: #1e293b;
  --text-muted: #475569;
  --shadow: 0 4px 24px rgba(10, 36, 99, 0.12);
  --radius: 10px;
  --font: "Montserrat", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}

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

a {
  color: var(--royal);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--royal-light);
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* Üst şerit */
.top-bar {
  background: var(--navy-dark);
  color: var(--silver-light);
  font-size: 0.85rem;
  padding: 0.5rem 0;
}

.top-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: var(--silver-light);
}

.top-bar a:hover {
  color: var(--white);
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(10, 36, 99, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0;
}

.logo img {
  height: 72px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.main-nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--royal);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--navy-dark) center / cover no-repeat;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 26, 71, 0.92) 0%,
    rgba(10, 36, 99, 0.78) 45%,
    rgba(30, 86, 160, 0.55) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(45, 125, 210, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  max-width: 16ch;
}

.hero-lead {
  font-size: 1.1rem;
  max-width: 42rem;
  opacity: 0.95;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(180deg, var(--royal-light), var(--royal));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(30, 86, 160, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 86, 160, 0.5);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
  margin-left: 0.75rem;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* Bölüm başlıkları */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--silver-light);
}

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--navy);
  margin: 0;
}

.section-title p {
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0.75rem auto 0;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--royal), var(--royal-light));
  margin: 1.25rem auto 2.5rem;
  border-radius: 2px;
}

/* Ana hizmetler */
.services-main {
  display: grid;
  gap: 1.5rem;
}

.service-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--royal) 100%);
  color: var(--white);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.service-featured .service-icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.service-featured-visual {
  border-radius: var(--radius);
  overflow: hidden;
  align-self: center;
}

.service-featured-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

.service-featured h3 {
  color: var(--white);
  font-size: 1.75rem;
  margin-top: 0;
}

.service-featured p {
  opacity: 0.92;
}

.service-featured .tag {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

/* İkincil hizmet — gri featured kart */
.service-featured-secondary {
  background: linear-gradient(135deg, #4a5568 0%, #6b7c93 45%, #8b9cb3 100%);
}

.service-featured-secondary .tag-secondary-featured {
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.btn-secondary-light {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-secondary-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  color: var(--navy);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 36, 99, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 36, 99, 0.15);
}

.service-card.secondary {
  border-left: 4px solid var(--silver);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--silver-light);
  color: var(--royal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 0.75rem;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--royal);
  color: var(--white);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.tag-secondary {
  background: var(--silver);
}

/* İş güvenliği alt başlıklar */
.isg-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
}

.isg-panel h3 {
  color: var(--navy);
  margin-top: 0;
  font-size: 1.25rem;
}

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

.isg-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--silver-light);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text);
}

.isg-list li:last-child {
  border-bottom: none;
}

.isg-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.55rem;
  background: var(--royal);
  border-radius: 50%;
}

/* Periyodik kontrol alanları */
.pk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.pk-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 36, 99, 0.06);
}

.pk-card-image {
  background: var(--silver-light);
  line-height: 0;
}

.pk-card-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.pk-card-body {
  padding: 1.25rem 1.5rem;
}

.pk-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.pk-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Hakkımızda */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-content h2 {
  color: var(--navy);
  margin-top: 0;
}

/* Neden biz */
.why-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--royal) 100%);
  color: var(--white);
  text-align: center;
}

.why-section h2 {
  color: var(--white);
}

.why-section p {
  max-width: 40rem;
  margin: 0 auto 2rem;
  opacity: 0.92;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  text-align: center;
}

.why-item strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.why-item span {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* İletişim */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.contact-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--royal);
}

.contact-card h3 {
  color: var(--navy);
  margin-top: 0;
  font-size: 1.1rem;
}

.contact-card p {
  margin: 0.35rem 0;
  color: var(--text-muted);
}

.contact-card .branch-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--royal);
  margin-bottom: 0.5rem;
}

/* İletişim formu */
.contact-form-wrap {
  margin-top: 2.5rem;
  background: var(--white);
  padding: 2rem 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--navy);
}

.contact-form-wrap h3 {
  color: var(--navy);
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.contact-form-lead {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.form-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.form-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.contact-form label span {
  color: var(--royal);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--silver-light);
  border: 1px solid rgba(10, 36, 99, 0.12);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(30, 86, 160, 0.15);
  background: var(--white);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

/* Haritalar */
.map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.map-block {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(10, 36, 99, 0.06);
}

.map-title {
  margin: 0;
  padding: 1.25rem 1.25rem 0.35rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.map-address {
  margin: 0;
  padding: 0 1.25rem 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.map-embed {
  line-height: 0;
  background: var(--silver-light);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.map-directions {
  display: block;
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--royal);
  border-top: 1px solid var(--silver-light);
}

.map-directions:hover {
  background: var(--silver-light);
  color: var(--navy);
}

/* Eski boş placeholder (gerekirse) */
.map-placeholder {
  min-height: 360px;
  background: var(--silver-light);
  border: 2px dashed rgba(10, 36, 99, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
}

.map-placeholder iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

/* Sabit WhatsApp butonu */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
  color: var(--white);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: var(--silver-light);
  padding: 2rem 0;
  font-size: 0.9rem;
  text-align: center;
}

.site-footer a {
  color: var(--silver-light);
}

/* Hakkımızda sayfası */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--royal) 100%);
  color: var(--white);
  padding: 3.5rem 0;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
}

.page-hero-lead {
  margin: 0;
  max-width: 40rem;
  opacity: 0.92;
  font-size: 1.05rem;
}

.about-page {
  padding-top: 3rem;
}

.about-prose {
  max-width: 820px;
  margin-inline: auto;
}

.about-prose-intro {
  margin-bottom: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-prose-intro img {
  width: 100%;
  height: auto;
  display: block;
}

.about-prose h2 {
  color: var(--navy);
  font-size: 1.35rem;
  margin: 2.25rem 0 1rem;
}

.about-prose p {
  color: var(--text);
  line-height: 1.75;
  margin: 0 0 1.25rem;
}

.about-list {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.about-list li {
  margin-bottom: 0.5rem;
}

.about-cta {
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--silver-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--royal);
  text-align: center;
}

.about-cta p {
  margin-bottom: 1.25rem;
}

.about-cta .btn {
  margin: 0.25rem 0.5rem;
}

.btn-outline-dark {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

/* Responsive */
@media (max-width: 900px) {
  .service-featured {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }

  .main-nav.open {
    max-height: 320px;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 0.75rem;
    display: inline-block;
  }

  .hero {
    min-height: 440px;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 1.5rem;
  }
}
