/* gyrocueturkiye.com — Ascenta Studio tarzı: kırık beyaz zemin, koyu mürekkep, mavi vurgu, Archivo */
:root {
  --bg: #f4f5f1;
  --ink: #14211f;
  --muted: #55605d;
  --line: #d6d9d2;
  --accent: #155ce0;
  --card: #ffffff;
  --dark: #0f1413;
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 57px);
  --max: 1400px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; } /* display kuralları hidden'ı ezmesin */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: "Archivo", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: #000; }
.logo img { height: 22px; width: auto; filter: brightness(0); }
.nav { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.nav a { text-decoration: none; }
.nav a:not(.btn):hover { color: var(--accent); }
.menu { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 26px; border-radius: 999px;
  background: var(--ink); color: #fff !important; text-decoration: none;
  font: 600 15px/1 inherit; font-family: inherit; border: 0; cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { background: #000; transform: translateY(-1px); }
.btn.sm { height: 38px; padding: 0 18px; font-size: 14px; }
.link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1.5px solid currentColor; padding-bottom: 6px; }
.link:hover { color: var(--accent); }

/* Type */
.eyebrow { color: var(--accent); font-size: 14px; font-weight: 600; letter-spacing: .02em; margin-bottom: 16px; display: block; }
h1, h2, h3 { font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(42px, 7vw, 96px); line-height: .98; letter-spacing: -.03em; }
h2 { font-size: clamp(34px, 5vw, 70px); line-height: 1.02; letter-spacing: -.028em; }
h3 { font-size: 19px; letter-spacing: -.01em; margin-bottom: 8px; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 46ch; }
p + p { margin-top: 14px; }

section { padding: clamp(72px, 10vw, 140px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--ink); margin-bottom: 48px; flex-wrap: wrap; }
.section-head .lead { margin-top: 18px; }

/* Hero */
.hero { padding-top: clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 80%;
  background: linear-gradient(180deg, #dde7f0 0%, var(--bg) 100%); z-index: -1;
}
.hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 84px); }
.hero .lead { margin: 26px 0 34px; }
.hero-cta { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.media { border-radius: var(--radius); overflow: hidden; background: var(--dark); box-shadow: 0 40px 80px -40px rgba(20, 33, 31, .55); }
.media video, .media img { width: 100%; height: 100%; object-fit: cover; }
.hero .media { aspect-ratio: 3 / 2; }

/* Products */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product .media { border-radius: 0; box-shadow: none; aspect-ratio: 4 / 3; }
/* Başlık üstte tam satır; fiyat + buton kartın altında. Böylece başlıklar ve butonlar her kartta aynı hizada */
.product-body { flex: 1; padding: 26px 28px 30px; display: grid; grid-template-columns: 1fr auto; align-items: end; align-content: space-between; gap: 16px; }
.product-body h3, .product-body .desc { grid-column: 1 / -1; margin: 0; }
.product-body .desc { color: var(--muted); font-size: 15px; align-self: start; }
.product-body h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; }
.price { color: var(--muted); font-size: 14px; }
.price strong { color: var(--ink); font-size: 22px; letter-spacing: -.01em; }
.price .vat { font-weight: 600; color: var(--ink); }
.price-try { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }

/* Gallery strip */
.gallery { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 24px; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { flex: 0 0 min(68vw, 560px); aspect-ratio: 1 / 1; scroll-snap-align: center; border-radius: var(--radius); overflow: hidden; background: var(--dark); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.04); }

/* Feature grid (Ascenta "brief to launch" adımları) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 24px; }
.feature { border-top: 1px solid var(--ink); padding-top: 18px; }
.feature .num { color: var(--accent); font-size: 13px; font-weight: 600; display: block; margin-bottom: 14px; }
.feature p { color: var(--muted); font-size: 15px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-bottom: 64px; }
.split .media { aspect-ratio: 4 / 3; }

/* Dark band (yazılım) */
.band { background: var(--dark); color: #e8ebe6; border-radius: calc(var(--radius) * 1.5); margin: 0 var(--gutter); }
.band h2 { color: #fff; }
.band .lead, .band p { color: #a9b1ad; }
.band .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.band .shot { border-radius: var(--radius); overflow: hidden; max-width: 380px; justify-self: center; }
.band .link { color: #fff; margin-top: 28px; }

/* Spec table */
.specs { border-top: 1px solid var(--ink); }
.specs div { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 600; }
.specs dd { color: var(--muted); }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.partner { background: var(--card); border-radius: 14px; padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.partner .city { color: var(--accent); font-size: 13px; font-weight: 600; }
.partner h3 { margin: 4px 0 2px; }
.partner p, .partner a { color: var(--muted); font-size: 14px; word-break: break-word; }
.partner .go { margin-top: 12px; color: var(--ink); font-weight: 600; text-decoration: none; }
.partner .go:hover { color: var(--accent); }
.cta-row { margin-top: 40px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; padding: 28px 30px; border-radius: var(--radius); background: #e6ece9; justify-content: space-between; }
.cta-row p { font-weight: 600; font-size: 18px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
form { display: grid; gap: 18px; }
label { font-size: 14px; font-weight: 600; display: grid; gap: 8px; }
input, textarea {
  font: inherit; font-weight: 400; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid transparent; border-radius: 12px; padding: 13px 14px; width: 100%;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { min-height: 140px; resize: vertical; }
form .btn { width: 100%; justify-content: center; height: 52px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.chip { background: #e4e8e3; border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 600; text-decoration: none; }

/* Downloads */
.dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.dl a, .dl span { background: var(--card); border-radius: 14px; padding: 22px 24px; text-decoration: none; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.dl a:hover { color: var(--accent); }
.dl span { color: var(--muted); font-weight: 400; }
.guide { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.guide article { background: var(--card); border-radius: var(--radius); padding: 30px; }
.guide ol { padding-left: 20px; color: var(--muted); display: grid; gap: 10px; margin-top: 10px; }
.guide b { color: var(--ink); }
.page-hero { padding-bottom: 40px; }

/* Footer */
.newsletter { border-top: 1px solid var(--line); padding: 48px 0; }
.newsletter .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.newsletter h2 { font-size: 26px; letter-spacing: -.01em; }
.newsletter form { grid-template-columns: 1fr auto; gap: 12px; }
.newsletter input { border-radius: 999px; padding: 13px 20px; }
.newsletter form .btn { width: auto; height: 48px; }
footer { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 14px; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
footer h4 { font-size: 14px; margin-bottom: 14px; }
footer ul { list-style: none; display: grid; gap: 9px; }
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--accent); }
footer .about { color: var(--muted); max-width: 34ch; margin-top: 16px; }
footer .copy { margin-top: 48px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap, .split, .band .wrap, .form-grid, .newsletter .wrap, .guide { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .products { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 15px; padding: 8px 0; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] summary span { display: inline-block; transform: rotate(45deg); }
  .menu .sheet { position: absolute; right: 0; top: 44px; background: #fff; border-radius: 16px; padding: 18px; display: grid; gap: 14px; min-width: 220px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.35); }
  .menu .sheet a { text-decoration: none; font-weight: 600; }
  .features { grid-template-columns: 1fr; }
  .specs div { grid-template-columns: 1fr; gap: 4px; }
  .newsletter form { grid-template-columns: 1fr; }
  .newsletter form .btn { width: 100%; }
  footer .cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Veri durumları */
.state { color: var(--muted); padding: 24px 0; }
.state.error { color: #b42318; }
.btn[aria-disabled="true"] { background: var(--line); color: var(--muted) !important; cursor: not-allowed; transform: none; }
.sr { position: absolute; left: -9999px; }

/* Mağaza */
.note { color: var(--muted); font-size: 13px; margin-top: 16px; }
.cart-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; }
.btn:disabled { background: var(--line); color: var(--muted) !important; cursor: not-allowed; transform: none; }
.btn.ghost { background: transparent; color: var(--ink) !important; border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff !important; }
.link-btn { background: none; border: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; text-decoration: underline; padding: 6px 0; }
.link-btn:hover { color: var(--accent); }
.link-btn.danger { color: #b42318; }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center; background: var(--card); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.cart-line img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; background: var(--dark); }
.cart-line h3 { font-size: 17px; }
.cart-actions { display: grid; gap: 6px; justify-items: end; }
.qty { width: 72px; text-align: center; }
.totals { margin-top: 20px; border-top: 1px solid var(--ink); }
.totals > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.totals > div > span:last-child { text-align: right; font-weight: 600; }
.totals .grand { font-size: 19px; font-weight: 700; }
.form-title { font-size: 24px; letter-spacing: -.01em; }
fieldset { border: 0; display: grid; gap: 8px; }
legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.switch { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 14px; }
.switch input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--accent); }
.switch.big { font-size: 16px; font-weight: 600; background: var(--card); padding: 18px 20px; border-radius: 14px; margin-bottom: 20px; }
small { color: var(--muted); font-weight: 400; font-size: 13px; }
.form-error { color: #b42318; font-size: 14px; min-height: 1em; }
.done-body { display: grid; gap: 16px; margin: 24px 0 32px; max-width: 640px; }
.bank { background: var(--card); border-radius: 14px; padding: 8px 22px; }
.bank div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bank div:last-child { border: 0; }
.bank dd { font-weight: 600; word-break: break-all; }

/* Yönetim paneli */
.admin { padding-top: 40px; }
.admin-badge { font-size: 13px; font-weight: 600; color: var(--accent); }
.auth-box { max-width: 460px; margin: 40px auto; display: grid; gap: 18px; }
.auth-box h1 { font-size: 44px; }
.admin-tabs { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 28px; }
.admin-tabs a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px; }
.admin-tabs a[aria-current="page"] { background: var(--ink); color: #fff; }
.admin-tabs .spacer { flex: 1; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.admin-head h2 { font-size: 32px; }
.muted { color: var(--muted); font-size: 14px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.order { background: var(--card); border-radius: 14px; margin-bottom: 10px; }
.order summary { display: grid; grid-template-columns: 100px 170px 1fr auto 110px; gap: 16px; align-items: center; padding: 16px 20px; cursor: pointer; list-style: none; }
.order summary::-webkit-details-marker { display: none; }
.order-body { padding: 0 20px 20px; }
.order-body .cols { display: grid; grid-template-columns: 1fr 1fr 220px; gap: 24px; }
.order-body h4 { font-size: 13px; color: var(--accent); margin-bottom: 8px; }
.order-body p { font-size: 14px; margin: 2px 0; }
.badge { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--bg); text-align: center; }
.badge.s-yeni { background: #dbe7fb; color: #0f47b0; }
.badge.s-odendi { background: #dcf3e4; color: #12693a; }
.badge.s-kargoda { background: #fff1d6; color: #8a5a00; }
.badge.s-iptal { background: #fde2e0; color: #a3261b; }
.warn { background: #fff1d6; color: #6b4600; padding: 10px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 14px; }
select { font: inherit; font-size: 15px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; width: 100%; }
.card-form { background: var(--card); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; gap: 16px; }
.card-form.is-new { box-shadow: inset 0 0 0 2px var(--accent); }
.card-form h3 { font-size: 18px; margin-top: 6px; }
.card-form input, .card-form textarea, .card-form select { background: var(--bg); }
.card-form-head { display: flex; gap: 16px; align-items: center; }
.card-form-head img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: var(--dark); }
.card-form-head h3 { flex: 1; margin: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.calc { background: var(--bg); border-radius: 14px; padding: 16px; }
.calc input { background: #fff !important; }
.calc-out p { font-size: 14px; margin-top: 6px; }
.form-actions { display: flex; gap: 14px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.form-actions .link-btn.danger { margin-right: auto; }
.flash { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; z-index: 100; box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); }
.flash.error { background: #b42318; }
@media (max-width: 760px) {
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-line img { width: 72px; height: 72px; }
  .cart-actions { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; }
  .grid2, .grid3, .order-body .cols { grid-template-columns: 1fr; }
  .order summary { grid-template-columns: 1fr auto; }
  .order summary > :nth-child(2), .order summary > :nth-child(3) { display: none; }
}

/* PayTR ödeme formu */
.pay-frame { width: 100%; min-height: 560px; border: 0; margin-top: 16px; }
