/* Durak Ormancılık — kurumsal yeşil tema */
:root {
  --forest-900: #13261c;
  --forest-800: #1a3c2a;
  --forest-700: #245238;
  --forest-600: #2f6a48;
  --moss: #4d7a5c;
  --leaf: #6b9a78;
  --mist: #eef3ef;
  --fog: #f7faf7;
  --bark: #3d3429;
  --wood: #6e5a3e;
  --ink: #152019;
  --muted: #4d5c53;
  --line: rgba(26, 60, 42, 0.14);
  --white: #ffffff;
  --radius: 2px;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --shadow-soft: 0 18px 40px rgba(19, 38, 28, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(77, 122, 92, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(36, 82, 56, 0.08), transparent 50%),
    linear-gradient(180deg, var(--fog) 0%, var(--mist) 40%, #e6eee8 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--forest-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--forest-900);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--forest-800);
  color: var(--white);
  padding: 0.6rem 1rem;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(720px, calc(100% - 2.5rem));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(247, 250, 247, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 250, 247, 0.94);
}

.site-header__inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--forest-800);
  text-decoration: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  color: var(--forest-700);
  transform-origin: 50% 80%;
  animation: leaf-sway 5.5s ease-in-out infinite;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand__sub {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav__link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  padding: 0.55rem 0.75rem;
  transition: color 0.25s var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.3rem;
  height: 1px;
  background: var(--forest-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--forest-800);
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  transform: scaleX(1);
}

.site-nav__cta {
  margin-left: 0.35rem;
  background: var(--forest-800);
  color: var(--white) !important;
  padding: 0.55rem 1rem;
}

.site-nav__cta::after {
  display: none;
}

.site-nav__cta:hover {
  background: var(--forest-900);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0;
  cursor: pointer;
  place-items: center;
  gap: 6px;
}

.nav-toggle__bar {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--forest-800);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-of-type {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--forest-800);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--forest-900);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--forest-800);
}

.btn--light:hover {
  background: var(--mist);
  color: var(--forest-900);
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 500;
  color: var(--forest-700);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(19, 38, 28, 0.35), transparent 50%),
    url("https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=2000&q=80") center / cover no-repeat;
  transform: scale(1.08);
  animation: hero- ken 18s var(--ease) forwards;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(19, 38, 28, 0.25) 0%, rgba(19, 38, 28, 0.55) 45%, rgba(19, 38, 28, 0.82) 100%),
    linear-gradient(90deg, rgba(19, 38, 28, 0.55), transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto 4.5rem;
  max-width: 38rem;
  padding-top: 4rem;
}

.hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  font-weight: 500;
  line-height: 1.2;
  max-width: 16ch;
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: 1.02rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__scroll {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 2.6rem;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.hero__scroll span {
  display: block;
  width: 100%;
  height: 40%;
  background: rgba(255, 255, 255, 0.85);
  animation: scroll-line 1.8s ease-in-out infinite;
}

/* Page hero (iç sayfalar) */
.page-hero {
  padding: 4.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(36, 82, 56, 0.08), transparent 70%);
}

.page-hero__title {
  margin: 0.35rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--forest-900);
}

.page-hero__lead {
  margin: 0;
  max-width: 40ch;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section--intro {
  padding-top: 4.5rem;
}

.section--muted {
  background: rgba(255, 255, 255, 0.45);
  border-block: 1px solid var(--line);
}

.section--social {
  background:
    linear-gradient(135deg, rgba(36, 82, 56, 0.08), rgba(110, 90, 62, 0.05)),
    var(--white);
}

.section--cta {
  padding-bottom: 5.5rem;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}

.section__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--forest-900);
}

.section__text {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section__head {
  margin-bottom: 2.5rem;
  max-width: 28rem;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.photo {
  min-height: 420px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
}

.photo--forest {
  background-image: url("https://images.unsplash.com/photo-1511497584788-876760111969?auto=format&fit=crop&w=1400&q=80");
}

.photo--canopy {
  background-image: url("https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?auto=format&fit=crop&w=1200&q=80");
}

.photo--path {
  background-image: url("https://images.unsplash.com/photo-1502082553048-f009c37129b9?auto=format&fit=crop&w=1200&q=80");
}

.photo--community {
  background-image: url("https://images.unsplash.com/photo-1469474968028-56623f02e42e?auto=format&fit=crop&w=1200&q=80");
}

/* Services list */
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.service-list__item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.service-list__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--leaf);
  line-height: 1.2;
}

.service-list__item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--forest-900);
}

.service-list__item p {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
}

/* CTA band */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.25rem 2rem;
  background: linear-gradient(120deg, var(--forest-800), var(--forest-700));
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.cta-band__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 600;
}

.cta-band__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  max-width: 40ch;
}

/* About */
.prose-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2.5rem;
  align-items: start;
}

.fact-panel {
  padding: 1.5rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.fact-panel dl {
  margin: 0;
  display: grid;
  gap: 1.15rem;
}

.fact-panel dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.25rem;
}

.fact-panel dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--forest-900);
}

.steps {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  gap: 0.25rem;
  padding: 1.25rem 0 1.25rem 3.2rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--leaf);
}

.steps strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--forest-900);
}

.steps span {
  color: var(--muted);
}

/* Services detail */
.detail {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.detail:first-of-type {
  border-top: 1px solid var(--line);
}

.detail h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--forest-900);
}

.detail p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
}

/* Projects */
.project-stack {
  display: grid;
  gap: 2.5rem;
}

.project {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.project__visual {
  min-height: 280px;
}

.project__body h2 {
  margin: 0.2rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--forest-900);
}

.project__body p:last-child {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
}

.contact-list span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
}

.contact-list strong {
  font-weight: 500;
  color: var(--forest-900);
}

.contact-list a {
  text-decoration: none;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--forest-800);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--fog);
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--moss);
  background: var(--white);
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-alert {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
}

.form-alert--ok {
  background: rgba(47, 106, 72, 0.12);
  color: var(--forest-800);
  border: 1px solid rgba(47, 106, 72, 0.25);
}

.form-alert--error {
  background: rgba(140, 50, 40, 0.08);
  color: #6b2a22;
  border: 1px solid rgba(140, 50, 40, 0.2);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--forest-900);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.75rem 0 2rem;
}

.site-footer__inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: grid;
  gap: 1.25rem;
}

.site-footer__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--white);
}

.site-footer__tag,
.site-footer__meta,
.site-footer__copy {
  margin: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer__copy {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal[data-reveal-delay="1"] { transition-delay: 0.08s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.16s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero__image,
  .brand__mark,
  .hero__scroll span {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@keyframes hero-ken {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes leaf-sway {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2.5deg); }
}

@keyframes scroll-line {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}

/* Responsive */
@media (max-width: 900px) {
  .split,
  .project,
  .prose-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .photo,
  .project__visual {
    min-height: 260px;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(247, 250, 247, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__link {
    padding: 0.9rem 0.25rem;
  }

  .site-nav__link::after {
    display: none;
  }

  .site-nav__cta {
    margin: 0.5rem 0 0;
    text-align: center;
  }

  .hero__content {
    margin-bottom: 3.5rem;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .service-list__item {
    grid-template-columns: 3rem 1fr;
  }
}
