/* Köpek Oteli — Kasanibil marka yeşili */
:root {
  --ko-accent: #1a805b;
  --ko-ink: #0f4834;
  --ko-muted: #5c7a6e;
  --ko-bg: #f4faf7;
  --ko-card: #ffffff;
  --ko-line: #b8d9cb;
  --ko-line-soft: #e8f5ef;
}

* { box-sizing: border-box; }

body.ko-body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ko-ink);
  background: var(--ko-bg);
  line-height: 1.5;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

body.ko-nav-open { overflow: hidden; }

.ko-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.ko-header {
  background: #fff;
  border-bottom: 1px solid var(--ko-line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  padding-top: env(safe-area-inset-top, 0);
}

.ko-header-wrap { display: flex; flex-direction: column; }

.ko-header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 8px 0;
}

.ko-mobile-toggle {
  display: none;
  border: 1px solid var(--ko-line);
  background: #fff;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  flex-shrink: 0;
}

.ko-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-weight: 800;
  font-size: 1.15rem;
  flex: 1;
  min-width: 0;
}

.ko-brand img { height: 36px; width: auto; border-radius: 8px; }
.ko-brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ko-btn-header {
  flex-shrink: 0;
  padding: 8px 14px;
  font-size: .88rem;
}

.ko-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  border-top: 1px solid var(--ko-line-soft);
  min-height: 44px;
  padding: 0;
  flex-wrap: wrap;
}

.ko-nav a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: #44403c;
  font-weight: 600;
  font-size: .9rem;
  border-radius: 8px;
  white-space: nowrap;
}

.ko-nav a:hover,
.ko-nav a.is-active {
  background: var(--ko-bg);
  color: var(--ko-accent);
}

.ko-nav-cta {
  background: var(--ko-accent) !important;
  color: #fff !important;
  margin-left: auto;
}

.ko-nav-cta:hover { background: #145c42 !important; color: #fff !important; }

.ko-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ko-accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

.ko-btn-outline {
  background: transparent;
  color: var(--ko-accent);
  border: 1px solid var(--ko-accent);
}

.ko-main { padding: 8px 16px 32px; min-height: 50vh; }

.ko-hero {
  padding: 48px 0 36px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, color-mix(in srgb, var(--ko-accent) 18%, transparent), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--ko-bg) 100%);
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 0 0 24px 24px;
}

.ko-hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.6rem);
  margin: 0 0 12px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ko-hero p {
  max-width: 560px;
  color: var(--ko-muted);
  margin: 0 0 20px;
  font-size: 1.05rem;
}

.ko-section { padding: 28px 0; }
.ko-section h2 { margin: 0 0 14px; font-size: 1.35rem; }

.ko-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.ko-card {
  background: var(--ko-card);
  border: 1px solid var(--ko-line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(28, 25, 23, .04);
}

.ko-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.ko-price { color: var(--ko-accent); font-weight: 700; }
.muted { color: var(--ko-muted); }

.ko-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

.ko-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: var(--ko-line-soft);
}

.ko-form label {
  display: block;
  font-weight: 600;
  margin: 10px 0 4px;
  font-size: .9rem;
}

.ko-form input,
.ko-form select,
.ko-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #7eb89a;
  border-radius: 10px;
  font: inherit;
  max-width: 100%;
}

.ko-alert {
  padding: 12px 14px;
  border-radius: 10px;
  margin: 12px 0;
}

.ko-alert-ok { background: #ecfdf5; color: #065f46; }
.ko-alert-err { background: #fef2f2; color: #991b1b; }

.ko-footer {
  background: #1c1917;
  color: #a8a29e;
  padding: 32px 0 calc(40px + env(safe-area-inset-bottom, 0px));
  margin-top: 24px;
  font-size: .9rem;
}

.ko-footer-inner {
  display: grid;
  gap: 20px;
}

.ko-footer-brand strong { color: #fff; font-size: 1.05rem; display: block; margin-bottom: 8px; }
.ko-footer-brand p { margin: 4px 0; }

.ko-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ko-footer-social a {
  color: #7eb89a;
  text-decoration: none;
  font-weight: 600;
}

.ko-footer-copy { margin: 0; opacity: .75; font-size: .82rem; }

.ko-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.ko-footer-links a {
  color: #7eb89a;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
}

.ko-musait { margin: 12px 0; }

.ko-musait-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--ko-line);
  border-radius: 10px;
  margin-bottom: 8px;
  background: #fff;
  flex-wrap: wrap;
}

.ko-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ko-accent);
  margin: 0 0 8px;
}

.ko-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.ko-hero-price { margin: 0; font-size: .95rem; }

.ko-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 8px 0 8px;
}

.ko-trust-item {
  background: #fff;
  border: 1px solid var(--ko-line);
  border-radius: 12px;
  padding: 12px 14px;
}

.ko-trust-item strong {
  display: block;
  font-size: .92rem;
  margin-bottom: 4px;
}

