/*
 * saklama.com — Vitrin (Apex Showcase) CSS
 * v13 Açık Tema: #FAFAF7 zemin, zümrüt ve amber vurgular, sistem fontları.
 */

:root {
  --bg: #FAFAF7;
  --bg-subtle: #F2F2EC;
  --surface: #FFFFFF;
  --ink: #1E2A28;
  --ink-soft: #51625E;
  --ink-muted: #7C8A86;
  --emerald: #059669;
  --emerald-hover: #047857;
  --emerald-light: rgba(5, 150, 105, 0.08);
  --amber: #D97706;
  --amber-hover: #B45309;
  --amber-light: rgba(217, 119, 6, 0.08);
  --border: rgba(30, 42, 40, 0.12);
  --border-focus: rgba(5, 150, 105, 0.3);
  --shadow: 0 4px 20px rgba(30, 42, 40, 0.05);
  --shadow-hover: 0 10px 30px rgba(30, 42, 40, 0.08);
  --radius: 18px;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

body.vitrin-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(5, 150, 105, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(217, 119, 6, 0.04) 0%, transparent 40%);
  color: var(--ink);
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.vitrin-wrapper {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  padding: 32px 24px 24px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

/* ===== Hero / Wordmark ===== */
.vitrin-hero {
  text-align: center;
  margin-top: auto;
  margin-bottom: 28px;
  width: 100%;
}

.vitrin-wordmark {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1.1;
}

.vitrin-slogan {
  margin: 0 auto;
  max-width: 480px;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ===== Migration Notice ===== */
.migration-banner {
  width: 100%;
  max-width: 680px;
  margin-bottom: 24px;
  animation: vitrinFadeIn 0.3s var(--ease);
}

.migration-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  background: var(--amber-light);
  border: 1px solid rgba(217, 119, 6, 0.28);
  border-radius: 14px;
  padding: 12px 18px;
}

.migration-text {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #92400E;
}

.btn-migrate {
  background: var(--emerald);
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s var(--ease);
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}

.btn-migrate:hover {
  background: var(--emerald-hover);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
  transform: translateY(-1px);
}

/* ===== Main / Cards ===== */
.vitrin-main {
  width: 100%;
  max-width: 680px;
  margin-bottom: auto;
}

.vitrin-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.vitrin-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: all 0.3s var(--ease);
  position: relative;
  min-height: 180px;
}

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

.vitrin-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--border-focus);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.3s var(--ease);
}

.vitrin-card:hover .card-icon {
  transform: scale(1.08);
}

.card-not .card-icon {
  background: var(--emerald-light);
  color: var(--emerald);
}

.card-not:hover {
  border-color: rgba(5, 150, 105, 0.35);
}

.card-rehber .card-icon {
  background: var(--amber-light);
  color: var(--amber);
}

.card-rehber:hover {
  border-color: rgba(217, 119, 6, 0.35);
}

.card-content {
  flex: 1;
}

.card-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.card-desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.card-arrow {
  align-self: flex-end;
  margin-top: 14px;
  font-size: 1.25rem;
  color: var(--ink-muted);
  transition: all 0.25s var(--ease);
}

.card-not:hover .card-arrow {
  color: var(--emerald);
  transform: translateX(4px);
}

.card-rehber:hover .card-arrow {
  color: var(--amber);
  transform: translateX(4px);
}

/* ===== Footer ===== */
.vitrin-footer {
  width: 100%;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.vitrin-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
}

.vitrin-footer-links a {
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.vitrin-footer-links a:hover {
  color: var(--emerald);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vitrin-footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

@keyframes vitrinFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Mobile Responsiveness ===== */
@media (max-width: 640px) {
  .vitrin-wrapper {
    padding: 24px 16px 16px;
  }

  .vitrin-hero {
    margin-bottom: 24px;
  }

  .vitrin-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .vitrin-card {
    min-height: auto;
    padding: 20px;
  }

  .migration-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-migrate {
    width: 100%;
    text-align: center;
  }

  .vitrin-footer {
    margin-top: 24px;
    gap: 10px;
  }

  .vitrin-footer-links {
    gap: 12px 18px;
  }
}
