:root {
  --primary: #0f3d8a;
  --primary-dark: #0a2b60;
  --accent: #ffb703;
  --text: #243247;
  --muted: #5d6b82;
  --soft: #f4f7fb;
  --white: #ffffff;
  --border: #d9e3f0;
  --shadow: 0 18px 45px rgba(15, 61, 138, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--soft);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.site-topbar {
  background: #091a36;
  color: #e8eef8;
  font-size: 14px;
}

.site-topbar .wrap,
.site-header .wrap,
.section-wrap,
.footer-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(15, 61, 138, 0.08);
  backdrop-filter: blur(10px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-placeholder {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  border: 2px dashed #8fb0df;
  background: linear-gradient(135deg, #f3f8ff, #dce9fb);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 11px;
  text-align: center;
}

.brand-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
}

.brand-subtitle {
  font-size: 13px;
  color: var(--muted);
}

.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

.header-cta {
  padding: 11px 18px;
  background: var(--primary);
  color: var(--white);
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  padding: 100px 0;
  background-image: url('../images/hero-1.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(5,20,60,0.90) 0%, rgba(10, 43, 96, 0.589) 55%, rgba(15, 60, 138, 0.336) 100%);
}

.hero > .section-wrap {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-grid,
.about-grid,
.contact-grid,
.page-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.page-badge {
  display: inline-block;
  background: #dce9fb;
  color: var(--primary-dark);
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  font-size: 13px;
}

.hero-badge {
  display: inline-block;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  font-size: 13px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(4px);
}

.page-hero h1 {
  font-size: 46px;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--primary-dark);
}

.page-hero p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 18px;
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 20px 0 28px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-main,
.btn-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
}

.btn-main {
  background: var(--primary);
  color: var(--white);
}

.btn-alt {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--primary-dark);
}

.media-card,
.content-card,
.service-card,
.feature-card,
.price-card,
.review-card,
.info-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(15, 61, 138, 0.08);
  box-shadow: var(--shadow);
}

.media-card {
  padding: 16px;
}

.media-placeholder {
  width: 100%;
  min-height: 220px;
  border-radius: 18px;
  border: 2px dashed #9cb9e5;
  background: linear-gradient(135deg, #dbe9ff 0%, #f4f8ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--primary-dark);
  font-weight: 700;
  padding: 22px;
}

.media-placeholder.small {
  min-height: 120px;
  font-size: 15px;
}

/* Resim stilleri */
.card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.media-img {
  width: 100%;
  border-radius: 18px;
  display: block;
  object-fit: cover;
}

.hero-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: 0 8px 32px rgba(15,61,138,0.18);
}

.feature-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  margin-bottom: 14px;
}

