:root {
  --orange: #f07316;
  --orange-deep: #c44a00;
  --orange-dark: #8a3200;
  --orange-soft: #fff3e8;
  --orange-glow: rgba(240, 115, 22, 0.45);
  --ink: #1c120c;
  --muted: #5c4638;
  --paper: #fffaf5;
  --line: rgba(196, 74, 0, 0.18);
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(138, 50, 0, 0.12);
  --radius: 18px;
  --font-display: "Sora", sans-serif;
  --font-body: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(240, 115, 22, 0.18), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(196, 74, 0, 0.12), transparent 28%),
    linear-gradient(180deg, #fff7ef 0%, var(--paper) 42%, #ffe9d4 100%);
  min-height: 100vh;
  padding-bottom: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
.container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(255, 250, 245, 0.88);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: transparent;
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  max-width: 14ch;
  line-height: 1.15;
  color: var(--orange-dark);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
}
.main-nav > a,
.nav-dropdown-btn {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  padding: 0.4rem 0.2rem;
}
.nav-cta {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: var(--white) !important;
  padding: 0.65rem 1rem !important;
  border-radius: 999px;
  box-shadow: 0 8px 20px var(--orange-glow);
}
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 0.55rem;
  z-index: 50;
}
.nav-dropdown-wide {
  display: none;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  min-width: 420px;
  max-height: 360px;
  overflow: auto;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: grid;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.nav-dropdown-menu a:hover { background: var(--orange-soft); color: var(--orange-dark); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--orange-deep);
  margin: 6px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
  background:
    linear-gradient(120deg, rgba(138, 50, 0, 0.88), rgba(240, 115, 22, 0.72)),
    url("../images/genel/hero.webp") center/cover no-repeat;
  color: var(--white);
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 18, 12, 0.55), transparent 68%);
  z-index: -1;
}
.hero-content { max-width: 720px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}
.hero p {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 54ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.btn-primary {
  background: var(--white);
  color: var(--orange-deep);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.section { padding: 3.5rem 0; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}
.section-lead { color: var(--muted); max-width: 60ch; margin-bottom: 1.8rem; }

.district-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.district-grid a,
.service-card {
  display: block;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.district-grid a:hover,
.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
  box-shadow: var(--shadow);
}
.service-card h3 { margin: 0 0 0.4rem; font-family: var(--font-display); }
.service-card p { margin: 0; color: var(--muted); font-weight: 500; }

.article-wrap { padding: 2.5rem 0 4rem; }
.article-hero {
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.article-hero picture,
.article-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}
.article-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2b1c14;
  margin: 0 0 1.15rem;
}
.article-content strong { color: var(--orange-dark); }
.article-content em { color: var(--orange-deep); }
.article-content u { text-decoration-color: var(--orange); text-underline-offset: 3px; }
.article-content a { font-weight: 700; }
.inline-figure {
  margin: 1.6rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.inline-figure img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.cta-band {
  margin-top: 2rem;
  padding: 1.4rem 1.3rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cta-band a {
  background: var(--white);
  color: var(--orange-deep);
  text-decoration: none;
  font-weight: 800;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.contact-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.contact-card h2 {
  margin-top: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
}
.map-frame {
  margin-top: 0.9rem;
  border: 0;
  width: 100%;
  min-height: 260px;
  border-radius: 14px;
}

.site-footer {
  background: linear-gradient(180deg, #9a3d00, #6d2800);
  color: #ffe8d4;
  padding: 3rem 0 6.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 1.5rem;
}
.footer-brand {
  font-family: var(--font-display);
  margin: 0 0 0.6rem;
  color: #fff;
}
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.45rem 0; }
.footer-phone {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}
.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 1rem;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}
.credit { font-weight: 700; }

.mobile-cta { display: none; }

@keyframes callPulse {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35); }
  40% { transform: translateY(-6px) scale(1.03); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25); }
  70% { transform: translateY(-2px) scale(1.01); }
}
@keyframes callShine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@media (max-width: 960px) {
  .district-grid,
  .service-grid,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand-text { font-size: 0.92rem; max-width: 12ch; }
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none;
    position: absolute;
    inset: 78px 1rem auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 0.8rem;
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.open { display: flex; }
  .nav-dropdown-menu,
  .nav-dropdown-wide {
    position: static;
    min-width: 0;
    box-shadow: none;
    border: 0;
    padding: 0.2rem 0 0.2rem 0.6rem;
    max-height: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: grid; }
}

@media (max-width: 720px) {
  body { padding-bottom: 72px; }
  .district-grid,
  .service-grid,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 6.5rem; }
  .mobile-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    height: 64px;
    background: #3d1a00;
  }
  .mobile-cta-wa,
  .mobile-cta-call {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.02em;
  }
  .mobile-cta-wa {
    width: 33%;
    background: #2f2f2f;
    color: #d7d7d7;
    font-size: 0.92rem;
  }
  .mobile-cta-call {
    width: 66.99%;
    color: #fff;
    font-size: 1.08rem;
    background: linear-gradient(110deg, #ff8a2a, #ff4d00, #ffb347, #e65c00);
    background-size: 220% 220%;
    animation: callPulse 2.4s ease-in-out infinite, callShine 3.8s linear infinite;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  }
}
