/* DağRotası — dr- prefix | Pine Green & Fog */
:root {
  --dr-pine: #2D5A3D;
  --dr-stone: #6B6B5E;
  --dr-fog: #E8EDE6;
  --dr-pine-dark: #1E3D29;
  --dr-pine-light: #3D7A52;
  --dr-font: "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.dr-body {
  font-family: var(--dr-font);
  background: var(--dr-fog);
  color: #2a2a24;
  line-height: 1.65;
  padding-top: 80px;
}

/* Floating pill nav */
.dr-pill-nav {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 400;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: 50px;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  box-shadow: 0 4px 24px rgba(45,90,61,0.15);
  border: 1px solid rgba(45,90,61,0.12);
}

.dr-pill-logo {
  font-weight: 800;
  color: var(--dr-pine);
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  white-space: nowrap;
}

.dr-pill-logo i { color: var(--dr-stone); margin-right: 0.35rem; }

.dr-pill-links { display: flex; align-items: center; gap: 0.15rem; }

.dr-pill-links a {
  padding: 0.55rem 1rem;
  text-decoration: none;
  color: var(--dr-stone);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.2s;
  white-space: nowrap;
}

.dr-pill-links a:hover, .dr-pill-links a.dr-active {
  background: var(--dr-pine);
  color: #fff;
}

.dr-pill-burger {
  display: none;
  background: var(--dr-pine);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  margin-left: 0.5rem;
}

/* Hero */
.dr-hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.dr-hero-visual {
  position: relative;
  min-height: 400px;
}

.dr-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 88vh;
}

.dr-hero-panel {
  background: var(--dr-pine);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem;
}

.dr-hero-panel h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.dr-hero-panel p { opacity: 0.9; font-size: 1.05rem; margin-bottom: 2rem; }

.dr-badge-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }

.dr-badge {
  background: rgba(255,255,255,0.12);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dr-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.dr-btn-white { background: #fff; color: var(--dr-pine); }
.dr-btn-white:hover { background: var(--dr-fog); }
.dr-btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); margin-left: 0.75rem; }
.dr-btn-pine { background: var(--dr-pine); color: #fff; }
.dr-btn-pine:hover { background: var(--dr-pine-dark); }

/* Sections */
.dr-section { padding: 5rem 2rem; }
.dr-container { max-width: 1100px; margin: 0 auto; }

.dr-head { margin-bottom: 2.5rem; }
.dr-head-center { text-align: center; }
.dr-head h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--dr-pine); margin-bottom: 0.5rem; }
.dr-head p { color: var(--dr-stone); max-width: 560px; }
.dr-head-center p { margin: 0 auto; }

.dr-tag {
  display: inline-block;
  background: var(--dr-fog);
  color: var(--dr-pine);
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

/* Gear grid */
.dr-gear-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.dr-gear-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(45,90,61,0.08);
  transition: transform 0.25s;
}

.dr-gear-card:hover { transform: translateY(-4px); }
.dr-gear-card img { width: 100%; height: 180px; object-fit: cover; }
.dr-gear-card-body { padding: 1.15rem; }
.dr-gear-card-body h3 { color: var(--dr-pine); font-size: 1rem; margin-bottom: 0.35rem; }
.dr-gear-card-body p { font-size: 0.85rem; color: var(--dr-stone); }
.dr-price { color: var(--dr-pine); font-weight: 700; margin-top: 0.5rem; display: block; }

/* Trail filter */
.dr-trail-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.dr-filter-btn {
  padding: 0.6rem 1.25rem;
  border: 2px solid var(--dr-pine);
  background: transparent;
  color: var(--dr-pine);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s;
}

.dr-filter-btn:hover, .dr-filter-btn.dr-filter-active {
  background: var(--dr-pine);
  color: #fff;
}

.dr-trail-list { display: grid; gap: 1rem; }

.dr-trail-item {
  background: #fff;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  border-left: 4px solid var(--dr-pine);
  transition: opacity 0.3s, transform 0.3s;
}

.dr-trail-item.dr-hidden { display: none; }

.dr-trail-item h3 { color: var(--dr-pine); font-size: 1.05rem; }
.dr-trail-meta { display: flex; gap: 1rem; font-size: 0.82rem; color: var(--dr-stone); margin-top: 0.35rem; }
.dr-difficulty {
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
}

