/* SeaDEV web sitesi: ana sayfa, ürün sayfası ve 404 ortak stilleri */
:root {
  --bg: #ffffff;
  --bg-soft: #f2f6fc;
  --text: #13203a;
  --muted: #56627a;
  --line: #dde5f1;
  --navy: #0b3d91;
  --sea: #1e6fd9;
  --accent: #0b3d91;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(11, 61, 145, .06), 0 8px 24px rgba(11, 61, 145, .08);
  --hero-1: #0b3d91;
  --hero-2: #072a66;
  --radius: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1222;
    --bg-soft: #111a2e;
    --text: #e7ecf6;
    --muted: #a0abc2;
    --line: #233150;
    --accent: #8fb3ff;
    --card: #142039;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --hero-1: #0c2d6b;
    --hero-2: #070f22;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Üst çubuk */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; }
.brand b { color: var(--sea); font-weight: 800; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.nav-links a:hover { color: var(--text); background: var(--bg-soft); }
@media (max-width: 560px) { .nav-links a.opt { display: none; } .nav-links a { padding: 8px 10px; } }

/* Kahraman bölümü */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--hero-1), var(--hero-2));
  color: #fff;
  padding: 88px 0 140px;
  text-align: center;
}
.hero h1 { font-size: clamp(34px, 7vw, 60px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -.03em; }
.hero p { font-size: clamp(17px, 2.4vw, 20px); color: #c9dbff; max-width: 620px; margin: 0 auto 28px; }
.hero .eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9cc6ff; margin-bottom: 14px; }
.waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; }
.waves path { fill: var(--bg); }
.waves .w1 { opacity: .25; animation: drift 14s ease-in-out infinite alternate; }
.waves .w2 { opacity: .5; animation: drift 10s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translateX(-40px); } to { transform: translateX(40px); } }
@media (prefers-reduced-motion: reduce) { .waves path { animation: none !important; } html { scroll-behavior: auto; } }

/* Düğmeler */
.btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 14px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.store { background: #000; color: #fff; border: 1px solid #333; padding: 9px 18px 9px 14px; min-width: 168px; }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store small { font-size: 11px; font-weight: 500; opacity: .85; }
.store strong { font-size: 17px; }

/* Bölümler */
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(26px, 4.5vw, 36px); line-height: 1.15; margin: 0 0 10px; letter-spacing: -.02em; }
.section-head p { color: var(--muted); margin: 0; }

/* Uygulama kartı (ana sayfa) */
.app-card {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow); padding: 36px; overflow: hidden;
}
.app-card .icon { width: 72px; height: 72px; border-radius: 18px; box-shadow: var(--shadow); margin-bottom: 16px; }
.app-card h3 { font-size: 28px; margin: 0 0 6px; letter-spacing: -.02em; }
.app-card .tag { color: var(--sea); font-weight: 700; font-size: 15px; margin: 0 0 12px; }
.app-card p { color: var(--muted); margin: 0 0 20px; }
.app-card .btns { justify-content: flex-start; }
.app-card .shots { display: flex; gap: 12px; justify-content: center; }
.app-card .shots img { width: 46%; max-width: 170px; border-radius: 16px; box-shadow: var(--shadow); }
.app-card .shots img:last-child { transform: translateY(24px); }
.more { display: inline-block; margin-top: 16px; font-weight: 700; text-decoration: none; }
.more:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .app-card { grid-template-columns: 1fr; padding: 24px 20px; gap: 24px; }
  .app-card .btns { justify-content: center; }
  .app-card .text { text-align: center; }
  .app-card .icon { margin: 0 auto 16px; }
  .app-card .shots img:last-child { transform: none; }
}

/* Özellik ızgarası */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.feature .emoji { font-size: 28px; line-height: 1; margin-bottom: 10px; }
.feature h3 { font-size: 18px; margin: 0 0 6px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }

/* Ekran görüntüsü şeridi */
.gallery {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 16px 20px; margin: 0 -16px;
  scrollbar-width: thin;
}
.gallery img { flex: none; width: 230px; border-radius: 18px; scroll-snap-align: center; box-shadow: var(--shadow); }
@media (min-width: 1100px) { .gallery { justify-content: center; flex-wrap: wrap; overflow: visible; } .gallery img { width: 220px; } }

/* Hakkımızda / iletişim */
.about { max-width: 720px; margin: 0 auto; text-align: center; }
.about p { color: var(--muted); }
/* Hakkımızda sonundaki dilek: beyaz yazı, açık zeminde okunsun diye lacivert şerit üstünde */
.about p.motto { display: inline-block; margin: 12px 0 0; padding: 10px 22px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 18px; font-weight: 600; letter-spacing: .01em; }
.contact {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 20px;
  font-weight: 700; text-decoration: none; box-shadow: var(--shadow); overflow-wrap: anywhere;
}

/* Alt bilgi */
footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); text-decoration: underline; }

/* 404 */
.lost { min-height: calc(100vh - 60px); min-height: calc(100svh - 60px); display: flex; flex-direction: column; }
.lost .hero { flex: 1; display: flex; align-items: center; padding: 64px 0 150px; }
.lost .code { font-size: clamp(88px, 22vw, 160px); font-weight: 900; line-height: 1; letter-spacing: -.04em; margin: 0 0 8px; color: #fff; }
.buoy { width: 92px; height: auto; margin: 0 auto 18px; animation: bob 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-8px) rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { .buoy { animation: none; } }

.hero-logo { width: clamp(150px, 42vw, 220px); height: auto; margin: 0 auto 20px; border-radius: 22%; box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .12); }
