/* ============================================================
   STYLE.CSS – Ömer Asaf ÇAKIR Kişisel Web Sayfası
   ============================================================ */

/* ---------- GOOGLE FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Inter:wght@400;500&display=swap');

/* ---------- CSS VARIABLES / TEMA ---------- */
:root {
  --bg:        #1a1a2e;
  --bg-alt:    #16213e;
  --surface:   #0f3460;
  --accent:    #e94560;
  --accent2:   #a8edea;
  --text:      #e0e0ff;
  --text-muted:#9090b8;
  --radius:    10px;
  --nav-h:     64px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  transition: background-color 0.4s;
}

img { max-width: 100%; display: block; }
a  { color: var(--accent2); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.75; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(26,26,46,0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 100;
  border-bottom: 1px solid rgba(168,237,234,0.1);
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover {
  color: var(--accent2);
  border-color: var(--accent2);
  opacity: 1;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding-inline: 2rem;
  background: linear-gradient(135deg, var(--bg) 0%, #0f3460 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,69,96,0.15) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}

.hero-content { max-width: 480px; }

.hero-eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 0.5rem;
}

.hero-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Clock widget */
.hero-clock {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(168,237,234,0.15);
  border-radius: var(--radius);
  padding: 1.5rem 2.5rem;
  gap: 0.4rem;
}

#saatGoster {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent2);
  letter-spacing: 2px;
}

#tarihGoster {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, opacity 0.15s, box-shadow 0.15s;
  text-align: center;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); opacity: 1; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(224,224,255,0.25);
}
.btn-ghost:hover { border-color: var(--accent2); color: var(--accent2); }

/* ---------- SECTIONS ---------- */
.section {
  padding: 5rem 1rem;
}

.section-alt {
  background-color: var(--bg-alt);
}

.container {
  max-width: 960px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.divider {
  border: none;
  height: 2px;
  width: 48px;
  background: var(--accent);
  margin-bottom: 2rem;
}

/* ---------- HAKKIMDA ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
}

.about-text p { margin-bottom: 1rem; }

.about-text ul {
  list-style: none;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.about-text ul li {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.about-text em {
  color: var(--accent2);
  font-style: italic;
}

.about-img-wrap {
  flex-shrink: 0;
}

.about-img {
  width: 200px;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid rgba(168,237,234,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* ---------- TABLES ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

/* Skill Table */
.skill-table, .schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.skill-table th, .skill-table td,
.schedule-table th, .schedule-table td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.skill-table thead tr,
.schedule-table thead tr {
  background: var(--surface);
  color: var(--accent2);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.skill-table tbody tr:hover,
.schedule-table tbody tr:hover {
  background: rgba(255,255,255,0.04);
}

/* Schedule specifics */
.time-cell {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--accent2);
  white-space: nowrap;
}

.lesson {
  background: rgba(233,69,96,0.12);
  color: #f7a8b8;
  font-weight: 500;
  border-radius: 4px;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge-green  { background: rgba(56,198,120,0.18); color: #38c678; }
.badge-yellow { background: rgba(255,196,0,0.18);  color: #ffc400; }
.badge-blue   { background: rgba(80,144,255,0.18); color: #5090ff; }

/* ---------- JS DEMO ---------- */
.js-demo-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.color-btns {
  display: flex;
  gap: 0.75rem;
}

.color-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}
.color-btn:hover { transform: scale(1.2); border-color: var(--accent2); }

.tema-msg {
  font-size: 0.85rem;
  color: var(--accent2);
  font-style: italic;
}

/* ---------- MEDIA SECTION ---------- */
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.media-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.media-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--accent2);
  margin-bottom: 0.5rem;
}

.media-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }

.iframe-wrap {
  position: relative;
  padding-top: 56.25%;
  border-radius: 8px;
  overflow: hidden;
}

.iframe-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ---------- LINKS SECTION ---------- */
.link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  border-left: 3px solid var(--accent);
  font-size: 0.95rem;
  transition: background 0.2s;
}
.link-list li:hover { background: rgba(255,255,255,0.07); }

.link-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------- FORM ---------- */
.form-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 640px;
}

.form-group #ulke option {
color : black
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent2);
  letter-spacing: 0.04em;
  
}

.form-wrap input[type="text"],
.form-wrap input[type="email"],
.form-wrap input[type="password"],
.form-wrap select,
.form-wrap textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 0.65rem 0.9rem;
  color: var(--text);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-wrap input:focus,
.form-wrap select:focus,
.form-wrap textarea:focus {
  border-color: var(--accent2);
  background: rgba(168,237,234,0.05);
}

.form-wrap input::placeholder,
.form-wrap textarea::placeholder {
  color: var(--text-muted);
}

.radio-group, .check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.radio-group label, .check-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
}

.form-actions { display: flex; gap: 1rem; }

.form-sonuc {
  padding: 1rem 1.25rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.form-sonuc.basarili { background: rgba(56,198,120,0.15); color: #38c678; border: 1px solid rgba(56,198,120,0.3); }
.form-sonuc.hata     { background: rgba(233,69,96,0.15);  color: #e94560; border: 1px solid rgba(233,69,96,0.3); }
.hidden { display: none !important; }

/* ---------- FOOTER ---------- */
.footer {
  background: #0d0d1a;
  text-align: center;
  padding: 2.5rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 2;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer a { color: var(--accent2); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 720px) {
  .about-grid   { grid-template-columns: 1fr; }
  .about-img    { width: 100%; height: 220px; }
  .media-grid   { grid-template-columns: 1fr; }
  .hero         { flex-direction: column; gap: 2rem; text-align: center; }
  .hero-actions { justify-content: center; }
  .nav-links    { gap: 1rem; }
}

/* ---------- ACCESSIBILITY ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