.section-pad {
  padding: 56px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head.center {
  text-align: center;
  margin: 0 auto 28px;
}

.section-kicker {
  display: inline-block;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 13px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: 34px;
  color: var(--primary-dark);
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.service-grid,
.feature-grid,
.review-grid,
.footer-grid,
.stats-grid {
  display: grid;
  gap: 20px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.review-grid {
  grid-template-columns: repeat(3, 1fr);
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 22px;
}

.service-card,
.feature-card,
.price-card,
.review-card,
.info-card,
.content-card {
  padding: 22px;
}

.service-card h3,
.feature-card h3,
.price-card h3,
.review-card h3,
.content-card h3,
.info-card h3 {
  margin: 16px 0 10px;
  color: var(--primary-dark);
  font-size: 23px;
}

.service-card p,
.feature-card p,
.price-card p,
.review-card p,
.content-card p,
.info-card p,
.footer-col p,
li {
  color: var(--muted);
}

.service-card .btn-main {
  margin-top: 16px;
}

.icon-chip {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #e7f0ff;
  color: var(--primary);
  font-weight: 800;
}

.about-grid .content-card ul,
.price-card ul,
.footer-col ul,
.content-card ul {
  padding-left: 18px;
  margin: 12px 0 0;
}

.page-hero {
  padding: 56px 0 30px;
  background: linear-gradient(135deg, #eef5ff 0%, #fbfdff 100%);
}

.highlight-box {
  background: linear-gradient(135deg, #0f3d8a, #0a2b60);
  color: #fff;
  padding: 22px;
  border-radius: 20px;
  margin-top: 18px;
}

.highlight-box p,
.highlight-box li,
.highlight-box h3 {
  color: #fff;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-item {
  background: #f8fbff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-dark);
}

.quote {
  font-style: italic;
}

.contact-note {
  background: #fff7df;
  border: 1px solid #f4d980;
  color: #735600;
  padding: 14px 16px;
  border-radius: 14px;
  margin-top: 16px;
}

.footer {
  background: #091a36;
  color: #dbe8ff;
  padding: 48px 0 22px;
}

.footer-grid {
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 14px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 24px;
  padding-top: 18px;
  font-size: 14px;
  color: #bdd0ef;
}

.floating-call {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 32px rgba(15, 61, 138, 0.35), 0 2px 8px rgba(15, 61, 138, 0.18);
  border: 2.5px solid var(--accent);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.floating-call::before {
  content: "📞";
  font-size: 18px;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.18));
}

.floating-call:hover {
  background: var(--primary-dark);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 40px rgba(15, 61, 138, 0.45), 0 2px 8px rgba(15, 61, 138, 0.22);
}

@keyframes float-pulse {
  0%   { box-shadow: 0 8px 32px rgba(15, 61, 138, 0.35), 0 0 0 0 rgba(255, 183, 3, 0.55); }
  60%  { box-shadow: 0 8px 32px rgba(15, 61, 138, 0.35), 0 0 0 12px rgba(255, 183, 3, 0); }
  100% { box-shadow: 0 8px 32px rgba(15, 61, 138, 0.35), 0 0 0 0 rgba(255, 183, 3, 0); }
}

.floating-call {
  animation: float-pulse 2.4s ease-out infinite;
}

/* ===== HERO SECTION OVERRIDES (must come after all base rules) ===== */

.hero h1 {
  font-size: 46px;
  line-height: 1.2;
  margin: 0 0 18px;
  color: #ffffff !important;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}

.hero .hero-text > p {
  color: rgba(255,255,255,0.88) !important;
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 0;
}

.hero .hero-points span {
  background: rgba(255,255,255,0.10) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  border-radius: 12px;
  padding: 11px 16px;
  color: #fff !important;
  backdrop-filter: blur(4px);
  font-size: 15px;
}

.hero .btn-main {
  background: var(--accent);
  color: #0a1f4a;
  font-size: 16px;
  padding: 15px 28px;
  box-shadow: 0 8px 28px rgba(255,183,3,0.40);
}

.hero .btn-main:hover {
  background: #e6a500;
  color: #0a1f4a;
}

.hero .btn-alt {
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.40) !important;
  color: #fff !important;
  font-size: 16px;
  padding: 15px 28px;
  backdrop-filter: blur(4px);
}

.hero .btn-alt:hover {
  background: rgba(255,255,255,0.22) !important;
}

.hero .hero-grid {
  grid-template-columns: 1fr;
  max-width: 780px;
}

/* ===== END HERO OVERRIDES ===== */

/* ===== HAMBURGER MENU BASE ===== */
.nav-toggle-cb {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px 4px;
  order: 3;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle-cb:checked ~ .hamburger span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle-cb:checked ~ .hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle-cb:checked ~ .hamburger span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav-toggle-cb:checked ~ .main-nav {
  display: flex;
}

/* ===== RESPONSIVE — TABLET 992px ===== */
@media (max-width: 992px) {

  /* --- Header & Nav --- */
  .hamburger {
    display: flex;
  }

  .site-header .wrap {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 0;
  }

  .logo-area {
    flex: 1;
    min-width: 0;
  }

  .brand-subtitle {
    display: none;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 8px 0 12px;
    border-top: 1px solid var(--border);
    order: 10;
    background: #fff;
  }

  .main-nav a {
    padding: 13px 8px;
    border-bottom: 1px solid var(--border);
    width: 100%;
    font-size: 15px;
    font-weight: 600;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .main-nav a.active {
    color: var(--primary);
    background: #f0f5ff;
    border-radius: 8px;
    padding-left: 12px;
  }

  .header-cta {
    display: none;
  }

  /* --- Topbar --- */
  .site-topbar {
    display: none;
  }

  /* --- Legal Bar --- */
  .legal-bar {
    display: none;
  }

  /* --- Grids --- */
  .about-grid,
  .contact-grid,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* --- Hero --- */
  .hero {
    min-height: 480px;
    padding: 72px 0;
  }

  .hero h1 {
    font-size: 34px !important;
  }

  /* Tablet'te de kart paragrafları kırp */
  .service-card p,
  .feature-card p,
  .review-card p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  .page-hero {
    padding: 40px 0 24px;
  }
}

/* ===== RESPONSIVE — MOBILE 576px ===== */
@media (max-width: 576px) {

  /* --- Hero --- */
  .hero {
    min-height: 340px;
    padding: 44px 0 36px;
    background-position: 65% center;
  }

  .hero h1 {
    font-size: 22px !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
  }

  .hero .hero-text > p {
    font-size: 14px !important;
    line-height: 1.55 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0 !important;
  }

  .hero-badge {
    font-size: 11px;
    padding: 5px 10px;
    margin-bottom: 10px;
  }

  /* Hero noktaları — yatay kompakt pill'ler */
  .hero .hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0 16px;
  }

  .hero .hero-points span {
    font-size: 12px !important;
    padding: 6px 10px !important;
    line-height: 1.3;
    flex: 0 0 auto;
  }

  /* --- Grids --- */
  .service-grid,
  .feature-grid,
  .review-grid,
  .footer-grid,
  .price-grid,
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* --- Section head --- */
  .section-head {
    margin-bottom: 18px;
  }

  .section-head h2 {
    font-size: 20px;
    line-height: 1.3;
  }

  .section-head p {
    font-size: 14px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .section-kicker {
    font-size: 11px;
  }

  /* --- Cards --- */
  .service-card,
  .feature-card,
  .price-card,
  .review-card,
  .info-card,
  .content-card {
    padding: 14px 14px 16px;
    border-radius: 14px;
  }

  /* Kart paragrafları kırp — metin duvarı olmasın */
  .service-card p,
  .feature-card p,
  .review-card p,
  .info-card p {
    font-size: 14px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
  }

  .service-card h3,
  .feature-card h3,
  .content-card h3,
  .info-card h3 {
    font-size: 17px;
    margin: 10px 0 7px;
  }

  /* Mobilde placeholder kutuları gizle — boş gri kutular kötü görünüyor */
  .media-placeholder {
    display: none;
  }

  /* icon-chip küçült */
  .icon-chip {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 14px;
  }

  /* stat */
  .stat-number {
    font-size: 24px;
  }

  /* highlight-box */
  .highlight-box {
    padding: 16px;
    border-radius: 14px;
  }

  /* --- Buttons --- */
  .button-row {
    flex-direction: column;
    gap: 10px;
  }

  .btn-main,
  .btn-alt {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px 16px;
    font-size: 15px;
  }

  /* --- Logo area --- */
  .logo-placeholder {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .brand-title {
    font-size: 16px;
  }

  /* --- Page hero --- */
  .page-hero {
    padding: 28px 0 16px;
  }

  .page-hero h1 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .page-hero p {
    font-size: 14px;
  }

  /* --- Floating call button --- */
  .floating-call {
    right: 12px;
    bottom: 12px;
    padding: 12px 16px;
    font-size: 13px;
    gap: 7px;
  }

  .floating-call::before {
    font-size: 16px;
  }

  /* --- Spacing --- */
  .section-pad {
    padding: 30px 0;
  }

  .footer {
    padding: 26px 0 14px;
  }

  .footer-bottom {
    font-size: 12px;
  }
}
