:root {
  --green: #cf650f;
  --green-dark: #8f3f0a;
  --green-soft: #fff0dd;
  --charcoal: #251f1a;
  --metal: #70685f;
  --line: #eadfd4;
  --paper: #ffffff;
  --mist: #fff8ef;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --button-orange: #c75a0b;
  --button-orange-dark: #8d3608;
  --shadow: 0 16px 40px rgba(72, 45, 18, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: #1d1712;
  color: #fff0df;
  font-size: 14px;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar a {
  font-weight: 700;
  color: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 248, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.brand strong {
  display: block;
  line-height: 1.1;
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand small {
  display: block;
  color: var(--metal);
  font-size: 12px;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-menu > a,
.dropdown > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius);
  font-weight: 700;
  color: #293034;
}

.site-menu > a:hover,
.site-menu > a.active,
.dropdown:hover > a,
.dropdown.active > a {
  background: var(--green-soft);
  color: var(--green-dark);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  width: 310px;
  max-height: 460px;
  overflow: auto;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  transition: 0.2s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: #374045;
  font-weight: 700;
}

.dropdown-menu a:hover {
  background: var(--mist);
  color: var(--green-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--charcoal);
}

.menu-toggle b {
  display: none;
}

.hero-slider {
  position: relative;
  min-height: 620px;
  max-height: 760px;
  height: calc(100vh - 116px);
  overflow: hidden;
  background: #111;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.slide.active {
  opacity: 1;
}

.slide img,
.page-hero img,
.service-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay,
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 16, 18, 0.84), rgba(12, 16, 18, 0.46), rgba(12, 16, 18, 0.16));
}

.slide-content,
.page-hero-content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
  padding: 48px 0;
}

