/* Tek Hurda Metal - Anasayfa */
:root {
  --lime-bg: #8bc34a;
  --primary: var(--lime-bg);
  --primary-dark: var(--lime-bg);
  --primary-hover: var(--lime-bg);
  --lime: var(--lime-bg);
  --text: #333;
  --text-muted: #666;
  --text-light: #777;
  --white: #fff;
  --footer-bg: #1a1a1a;
  --border: #e5e5e5;
  --container: 1200px;
  --header-height: 90px;
  --topbar-height: 52px;
  --sticky-cta-height: 48px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  padding-bottom: var(--sticky-cta-height);
}

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

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

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

a[href="/hurdaci/"],
a[href="/hurda/"] {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

a[href="/hurdaci/"]:hover,
a[href="/hurda/"]:hover {
  color: inherit;
  opacity: 0.92;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.top-bar {
  background: var(--lime-bg);
  color: var(--white);
  font-size: 12px;
  line-height: 1.4;
  min-height: var(--topbar-height);
  display: flex;
  align-items: center;
}

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

.top-bar__left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

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

.top-bar__left a:hover {
  color: #c8f0c8;
}

.top-bar__right {
  text-align: right;
  font-weight: 600;
}

.top-bar__divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.3);
  display: none;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1102;
  transition: box-shadow 0.3s;
}

.site-header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.site-header.is-sticky .header-inner {
  min-height: 70px;
}

.site-header.is-sticky .logo img {
  max-height: 60px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 24px;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  max-height: 80px;
  width: auto;
  padding: 8px 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text__main {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}

.logo-text__sub {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 2px;
}

/* Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

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

.main-nav > ul {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav > ul > li > a {
  display: block;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.is-active > a {
  color: var(--primary);
}

.main-nav .has-dropdown > a::after {
  content: " ▾";
  font-size: 10px;
}

.main-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-top: 3px solid var(--primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.25s;
  z-index: 100;
}

.main-nav li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .dropdown li a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid #f0f0f0;
  color: var(--text-muted);
}

.main-nav .dropdown li a:hover {
  background: #f8f8f8;
  color: var(--primary);
}

/* Hero */
.hero {
  width: 100%;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 200px;
}

/* Intro Section */
.section-intro {
  padding: 50px 0 40px;
  background: var(--white);
}

.section-intro .row {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.leaf-icon {
  color: var(--primary);
  font-size: 22px;
  margin-bottom: 8px;
}

.section-intro h1 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: #2d2d2d;
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.section-intro p {
  color: var(--text-muted);
  margin-bottom: 16px;
  text-align: justify;
}

.section-intro p strong {
  color: var(--text);
}

.section-intro__image img {
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Green Feature Section */
.section-features {
  background: var(--lime-bg);
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
  padding: 50px 0 40px;
  position: relative;
}

.section-features::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L35 25 L55 30 L35 35 L30 55 L25 35 L5 30 L25 25 Z' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.section-features .container {
  position: relative;
  z-index: 1;
}

.section-features__header {
  text-align: center;
  margin-bottom: 36px;
}

.section-features__header .leaf-icon {
  color: var(--white);
  font-size: 24px;
}

.section-features h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-features__desc {
  color: rgba(255, 255, 255, 0.95);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 15px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.feature-card {
  background: var(--white);
  padding: 24px 18px;
  text-align: center;
  min-height: 280px;
}

.feature-card__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.4;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: left;
}

.plus-divider {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 16px 0;
  background: var(--white);
  color: var(--primary);
  font-size: 18px;
  letter-spacing: 8px;
}

/* Hurda Alım Satım */
.section-services {
  padding: 50px 0;
  background: var(--white);
  position: relative;
}

.section-services::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-image: radial-gradient(var(--primary) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.15;
  pointer-events: none;
}

.section-services .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.section-services__left .section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.section-services__left .section-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--primary);
  max-width: 120px;
}

.section-services h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #2d2d2d;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-services__intro {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 15px;
}

.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px 16px;
  text-align: center;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(139, 195, 74, 0.2);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  color: #888;
}

.service-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: #555;
}

.service-card a {
  color: inherit;
}

.service-card a:hover h3 {
  color: var(--primary);
}

.section-services__image img {
  border-radius: 4px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

/* Parallax Hurda Fiyatları */
.section-prices {
  position: relative;
  background: url("../images/hurda-celik.webp") center/cover no-repeat fixed;
  padding: 60px 0;
  color: var(--white);
}

.section-prices::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 40, 50, 0.82);
}

.section-prices .container {
  position: relative;
  z-index: 1;
}

.section-prices .leaf-icon {
  color: var(--white);
}

.section-prices h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.section-prices__subtitle {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
}

