/* Ankara Motor Kulübü - Temel Stil Dosyası */
/* Renk Değişkenleri */
:root {
  --bg: #0b0f19;
  --bg-elev: #131a2a;
  --surface: #0f1623;
  --text: #e6eaf2;
  --muted: #9aa3b2;
  --brand: #e11d48; /* kırmızı */
  --brand-2: #f97316; /* turuncu */
  --accent: #22d3ee; /* camgöbeği */
  --border: #202a3b;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}
html.dark {
  --bg: #0b0f19;
  --bg-elev: #0d1320;
  --surface: #0f1623;
  --text: #e6eaf2;
  --muted: #9aa3b2;
  --border: #1a2334;
}
html { scroll-behavior: smooth; }
*,*::before,*::after{ box-sizing:border-box }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% -10%, rgba(225,29,72,.25), transparent 40%),
              radial-gradient(1000px 500px at 120% -20%, rgba(34,211,238,.15), transparent 40%),
              var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul,ol { padding: 0; margin: 0; }

.container { width: min(1100px, 92%); margin-inline: auto; }
.section { padding: 64px 0; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,.02), transparent 20%), var(--surface); }
.section-accent { background: linear-gradient(120deg, rgba(225,29,72,.15), rgba(34,211,238,.10)); padding: 72px 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.2) blur(10px); background: rgba(11,15,25,.6); border-bottom: 1px solid var(--border); }
.header-inner { display:flex; align-items:center; justify-content:space-between; height: 64px; }
.brand { display:flex; align-items:center; gap: 10px; font-weight: 700; letter-spacing:.2px; }
.brand-mark { font-size: 20px; }
.brand-text { font-size: 16px; }

.nav-toggle { display:none; background:none; border:0; padding:8px; cursor:pointer; }
.nav-toggle .bar { width:22px; height:2px; background:var(--text); display:block; margin:5px 0; transition:.2s; }

.nav-list { list-style:none; display:flex; align-items:center; gap: 18px; }
.nav-list a { color: var(--muted); padding: 8px 10px; border-radius: 8px; }
.nav-list a:hover, .nav-list a:focus-visible { color: var(--text); background: rgba(255,255,255,.06); }
.theme-toggle { background: none; border: 1px solid var(--border); color: var(--text); padding: 8px 10px; border-radius: 10px; cursor: pointer; }

/* Buttons */
.btn { display:inline-block; padding: 12px 16px; border-radius: 12px; font-weight: 600; border:1px solid transparent; transition: .2s transform ease, .2s box-shadow ease; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: linear-gradient(180deg, var(--brand), #be123c); color: white; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-invert { background: white; color:#111827; }

/* Hero */
.hero { padding: 80px 0 56px; }
.hero-inner { display:grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.hero h1 { line-height: 1.15; font-size: clamp(28px, 4vw, 42px); margin: 0 0 12px; }
.hero p { color: var(--muted); margin: 0 0 20px; }
.hero-cta { display:flex; gap: 12px; margin: 12px 0 18px; }
.stats { display:flex; gap: 18px; color: var(--muted); font-size: 14px; }
.stats strong { color: var(--text); font-size: 18px; }
.hero-art { position: relative; height: 320px; border-radius: 16px; overflow: hidden; background: linear-gradient(120deg, rgba(225,29,72,.2), rgba(34,211,238,.15)); box-shadow: var(--shadow); }
.hero-art .road { position:absolute; left:-10%; right:-10%; bottom:20px; height: 90px; background: linear-gradient(#0c111b, #0a0f19); border-top: 1px solid #1b2435; }
.hero-art .bike { position:absolute; width: 70px; height: 32px; left: -80px; bottom: 48px; background: radial-gradient(circle at 10% 80%, #fff 0 6px, transparent 7px), radial-gradient(circle at 80% 80%, #fff 0 6px, transparent 7px), linear-gradient(90deg, #f43f5e 30%, #0ea5e9); border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,.4); animation: ride 8s linear infinite; }
@keyframes ride { 0%{ transform: translateX(0) } 100%{ transform: translateX(140%) } }
.hero-art .skyline { position:absolute; inset: 0; display:flex; align-items:flex-end; justify-content:center; font-weight: 800; letter-spacing: 10px; font-size: clamp(40px, 8vw, 96px); color: rgba(255,255,255,.04); }

/* Grid */
.grid.two { display:grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.grid.three { display:grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Cards */
.card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 16px; padding: 18px 18px 14px; box-shadow: var(--shadow); }
.cards .card h3 { margin: 0 0 8px; }
.event time { display:inline-block; padding: 6px 10px; border-radius: 999px; background: rgba(225,29,72,.15); border: 1px solid rgba(225,29,72,.35); color: #fecaca; font-weight: 700; margin-bottom: 8px; font-size: 13px; }
.event .meta { color: var(--muted); font-size: 14px; }

/* Lists */
.list-check { list-style: none; margin: 10px 0 0; padding: 0; }
.list-check li { position: relative; padding-left: 28px; margin: 8px 0; }
.list-check li::before { content: "✔"; position: absolute; left: 0; top: 0; color: #22c55e; font-weight: 700; }

.schedule { display:grid; gap: 8px; }
.schedule dt { font-weight: 700; }
.schedule dd { margin: 0; color: var(--muted); }

/* Gallery */
.gallery-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-grid figure { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-elev); }
.gallery-grid img { width: 100%; height: 170px; object-fit: cover; cursor: zoom-in; transition: .2s transform; }
.gallery-grid img:hover { transform: scale(1.02); }

/* Map */
.map-card .map-embed { aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.map-card iframe { width: 100%; height: 100%; border: 0; }

/* Forms */
.form-field { display:grid; gap: 6px; margin: 10px 0; }
.form-field input, .form-field textarea, .form-field select { background: var(--bg-elev); border: 1px solid var(--border); color: var(--text); border-radius: 10px; padding: 10px 12px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 2px solid rgba(34,211,238,.35); border-color: #22d3ee; }
.form-field .error { color: #fca5a5; min-height: 16px; }
.form-actions { display:flex; align-items:center; gap: 12px; }
.form-note { color: var(--muted); font-size: 12px; }

/* Steps */
.steps { display:grid; gap: 8px; counter-reset: step; padding-left: 0; }
.steps li { list-style: none; position: relative; padding-left: 36px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; background: var(--brand); color: white; font-weight: 800; display:grid; place-items:center; border-radius: 50%; }
.join-inner { text-align: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: rgba(255,255,255,.02); }
.footer-inner { display:flex; align-items:center; justify-content:space-between; padding: 18px 0; }
.social { display:flex; gap: 14px; }
.social a { color: var(--muted); }
.social a:hover { color: var(--text); }

/* Lightbox */
.lightbox-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.7); display: grid; place-items: center; z-index: 100; animation: fadeIn .15s ease; }
.lightbox-image { max-width: 92vw; max-height: 90vh; border-radius: 12px; box-shadow: var(--shadow); }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid.two { grid-template-columns: 1fr; }
  .grid.three, .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-toggle { display:block; }
  .nav-list { position: fixed; top: 64px; right: 12px; left: 12px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 14px; padding: 10px; flex-direction: column; gap: 6px; transform-origin: top; transform: scaleY(0.8); opacity: 0; pointer-events: none; transition: .15s ease; }
  .nav-list.open { transform: scaleY(1); opacity: 1; pointer-events: auto; }
  .grid.three, .gallery-grid { grid-template-columns: 1fr; }
  .hero-art { height: 220px; }
}

/* A11y */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }


