/* ===================================================
   POLVERA RESEARCH – Unified Warm Charcoal & Gold Theme
   =================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* TÜM SAYFA BOYUNCA TEK TİP ZEMİN: Sıcak Sarımsı Koyu Antrasit */
  --clr-bg:        #121210; /* Tüm sayfada dikişsiz akan sıcak siyah zemin */
  --clr-bg-2:      #121210;
  
  /* KARTLAR VE YÜZEYLER */
  --clr-surface:   #1a1a17; /* Sarımsı siyah kart yüzeyi */
  --clr-surface-2: #242420;
  --clr-border:    rgba(212, 175, 55, 0.08); /* İnce pirinç çizgiler */
  
  --clr-primary:   #d4af37; /* Mat Altın / Pirinç Tonu */
  --clr-primary-d: #b5942b;
  --clr-accent:    #e5c158; /* Şampanya/Kehribar Vurgu */
  --clr-gold:      #f59e0b;
  --clr-text:      #f5f5f0; /* Keten beyazı okunaklı yazı */
  --clr-muted:     #a6a69a; /* Yumuşak sıcak gri */
  --clr-faint:     #575750;

  /* Tipografi */
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --section-py: 7rem;
  --container:  1240px;

  /* Efektler */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 25px 50px -12px rgba(0,0,0,0.7);
  --shadow-glow: 0 0 45px rgba(212, 175, 55, 0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Scrollbar ───────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb { background: var(--clr-faint); border-radius: 99px; }

/* ── Yardımcı ────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section-header { text-align: center; margin-bottom: 4rem; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-primary);
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 99px;
  padding: .3rem .9rem;
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--clr-text);
  margin-bottom: .9rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--clr-muted);
  max-width: 600px;
  margin-inline: auto;
}

.gradient-text {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Butonlar ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background .2s;
}
.btn:hover::after { background: rgba(255,255,255,.07); }

.btn-primary {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  color: #121210;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35); }

.btn-ghost {
  background: transparent;
  color: var(--clr-text);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-ghost:hover { border-color: var(--clr-primary); transform: translateY(-2px); }

.full-width { width: 100%; justify-content: center; }

/* ── Navbar ──────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
}
#navbar.scrolled {
  background: rgba(18, 18, 16, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-border);
}
.nav-container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.75rem;
}
.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--clr-text);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.logo-text .logo-sub {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--clr-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-left: 1px solid rgba(212, 175, 55, 0.25);
  padding-left: 0.5rem;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-link {
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  color: var(--clr-muted);
  transition: color .2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--clr-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--clr-text); }
.nav-link.active::after, .nav-link:hover::after { transform: scaleX(1); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: all .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero (Sarımsı Koyu Tema Uyumlu) ─────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 8rem 1.5rem 6rem;
  background: var(--clr-bg); /* Alt tarafla birebir aynı sarımsı zemin */
}
.hero-bg {
  position: absolute;
  inset: 0;
  /* Altın sarısı yumuşak yansımalar */
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .25;
  animation: float 8s ease-in-out infinite;
}
/* Sıcak Altın/Şampanya Işımaları */
.orb-1 { width: 600px; height: 600px; background: var(--clr-primary); top: -200px; left: -100px; animation-delay: 0s; }
.orb-2 { width: 400px; height: 400px; background: var(--clr-accent); top: 100px; right: -50px; animation-delay: 2s; }
.orb-3 { width: 300px; height: 300px; background: var(--clr-gold); bottom: -100px; left: 40%; animation-delay: 4s; }

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  animation: heroUp 1s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--clr-muted);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--clr-border);
  border-radius: 99px;
  padding: .4rem 1rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--clr-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--clr-primary);
  animation: pulse 2s infinite;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -.02em;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--clr-muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: var(--clr-faint);
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, var(--clr-faint));
  animation: scrollLine 2s ease-in-out infinite;
}

/* ── Hizmetler ───────────────────────────────────────── */
.services {
  padding: var(--section-py) 0;
  background: var(--clr-bg-2);
  border-top: 1px solid var(--clr-border);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform .3s ease, border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  opacity: 0;
  transition: opacity .3s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(212, 175, 55, 0.35); box-shadow: var(--shadow-glow); }
.service-card:hover::before { opacity: 1; }

.service-card.featured {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.04) 0%, rgba(229, 193, 88, 0.04) 100%);
  border-color: rgba(212, 175, 55, 0.2);
}
.service-card.featured::before { opacity: 1; }

.service-badge-card {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--clr-primary);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 99px;
  padding: .2rem .6rem;
}

.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(229, 193, 88, 0.12));
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--clr-primary);
}
.service-icon svg { width: 24px; height: 24px; }

.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .7rem; }
.service-card p { color: var(--clr-muted); font-size: .9rem; margin-bottom: 1.25rem; }

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.5rem;
}
.service-list li {
  font-size: .85rem;
  color: var(--clr-muted);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.service-list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--clr-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-footer { border-top: 1px solid var(--clr-border); padding-top: 1rem; }
.service-tag {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--clr-primary);
  background: rgba(212, 175, 55, 0.08);
  border-radius: 99px;
  padding: .2rem .65rem;
}