.section-prices p {
  margin-bottom: 16px;
  line-height: 1.8;
  max-width: 900px;
}

.section-prices p strong {
  color: var(--white);
}

.section-prices h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 28px 0 12px;
}

.section-prices ul {
  list-style: none;
  margin-bottom: 20px;
}

.section-prices ul li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
  max-width: 800px;
}

.section-prices ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-size: 20px;
  line-height: 1;
}

/* Hizmetler Grid */
.section-products {
  padding: 50px 0;
  background: #f5f5f5;
}

.section-products h2 {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 36px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-card__img {
  height: 160px;
  overflow: hidden;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  padding: 14px;
  text-align: center;
}

.product-card h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.product-card .btn-link {
  font-size: 12px;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
}

/* Long homepage SEO content */
.section-home-content {
  padding: 60px 0;
  background: var(--white);
}

.section-home-content .container {
  max-width: 1100px;
}

.rich-content h2 {
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #2d2d2d;
  margin: 0 0 14px;
}

.rich-content h3 {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #2d2d2d;
  margin: 18px 0 10px;
}

.rich-content p {
  color: var(--text-muted);
  margin: 0 0 14px;
  line-height: 1.85;
}

.rich-content p strong {
  color: var(--text);
}

.rich-content a {
  color: var(--primary);
  font-weight: 700;
}

.zigzag {
  display: grid;
  gap: 26px;
}

.zigzag-block {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--border);
  background: #fafafa;
}

.zigzag-block:nth-child(even) {
  grid-template-columns: 1fr 1.3fr;
}

.zigzag-block:nth-child(even) .zigzag-media {
  order: -1;
}

.zigzag-media img {
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.scroll-box {
  margin-top: 26px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 22px;
  max-height: 200px;
  overflow: auto;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.scroll-box::-webkit-scrollbar {
  width: 10px;
}

.scroll-box::-webkit-scrollbar-thumb {
  background: rgba(139, 195, 74, 0.45);
  border-radius: 10px;
}

.scroll-box::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.04);
}

/* FAQ */
.section-faq {
  padding: 50px 0;
  background: var(--white);
}

.section-faq h2 {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: #2d2d2d;
}

.faq-list {
  max-width: 900px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item button::after {
  content: "+";
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.faq-item.is-open button::after {
  content: "−";
}

.faq-item__answer {
  display: none;
  padding: 0 0 18px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.is-open .faq-item__answer {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: #fff;
  padding: 50px 0 30px;
  border-top: 3px solid var(--primary);
}

.site-footer .row {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 2.7fr;
  gap: 24px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.site-footer p {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.site-footer ul {
  list-style: none;
}

.site-footer ul li {
  margin-bottom: 8px;
}

.site-footer ul a {
  color: #fff;
  font-size: 13px;
}

.site-footer ul a:hover {
  color: #ff9800;
}

.footer-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.footer-services-grid a {
  white-space: normal;
  line-height: 1.5;
}

.footer-services-grid ul {
  margin: 0;
  padding: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 10px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid #444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.footer-social a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 12px;
  color: #fff;
}

.footer-bottom p {
  margin: 0 0 6px;
}

.footer-credit {
  color: #fff;
  font-size: 12px;
}

.footer-credit a {
  color: #ff9800;
  font-weight: 700;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--lime-bg);
  color: var(--white);
  z-index: 999;
  min-height: var(--sticky-cta-height);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 16px;
}

.sticky-cta a {
  color: var(--white);
  font-weight: 700;
  font-size: clamp(11px, 2vw, 14px);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.sticky-cta a:hover {
  color: #e8f5e9;
}

.sticky-cta svg {
  vertical-align: middle;
  margin-right: 6px;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 60px;
  right: 20px;
  z-index: 998;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5);
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

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

/* Responsive */
@media (max-width: 992px) {
  .section-intro .row,
  .section-services .row {
    grid-template-columns: 1fr;
  }

  .section-intro__image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.3s;
    z-index: 1103;
    overflow-y: auto;
    padding: 80px 0 24px;
  }

  .main-nav.is-open {
    right: 0;
  }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav > ul > li > a {
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
  }

  .main-nav .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    display: none;
  }

  .main-nav .has-dropdown.is-open .dropdown {
    display: block;
  }

  .main-nav .dropdown li a {
    padding-left: 32px;
    background: #fafafa;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
  }

  .nav-overlay.is-visible {
    opacity: 1;
    visibility: visible;
  }

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

  .service-cards {
    grid-template-columns: 1fr;
  }

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

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

  .footer-services-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .section-prices {
    background-attachment: scroll;
  }

  .top-bar__right {
    display: none;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}
