/* ================================================================
   Oldwar2 — SHARED STYLES
   Tüm renk, font ve ortak bileşenler burada.
   Marka rengini değiştirmek için sadece :root bloğunu düzenle.
================================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Rajdhani:wght@400;500;600;700&display=swap');

/* ================================================================
   CSS DEĞİŞKENLERİ — buradan özelleştir
================================================================ */
:root {
  --brand-primary:   #e63c1e;
  --brand-secondary: #ff7043;
  --brand-gold:      #ffd54f;
  --brand-green:     #4caf50;
  --bg-dark:         #0a0a0f;
  --bg-card:         #13131c;
  --bg-card2:        #1a1a28;
  --text-primary:    #f0ece4;
  --text-muted:      #8a8a9a;
  --border:          rgba(230, 60, 30, 0.22);
  --border-soft:     rgba(255,255,255,0.07);
  --font-display:    'Cinzel Decorative', serif;
  --font-body:       'Rajdhani', sans-serif;
  --radius:          6px;
  --transition:      0.22s ease;
}

/* ================================================================
   RESET & BASE
================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ================================================================
   GLOBAL VIDEO ARKA PLAN
   Video URL'ini değiştirmek için: #site-bg-video src attribute
================================================================ */
#site-bg-video {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.22;
  pointer-events: none;
}

/* Video üstüne koyu overlay + ışıma efekti */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,15,0.55) 0%, rgba(10,10,15,0.80) 100%),
    radial-gradient(ellipse 80% 55% at 50% -8%, rgba(230,60,30,0.18) 0%, transparent 68%),
    radial-gradient(ellipse 35% 35% at 85% 85%, rgba(255,112,67,0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* ================================================================
   NAVİGASYON
================================================================ */
nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(10,10,15,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
}
.nav-logo img { height: 34px; width: auto; }
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--brand-primary);
  letter-spacing: 0.06em;
}
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a {
  color: var(--text-muted);
  font-weight: 600; font-size: 0.88rem;
  letter-spacing: 0.07em; text-transform: uppercase;
  transition: color var(--transition);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
}
.nav-cta {
  background: var(--brand-primary) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: var(--radius) !important;
  border-bottom: none !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--brand-secondary) !important; transform: translateY(-1px); }

/* ================================================================
   BUTONLAR
================================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px;
  font-family: var(--font-body);
  font-size: 0.97rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  border-radius: var(--radius); border: none; cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--brand-primary); color: #fff;
  box-shadow: 0 0 22px rgba(230,60,30,0.3);
}
.btn-primary:hover {
  background: var(--brand-secondary);
  box-shadow: 0 0 34px rgba(255,112,67,0.45);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: var(--text-primary);
  border: 1px solid rgba(240,236,228,0.28);
}
.btn-outline:hover {
  border-color: var(--brand-primary); color: var(--brand-primary);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--brand-gold); color: #111; font-weight: 800;
}
.btn-gold:hover { background: #ffe57f; transform: translateY(-2px); }
.btn-success {
  background: var(--brand-green); color: #fff;
  box-shadow: 0 0 20px rgba(76,175,80,0.3);
}
.btn-success:hover { background: #43a047; transform: translateY(-2px); }

/* ================================================================
   BÖLÜM BAŞLIKLARI
================================================================ */
section { position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-tag {
  display: inline-block;
  color: var(--brand-primary);
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.17em; text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2.5rem);
  color: var(--text-primary); line-height: 1.2;
}
.section-title span { color: var(--brand-primary); }
.section-desc {
  margin-top: 12px; font-size: 1.03rem;
  color: var(--text-muted); max-width: 560px;
  margin-left: auto; margin-right: auto; font-weight: 500;
}
.divider {
  width: 44px; height: 3px;
  background: var(--brand-primary); border-radius: 2px;
  margin: 18px auto 0;
}

/* ================================================================
   KARTLAR
================================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative; overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.card:hover {
  border-color: rgba(230,60,30,0.5);
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(0,0,0,0.38);
}
.card:hover::before { opacity: 1; }

/* ================================================================
   FOOTER
================================================================ */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 44px 5%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  position: relative; z-index: 1;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem; color: var(--brand-primary);
}
.footer-copy { font-size: 0.84rem; color: var(--text-muted); margin-top: 4px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a {
  color: var(--text-muted); font-size: 0.88rem;
  font-weight: 600; letter-spacing: 0.04em;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--brand-primary); }

/* ================================================================
   ANİMASYONLAR
================================================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%,100% { opacity: 1; } 50% { opacity: 0.6; }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* ================================================================
   RESPONSİVE — NAV
================================================================ */
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
}
@media (max-width: 480px) {
  .btn { padding: 11px 22px; font-size: 0.88rem; }
}