.dr-diff-easy { background: #c8e6c9; color: #2e7d32; }
.dr-diff-mid { background: #fff3e0; color: #e65100; }
.dr-diff-hard { background: #ffcdd2; color: #c62828; }

/* Elevation chart */
.dr-elevation-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(45,90,61,0.08);
}

.dr-elevation-chart { width: 100%; height: 200px; }

.dr-elevation-chart polyline {
  fill: none;
  stroke: var(--dr-pine);
  stroke-width: 3;
  stroke-linejoin: round;
}

.dr-elevation-chart .dr-elev-area {
  fill: rgba(45,90,61,0.15);
}

.dr-elev-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--dr-stone);
}

.dr-elev-info {
  margin-top: 1.25rem;
  padding: 1rem;
  background: var(--dr-fog);
  border-radius: 8px;
  font-size: 0.9rem;
}

/* Stats band */
.dr-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--dr-pine);
  color: #fff;
  padding: 3rem 2rem;
  border-radius: 12px;
}

.dr-stat { text-align: center; }
.dr-stat strong { display: block; font-size: 2.2rem; margin-bottom: 0.25rem; }
.dr-stat span { font-size: 0.85rem; opacity: 0.85; }

/* Two col */
.dr-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.dr-two-col img { width: 100%; border-radius: 12px; height: 360px; object-fit: cover; }

/* Page hero */
.dr-page-banner {
  background: var(--dr-pine);
  color: #fff;
  padding: 3rem 2rem;
  text-align: center;
  margin-top: -80px;
  padding-top: calc(3rem + 80px);
}

.dr-page-banner h1 { font-size: 2.2rem; margin-bottom: 0.5rem; }
.dr-crumb { font-size: 0.85rem; opacity: 0.8; }
.dr-crumb a { color: var(--dr-fog); }

/* Forms */
.dr-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.dr-field { display: flex; flex-direction: column; gap: 0.35rem; }
.dr-field.dr-full { grid-column: 1 / -1; }
.dr-field label { font-weight: 600; font-size: 0.88rem; }
.dr-field input, .dr-field textarea, .dr-field select {
  padding: 0.75rem; border: 2px solid var(--dr-fog); border-radius: 8px; font-family: inherit;
}
.dr-field input:focus, .dr-field textarea:focus { outline: none; border-color: var(--dr-pine); }
.dr-form-msg { padding: 1rem; border-radius: 8px; display: none; margin-top: 1rem; background: #e8f5e9; color: #2e7d32; }
.dr-form-msg.dr-show { display: block; }

/* Privacy */
.dr-privacy h2 { color: var(--dr-pine); margin: 2rem 0 0.75rem; font-size: 1.2rem; }
.dr-privacy p, .dr-privacy li { margin-bottom: 0.75rem; color: #4a4a42; }
.dr-privacy ul { padding-left: 1.5rem; }

/* Footer */
.dr-footer {
  background: var(--dr-pine-dark);
  color: rgba(232,237,230,0.75);
  padding: 3rem 2rem 1.5rem;
}

.dr-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.dr-footer a { color: var(--dr-fog); text-decoration: none; }
.dr-footer a:hover { color: #fff; }
.dr-footer-bottom { text-align: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.82rem; }

/* Cookie */
.dr-cookie {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  background: #fff;
  border: 2px solid var(--dr-pine);
  border-radius: 50px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  max-width: 90%;
  transition: transform 0.4s;
}

.dr-cookie.dr-visible { transform: translateX(-50%) translateY(0); }
.dr-cookie p { font-size: 0.85rem; }
.dr-cookie a { color: var(--dr-pine); font-weight: 600; }
.dr-cookie-btns { display: flex; gap: 0.5rem; flex-shrink: 0; }
.dr-cookie-btn { padding: 0.5rem 1rem; border: none; border-radius: 50px; cursor: pointer; font-weight: 600; font-size: 0.82rem; }
.dr-cookie-yes { background: var(--dr-pine); color: #fff; }
.dr-cookie-no { background: var(--dr-fog); color: var(--dr-stone); }

@media (max-width: 900px) {
  body.dr-body { padding-top: 70px; }
  .dr-pill-links {
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    border-radius: 0;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .dr-pill-links.dr-open { display: flex; }
  .dr-pill-burger { display: flex; align-items: center; justify-content: center; }
  .dr-hero { grid-template-columns: 1fr; }
  .dr-hero-visual img { min-height: 50vh; }
  .dr-gear-grid, .dr-stats, .dr-two-col, .dr-footer-inner { grid-template-columns: 1fr; }
  .dr-btn-outline { margin-left: 0; margin-top: 0.75rem; }
  .dr-form { grid-template-columns: 1fr; }
  .dr-cookie { flex-direction: column; border-radius: 16px; text-align: center; }
}