.slide h1,
.slide h2,
.page-hero h1,
.service-hero h1,
.simple-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(38px, 7vw, 74px);
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.slide p,
.page-hero p,
.service-hero p,
.simple-hero p {
  max-width: 650px;
  margin: 20px 0 0;
  font-size: 19px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.slide-content .section-kicker,
.page-hero-content .section-kicker {
  color: #ffd29b;
}

.hero-actions,
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.btn-primary {
  background: var(--whatsapp);
  color: #fff;
}

.btn-secondary {
  background: var(--button-orange-dark);
  color: #fff;
}

.btn-light {
  background: var(--button-orange);
  color: #fff;
}

.btn.full {
  width: 100%;
  margin-top: 18px;
}

.slider-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-dots button {
  width: 36px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
}

.slider-dots button.active {
  background: #fff;
}

.intro-strip {
  background: #1d1712;
  color: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

.intro-grid div {
  padding: 22px 26px;
  background: rgba(255, 255, 255, 0.04);
}

.intro-grid strong,
.intro-grid span {
  display: block;
}

.intro-grid span {
  color: #cbd6d0;
  font-size: 14px;
}

.section {
  padding: 86px 0;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2,
.split-copy h2,
.rich-copy h2,
.feature-panel h2,
.cta-inner h2,
.site-footer h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--metal);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(36, 44, 41, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(31, 143, 77, 0.35);
  box-shadow: var(--shadow);
}

.service-image {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--mist);
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 18px;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.22;
}

.service-card p {
  margin: 0 0 14px;
  color: var(--metal);
  font-size: 14px;
}

.text-link {
  color: var(--green-dark);
  font-weight: 900;
}

.split-section {
  padding: 86px 0;
  background: var(--mist);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.split-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-copy p,
.rich-copy p,
.feature-panel p,
.cta-inner p {
  color: var(--metal);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.blog-card,
.blog-row,
.feature-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(36, 44, 41, 0.08);
}

.blog-card {
  padding: 28px;
}

.blog-card h3,
.blog-row h2 {
  margin: 0 0 10px;
  line-height: 1.2;
}

.blog-card p,
.blog-row p {
  margin: 0 0 18px;
  color: var(--metal);
}

.page-hero,
.service-hero {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: #111;
}

.simple-hero {
  padding: 92px 0 70px;
  background: linear-gradient(180deg, #fff3e2, #ffffff);
  border-bottom: 1px solid var(--line);
}

.simple-hero h1 {
  color: var(--charcoal);
}

.simple-hero p {
  color: var(--metal);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 34px;
  align-items: start;
}

.rich-copy {
  font-size: 18px;
}

.rich-copy h2 + p,
.rich-copy p + h2 {
  margin-top: 22px;
}

.feature-panel {
  padding: 26px;
  position: sticky;
  top: 118px;
}

.feature-panel h2 {
  font-size: 24px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  margin: 12px 0;
  color: #374045;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--metal);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--green-dark);
  font-weight: 800;
}

.related-section {
  background: var(--mist);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.blog-list {
  display: grid;
  gap: 18px;
}

.blog-row {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 22px;
  padding: 28px;
}

.blog-row span {
  color: var(--green);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.contact-empty {
  background: var(--mist);
}

.contact-shell {
  min-height: 360px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-card,
.contact-map-card {
  min-height: 300px;
  border: 1px solid rgba(255, 111, 0, 0.18);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 32px;
}

.contact-card h2,
.contact-map-card h2 {
  margin-bottom: 18px;
}

.contact-list {
  display: grid;
  gap: 16px;
  list-style: none;
  margin-bottom: 26px;
}

.contact-list li {
  display: grid;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-list strong {
  color: var(--dark);
  font-size: 14px;
}

.contact-list span,
.contact-list a {
  color: var(--muted);
  font-weight: 700;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.map-box {
  margin-top: 24px;
  min-height: 150px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 111, 0, 0.14), rgba(23, 23, 23, 0.92)),
    url("../images/hurda-demir.jpg") center/cover;
  color: #ffffff;
  display: grid;
  align-content: end;
  gap: 6px;
  padding: 24px;
  overflow: hidden;
}

.map-box span {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.map-box strong {
  font-size: 24px;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.location-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(36, 44, 41, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  scroll-margin-top: 120px;
}

.location-card:hover {
  transform: translateY(-5px);
  border-color: rgba(207, 101, 15, 0.35);
  box-shadow: var(--shadow);
}

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

.location-card-body {
  padding: 20px;
}

.location-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.location-card h2 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.15;
}

.location-card p {
  margin: 0 0 16px;
  color: var(--metal);
}

.area-tags,
.district-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.area-tags span,
.district-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.district-band {
  background: var(--mist);
}

.cta-band {
  padding: 64px 0;
  background: #24170d;
  color: #fff;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.cta-inner p {
  color: #c9d7cf;
  margin-bottom: 0;
}

.site-footer {
  padding: 58px 0 24px;
  background: #17110d;
  color: #f3dfc9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.8fr;
  gap: 38px;
}

.footer-brand {
  color: #fff;
  font-size: 22px;
}

.site-footer h2 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 14px;
}

.footer-links {
  columns: 2;
}

.footer-links a {
  display: block;
  margin: 0 0 8px;
  color: #d9e3de;
}

.footer-phone {
  color: #fff;
  font-weight: 900;
}

.copyright {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #aebbb4;
  font-size: 13px;
}

.designer-link {
  color: #ffb45c;
  font-weight: 900;
}

.designer-link:hover {
  color: #ffffff;
}

.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: grid;
  gap: 10px;
}

.floating-actions a {
  min-width: 132px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.float-whatsapp {
  background: var(--whatsapp);
}

.float-call {
  background: var(--button-orange-dark);
}

@media (max-width: 980px) {
  .menu-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    display: flex !important;
    flex: 0 0 44px;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
    transform: translateY(-50%);
    border-color: var(--button-orange);
    background: var(--button-orange);
    z-index: 4;
  }

  .menu-toggle span {
    background: #fff;
    margin: 3px 0;
  }

  .menu-toggle b {
    display: block;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
  }

  .brand {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .nav-wrap {
    position: relative;
    padding-right: 54px;
  }

  .site-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 1px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-menu.open {
    display: flex;
  }

  .site-menu > a,
  .dropdown > a {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    max-height: 320px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    margin-top: 4px;
  }

  .dropdown.open .dropdown-menu,
  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu {
    display: block;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-grid,
  .content-grid,
  .cta-inner,
  .footer-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .blog-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .location-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 76px;
  }

  .container {
    width: min(100% - 24px, 1180px);
  }

  .topbar-inner {
    flex-direction: column;
    justify-content: center;
    padding: 8px 0;
    gap: 2px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    font-size: 11px;
  }

  .nav-wrap {
    gap: 10px;
  }

  .menu-toggle {
    position: fixed;
    top: 83px;
    left: 330px;
    right: auto;
    transform: none;
  }

  .brand > span:last-child {
    min-width: 0;
  }

  @media (max-width: 360px) {
    .menu-toggle {
      left: 300px;
    }
  }

  @media (max-width: 340px) {
    .menu-toggle {
      left: 280px;
    }
  }

  @media (max-width: 320px) {
    .menu-toggle {
      left: 260px;
    }
  }

  .hero-slider {
    min-height: 560px;
    height: auto;
  }

  .slide-content,
  .page-hero-content {
    min-height: 560px;
  }

  .slide h1,
  .slide h2,
  .page-hero h1,
  .service-hero h1,
  .simple-hero h1 {
    width: min(100%, 330px);
    max-width: 100%;
    font-size: 32px;
  }

  .slide p,
  .page-hero p,
  .service-hero p,
  .simple-hero p {
    width: min(100%, 330px);
  }

  .slide p,
  .page-hero p,
  .service-hero p,
  .simple-hero p {
    font-size: 17px;
  }

  .intro-grid,
  .service-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .split-section {
    padding: 58px 0;
  }

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

  .copyright {
    flex-direction: column;
  }

  .floating-actions {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--line);
  }

  .floating-actions a {
    min-height: 58px;
    min-width: 0;
    border-radius: 0;
    box-shadow: none;
  }
}
