/* ============================================
   ASSOS ÖRME — ANA STIL DOSYASI
   Tüm sayfalar bu dosyayı kullanır
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --navy:      #0b1d35;
  --navy-2:    #142847;
  --navy-3:    #1e3a5f;
  --gold:      #b8922a;
  --gold-lt:   #d4aa50;
  --gold-pale: #f5ead6;
  --cream:     #faf7f2;
  --white:     #ffffff;
  --gray-1:    #f4f4f4;
  --gray-2:    #e8e8e8;
  --gray-3:    #9ca3af;
  --gray-4:    #6b7280;
  --text:      #1c1c1e;
  --radius:    10px;
  --shadow:    0 4px 24px rgba(0,0,0,0.08);
  --trans:     0.25s ease;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4 { font-family: 'Cormorant Garamond', serif; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }
p  { font-size: 1rem; color: var(--gray-4); line-height: 1.8; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  background: rgba(11,29,53,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,146,42,0.18);
  transition: box-shadow var(--trans);
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.3); }

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem; font-weight: 700;
  color: var(--white); letter-spacing: -0.3px;
}
.nav-logo span { color: var(--gold-lt); }

.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
}
.nav-links a {
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.6px; text-transform: uppercase;
  padding: 0.5rem 1rem; border-radius: 6px;
  transition: all var(--trans);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}
.nav-links a.nav-btn {
  background: var(--gold);
  color: var(--white) !important;
  padding: 0.45rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
}
.nav-links a.nav-btn:hover { background: var(--gold-lt); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px;
  background: none; border: none;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--navy); padding: 1rem;
    border-bottom: 1px solid rgba(184,146,42,0.2);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.85rem 1rem; font-size: 0.9rem; border-radius: 0; }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.8rem 1.8rem; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: all var(--trans); border: 2px solid transparent;
}
.btn-primary { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-lt); border-color: var(--gold-lt); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* ---- SECTION HELPERS ---- */
.section { padding: 6rem 5%; }
.section-sm { padding: 4rem 5%; }
.section-dark { background: var(--navy); }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }

.section-label {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem;
}
.section-title { color: var(--navy); margin-bottom: 1rem; }
.section-title-white { color: var(--white); }
.section-desc { font-size: 1rem; color: var(--gray-4); max-width: 560px; line-height: 1.85; }
.section-desc-white { color: rgba(255,255,255,0.62); }

.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* ---- DIVIDER ---- */
.gold-line {
  display: block; width: 48px; height: 3px;
  background: var(--gold); border-radius: 2px;
  margin: 1rem 0 1.5rem;
}
.gold-line.center { margin: 1rem auto 1.5rem; }

/* ---- STATS BAR ---- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--gold);
  padding: 2rem 5%;
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 1rem 0;
  border-right: 1px solid rgba(255,255,255,0.25);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-weight: 700;
  color: var(--navy); display: block; line-height: 1;
}
.stat-unit { font-size: 0.9rem; color: var(--navy-2); }
.stat-label { font-size: 0.78rem; color: rgba(11,29,53,0.7); margin-top: 4px; font-weight: 500; }

@media (max-width: 600px) {
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.25); }
  .stat-item:last-child { border-bottom: none; }
}

/* ---- CERT BADGES ---- */
.cert-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.cert {
  background: var(--white);
  border: 1.5px solid var(--gold);
  color: var(--navy);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  padding: 0.3rem 0.85rem; border-radius: 100px;
}

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: 14px;
  padding: 2rem;
  transition: all var(--trans);
}
.card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(184,146,42,0.1);
  transform: translateY(-4px);
}
.card-icon {
  width: 52px; height: 52px;
  background: var(--gold-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding: 3rem 5% 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .nav-logo { font-size: 1.4rem; display: block; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.8; max-width: 260px; }
.footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--white); margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.85rem; transition: color var(--trans); }
.footer-col ul a:hover { color: var(--gold-lt); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem; flex-wrap: wrap; gap: 0.75rem;
}
.footer-bottom p { font-size: 0.8rem; }
.footer-bottom a { color: var(--gold-lt); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---- PAGE HERO (iç sayfalar) ---- */
.page-hero {
  background: var(--navy);
  padding: 8rem 5% 4rem;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 45%; height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(184,146,42,0.06) 100%);
  pointer-events: none;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.6); max-width: 520px; margin-top: 1rem; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--gold-lt); }
.breadcrumb span::before { content: '›'; margin-right: 8px; }

/* ---- FORM ---- */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.2rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text); }
.form-control {
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--gray-2);
  border-radius: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem; color: var(--text);
  background: var(--white); outline: none;
  transition: border-color var(--trans);
}
.form-control:focus { border-color: var(--gold); }
.form-control::placeholder { color: #bbb; }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease both; }
.fade-up-2 { animation: fadeUp 0.7s 0.15s ease both; }
.fade-up-3 { animation: fadeUp 0.7s 0.3s ease both; }
.fade-up-4 { animation: fadeUp 0.7s 0.45s ease both; }

/* ---- SCROLL TO TOP ---- */
#back-top {
  position: fixed; bottom: 28px; right: 24px;
  width: 44px; height: 44px;
  background: var(--gold); color: var(--white);
  border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all var(--trans); z-index: 998;
  font-size: 1.2rem;
}
#back-top.show { opacity: 1; visibility: visible; }
#back-top:hover { background: var(--gold-lt); transform: translateY(-3px); }