.ko-trust-item span {
  font-size: .82rem;
  color: var(--ko-muted);
}

.ko-quick-book {
  background: #fff;
  border: 1px solid var(--ko-line);
  border-radius: 16px;
  padding: 20px !important;
  margin: 12px 0;
}

.ko-quick-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-top: 12px;
}

.ko-quick-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 600;
  font-size: .88rem;
}

.ko-quick-form input {
  padding: 10px 12px;
  border: 1px solid #7eb89a;
  border-radius: 10px;
  font: inherit;
}

.ko-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.ko-section-head h2 { margin: 0; }
.ko-section-head a {
  color: var(--ko-accent);
  font-weight: 700;
  text-decoration: none;
  font-size: .9rem;
  white-space: nowrap;
}

.ko-card-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #0f4834;
  background: #e8f5ef;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.ko-card-soft { background: #f4faf7; }

.ko-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 720px;
}

.ko-faq-item {
  background: #fff;
  border: 1px solid var(--ko-line);
  border-radius: 10px;
  padding: 12px 16px;
}

.ko-faq-item summary {
  cursor: pointer;
  font-weight: 700;
}

.ko-faq-item p {
  margin: 10px 0 0;
  color: var(--ko-muted);
}

.ko-cta-band {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  background: #1c1917;
  color: #fff;
  border-radius: 16px;
  padding: 24px 22px;
  margin: 12px 0 8px;
}

.ko-cta-band h2 { margin: 0 0 6px; font-size: 1.25rem; }
.ko-cta-band p { margin: 0; color: #a8a29e; }

.ko-page-hero {
  padding: 28px 0 8px;
}

.ko-page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

.ko-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 4px;
}

.ko-steps span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ko-line-soft);
  font-size: .82rem;
  font-weight: 700;
  color: #a8a29e;
}

.ko-steps span.is-on {
  border-color: var(--ko-accent);
  color: var(--ko-accent);
  background: #f4faf7;
}

.ko-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}

.ko-policy {
  font-size: .88rem;
  color: var(--ko-muted);
  margin: 10px 0 4px;
}

.ko-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-weight: 500;
  margin: 4px 0;
}

.ko-map {
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
}

.ko-map iframe {
  width: 100%;
  max-width: 100%;
  border: 0;
  min-height: 200px;
}

.ko-gallery-lg {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.ko-gallery-item {
  margin: 0;
}

.ko-gallery-item figcaption {
  font-size: .82rem;
  color: var(--ko-muted);
  margin-top: 6px;
}

.ko-header-call {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ko-line);
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
}

.ko-mobile-bar {
  display: none;
}

body.ko-body {
  padding-bottom: 0;
}

/* Tablet */
@media (max-width: 900px) {
  .ko-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .ko-header-call { display: inline-flex; }

  .ko-nav {
    display: none;
    border-top: 0;
  }

  .ko-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    left: 0;
    right: 0;
    top: calc(64px + env(safe-area-inset-top, 0px));
    bottom: 0;
    z-index: 95;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    padding: 8px 12px calc(28px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 16px 40px rgba(28, 25, 23, .12);
    gap: 0;
  }

  .ko-nav.is-open a {
    border-bottom: 1px solid var(--ko-line-soft);
    border-radius: 0;
    white-space: normal;
    padding: 14px 12px;
  }

  .ko-nav-cta { margin-left: 0 !important; text-align: center; margin-top: 8px; border-radius: 10px !important; }

  .ko-hero { padding-top: 28px; padding-bottom: 28px; }

  .ko-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

  .ko-trust { grid-template-columns: 1fr 1fr; }

  .ko-mobile-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    background: #fff;
    border-top: 1px solid var(--ko-line);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
    box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  }

  .ko-mobile-bar a {
    flex: 1;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: .88rem;
    padding: 12px 8px;
    border-radius: 10px;
    color: #44403c;
    background: #f4faf7;
    border: 1px solid var(--ko-line-soft);
  }

  .ko-mobile-bar-cta {
    background: var(--ko-accent) !important;
    color: #fff !important;
    border-color: var(--ko-accent) !important;
  }

  body.ko-body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

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

/* Telefon */
@media (max-width: 560px) {
  .ko-brand { font-size: 1rem; }
  .ko-btn-header { padding: 8px 12px; font-size: .82rem; }
  .ko-grid { grid-template-columns: 1fr; }
  .ko-gallery { grid-template-columns: repeat(2, 1fr); }
  .ko-musait-item { flex-direction: column; align-items: flex-start; }
  .ko-trust { grid-template-columns: 1fr; }
  .ko-quick-form { flex-direction: column; align-items: stretch; }
}

/* Geniş tablet / küçük laptop */
@media (min-width: 901px) and (max-width: 1100px) {
  .ko-wrap { padding: 0 20px; }
  .ko-nav a { padding: 10px 12px; font-size: .88rem; }
}

@media (min-width: 901px) {
  .ko-btn-header { display: none; }
}
