/* Kuşadasi.it.com — modern, mobil öncelikli tema (site.css yerine) */

:root {
  --esc-accent: #eb0e3e;
  --esc-accent-hover: #d10c37;
  --esc-bg: #eef1f6;
  --esc-bg-deep: #e2e6ef;
  --esc-surface: #ffffff;
  --esc-text: #141824;
  --esc-muted: #5a6172;
  --esc-radius: 16px;
  --esc-radius-sm: 10px;
  --esc-shadow: 0 4px 20px rgba(20, 24, 36, 0.07);
  --esc-shadow-lg: 0 16px 48px rgba(20, 24, 36, 0.12);
  --esc-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --esc-max: 1120px;
  --esc-tap: rgba(235, 14, 62, 0.15);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

.esc-app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.esc-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--esc-font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--esc-text);
  background: var(--esc-bg);
  background-image: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(235, 14, 62, 0.06), transparent);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--esc-accent);
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: var(--esc-tap);
}

a:hover {
  color: var(--esc-accent-hover);
}

.esc-skip {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--esc-accent);
  color: #fff;
  font-weight: 600;
}

.esc-skip:focus {
  left: 1rem;
  top: 1rem;
}

.esc-shell {
  width: 100%;
  max-width: var(--esc-max);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .esc-shell {
    padding: 0 1.5rem;
  }
}

/* ——— Header ——— */
.esc-header {
  background: var(--esc-surface);
  border-bottom: 1px solid rgba(20, 24, 36, 0.06);
  box-shadow: var(--esc-shadow);
  position: relative;
}

.esc-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--esc-accent), #ff6b8a);
}

.esc-header__inner {
  padding: 1.25rem 0 1.5rem;
}

.esc-brand {
  margin: 0 0 0.75rem;
  font-size: clamp(1.15rem, 4vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.esc-brand a {
  color: var(--esc-text);
}

.esc-brand a:hover {
  color: var(--esc-accent);
}

.esc-lead {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--esc-muted);
  line-height: 1.6;
}

.esc-updated {
  margin: 0 0 1rem;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  color: var(--esc-muted);
  background: linear-gradient(135deg, #fff5f6, #f8f9fc);
  border-radius: var(--esc-radius-sm);
  border-left: 4px solid var(--esc-accent);
}

.esc-updated time {
  font-weight: 500;
  color: var(--esc-text);
}

.esc-crumb {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: var(--esc-muted);
}

.esc-crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.esc-crumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.35rem;
  opacity: 0.45;
}

.esc-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.esc-toolbar a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--esc-text);
  background: var(--esc-bg);
  border-radius: 999px;
  border: 1px solid rgba(20, 24, 36, 0.08);
}

.esc-toolbar a:hover {
  background: #fff;
  border-color: var(--esc-accent);
  color: var(--esc-accent);
}

/* ——— Vitrin grid ——— */
.esc-main {
  padding: 1.25rem 0 2.5rem;
}

.esc-vitrin {
  margin-bottom: 2rem;
}

.esc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 420px) {
  .esc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 720px) {
  .esc-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .esc-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.esc-card {
  margin: 0;
  border-radius: var(--esc-radius);
  overflow: hidden;
  background: var(--esc-surface);
  box-shadow: var(--esc-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.esc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--esc-shadow-lg);
}

.esc-card__link {
  display: block;
  color: inherit;
  outline: none;
}

.esc-card__link:focus-visible {
  box-shadow: inset 0 0 0 3px var(--esc-accent);
  border-radius: var(--esc-radius);
}

.esc-card__media {
  aspect-ratio: 200 / 250;
  background: var(--esc-bg-deep);
  overflow: hidden;
}

.esc-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.esc-card__label {
  padding: 0.55rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--esc-accent), #c40d32);
  letter-spacing: 0.02em;
}

/* ——— SEO metin bloğu ——— */
.esc-article {
  background: var(--esc-surface);
  border-radius: var(--esc-radius);
  padding: 1.35rem 1.25rem 1.75rem;
  box-shadow: var(--esc-shadow);
  border: 1px solid rgba(20, 24, 36, 0.05);
}

@media (min-width: 640px) {
  .esc-article {
    padding: 1.75rem 2rem 2.25rem;
  }
}

.esc-article h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 700;
  color: var(--esc-text);
  letter-spacing: -0.02em;
}

.esc-article h3 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.esc-article h4 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--esc-text);
}

.esc-article p {
  margin: 0 0 1rem;
  color: var(--esc-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.esc-article p strong {
  color: var(--esc-text);
}

.esc-article ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--esc-muted);
  font-size: 0.9375rem;
}

.esc-article li {
  margin-bottom: 0.35rem;
}

.esc-article code {
  font-size: 0.85em;
  padding: 0.15em 0.4em;
  background: var(--esc-bg);
  border-radius: 4px;
}

.esc-article a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ——— Footer ——— */
.esc-footer {
  margin-top: auto;
  padding: 1.5rem 0 2rem;
  background: linear-gradient(180deg, #1a1d26, #12141a);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  text-align: center;
}

.esc-footer a {
  color: #fff;
  font-weight: 600;
}

.esc-footer a:hover {
  color: #ffb3c0;
}

/* ——— Profil sayfası ——— */
body.esc-body--profil {
  background: var(--esc-bg);
}

.esc-profil {
  padding: 1rem 0 2.5rem;
}

.esc-profil__back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

.esc-profil__card {
  max-width: 420px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 1.75rem;
  background: var(--esc-surface);
  border-radius: var(--esc-radius);
  box-shadow: var(--esc-shadow-lg);
  border: 1px solid rgba(20, 24, 36, 0.06);
  text-align: center;
}

.profil-lastmod {
  margin: 0 0 1rem;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  text-align: left;
  color: var(--esc-muted);
  background: linear-gradient(135deg, #fff5f6, #f8f9fc);
  border-radius: var(--esc-radius-sm);
  border-left: 4px solid var(--esc-accent);
}

.profil-lastmod time {
  font-weight: 500;
  color: var(--esc-text);
}

.esc-profil__card > img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto 1rem;
  border-radius: var(--esc-radius-sm);
  box-shadow: var(--esc-shadow);
}

.profil-name {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--esc-text);
}

.profil-tag {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--esc-muted);
}

.profil-copy {
  margin: 0 0 1.25rem;
  text-align: left;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--esc-muted);
}

.profil-copy p {
  margin: 0 0 0.75rem;
}

.profil-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin: 0.5rem 0 0;
}

.profil-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.profil-cta a:active {
  transform: scale(0.98);
}

.profil-cta .btn-call {
  background: linear-gradient(135deg, var(--esc-accent), #c40d32);
}

.profil-cta .btn-wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.profil-cta .btn-home {
  background: #2d3340;
  color: #fff;
}

.profil-hint {
  margin-top: 1.25rem;
  padding: 1rem;
  font-size: 0.8125rem;
  text-align: left;
  color: var(--esc-muted);
  background: #fff8f8;
  border-radius: var(--esc-radius-sm);
  border-left: 4px solid var(--esc-accent);
}

.profil-hint code {
  font-size: 0.8em;
  word-break: break-word;
}

/* ——— 404 kısa sayfa ——— */
.esc-error {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.esc-error__box {
  max-width: 400px;
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--esc-surface);
  border-radius: var(--esc-radius);
  box-shadow: var(--esc-shadow-lg);
}

.esc-error__box p {
  margin: 0 0 1rem;
  color: var(--esc-muted);
}

.esc-error__box a {
  font-weight: 700;
}