/* ── Hakkımızda ──────────────────────────────────────── */
.about { padding: var(--section-py) 0; background: var(--clr-bg); border-top: 1px solid var(--clr-border); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 480px;
}
.about-card-main {
  position: absolute;
  inset: 0;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-year-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  z-index: 1;
}
.year-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.year-label {
  font-size: .85rem;
  color: var(--clr-muted);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.about-visual-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.vl {
  position: absolute;
  background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.1), transparent);
  width: 1px;
  top: 0; bottom: 0;
  animation: vLine 4s ease-in-out infinite;
}
.vl-1 { left: 25%; animation-delay: 0s; }
.vl-2 { left: 50%; animation-delay: 1.3s; }
.vl-3 { left: 75%; animation-delay: 2.6s; }

.about-orb-small {
  position: absolute;
  bottom: -60px; right: -60px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent 70%);
  border-radius: 50%;
}

.about-card-float {
  position: absolute;
  background: var(--clr-surface-2);
  backdrop-filter: blur(12px);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: .85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: var(--shadow);
  animation: floatCard 5s ease-in-out infinite;
}
.float-bottom { animation-delay: 2s; }
#about-card-exp { top: 1.5rem; right: -3rem; }
#about-card-cert { bottom: 1.5rem; left: -3rem; }

.about-card-float svg { width: 22px; height: 22px; color: var(--clr-primary); flex-shrink: 0; }
.about-card-float strong { display: block; font-size: .9rem; }
.about-card-float span { font-size: .78rem; color: var(--clr-muted); }

.about-content { display: flex; flex-direction: column; gap: 0; }
.about-lead { font-size: 1.1rem; color: var(--clr-text); margin-bottom: 1rem; font-weight: 400; }
.about-text { font-size: .95rem; color: var(--clr-muted); margin-bottom: 2rem; }

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.pillar {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  transition: border-color .2s;
}
.pillar:hover { border-color: rgba(212, 175, 55, 0.3); }
.pillar-icon {
  width: 36px; height: 36px;
  background: rgba(212, 175, 55, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-primary);
}
.pillar-icon svg { width: 18px; height: 18px; }
.pillar strong { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .2rem; }
.pillar span { font-size: .78rem; color: var(--clr-muted); }

/* ── İstatistikler ───────────────────────────────────── */
.stats {
  padding: var(--section-py) 0;
  background: var(--clr-bg-2);
  border-top: 1px solid var(--clr-border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.stat-item {
  text-align: center;
  padding: 2.5rem 1rem;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  transition: border-color .3s, transform .3s;
}
.stat-item:hover { border-color: rgba(212, 175, 55, 0.3); transform: translateY(-4px); }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.stat-plus {
  display: inline-block;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  margin-top: .5rem;
  font-size: .88rem;
  color: var(--clr-muted);
  font-weight: 500;
  letter-spacing: .03em;
}





/* ── Footer ──────────────────────────────────────────── */
.footer {
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand p {
  font-size: .88rem;
  color: var(--clr-muted);
  margin: 1rem 0 1.5rem;
  max-width: 260px;
}
.footer-social { display: flex; gap: .75rem; }
.footer-email {
  font-size: .88rem;
  color: var(--clr-muted);
  text-decoration: none;
  transition: color .2s;
  margin-top: 0.65rem;
  display: inline-block;
}
.footer-email:hover {
  color: var(--clr-primary);
}
.social-link {
  width: 36px; height: 36px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-muted);
  text-decoration: none;
  transition: all .2s;
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover { background: var(--clr-primary); border-color: var(--clr-primary); color: #121210; }

.footer-links h4 { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--clr-faint); margin-bottom: 1.25rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.footer-links a, .footer-links span {
  font-size: .88rem;
  color: var(--clr-muted);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--clr-text); }

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: .82rem; color: var(--clr-faint); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: .82rem; color: var(--clr-faint); text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: var(--clr-muted); }

/* ── Görünürlük animasyonu ───────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { height: 320px; }
  #about-card-exp { right: 1rem; }
  #about-card-cert { left: 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 5rem; }
  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 280px;
    background: rgba(18, 18, 16, 0.97);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--clr-border);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform .35s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 1.1rem; }
  .hamburger { display: flex; z-index: 101; }
  .services-grid { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .hero {
    min-height: 80vh;
    padding: 6rem 1.5rem 4rem;
  }
  .hero-content {
    margin-top: -3rem;
  }
  .hero-cta .btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; }
  .logo-text { font-size: 1.15rem; }
  .logo-text .logo-sub { font-size: 0.68rem; letter-spacing: 0.08em; padding-left: 0.4rem; }
  .stat-item { padding: 1.5rem 0.5rem; }
  .container { padding-inline: 1rem; }
  #about-card-exp { right: 0.5rem; }
  #about-card-cert { left: 0.5rem; }
}
