/* =============================================
   TABELAJET — ANA STİL DOSYASI
   Koyu tema: #0a0a0a zemin, #0bbd91 teal, #ffc815 sarı
   ============================================= */

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

:root {
  --teal:        #0bbd91;
  --teal-dark:   #068467;
  --yellow:      #ffc815;
  --bg:          #0a0a0a;
  --bg-alt:      #0e0e0e;
  --surface:     #121212;
  --surface-2:   #1a1a1a;
  --border:      #2a2a2a;
  --text:        #e8e8e8;
  --text-dim:    #a6a6a6;
  --white:       #ffffff;
  --font:        'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --radius:      10px;
  --tr:          0.3s ease;
  --shadow:      0 4px 24px rgba(0,0,0,0.55);
  --shadow-teal: 0 10px 36px rgba(11,189,145,0.28);
}

html { scroll-behavior: smooth; background: var(--bg); }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color var(--tr); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }
.section { padding: 90px 0; }
section[id] { scroll-margin-top: 76px; }

.text-teal { color: var(--teal); }
.text-yellow { color: var(--yellow); }

/* --- BAŞLIKLAR --- */
.section-head { text-align: center; margin-bottom: 56px; }
.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.section-line {
  width: 64px; height: 4px;
  background: var(--teal);
  margin: 16px auto 20px;
  border-radius: 2px;
}
.section-subtitle { color: var(--text-dim); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

/* --- BUTONLAR --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-size: 0.98rem; font-weight: 600;
  border: 2px solid transparent;
  transition: all var(--tr);
}
.btn-sm { padding: 9px 20px; font-size: 0.9rem; }
.btn-primary { background: var(--teal); color: #04241c; border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-teal); }
.btn-secondary { background: var(--yellow); color: #2b1f00; border-color: var(--yellow); }
.btn-secondary:hover { background: #e0a800; border-color: #e0a800; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn-whatsapp { background: rgba(37,211,102,0.12); color: #25d366; border-color: rgba(37,211,102,0.5); }
.btn-whatsapp:hover { background: #25d366; color: #062b15; border-color: #25d366; transform: translateY(-2px); }

/* --- HEADER --- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  transition: background var(--tr), padding var(--tr), box-shadow var(--tr);
}
.site-header.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.6);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.site-logo { display: inline-flex; align-items: center; }
.logo-text { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.5px; color: var(--white); }
.logo-text em { font-style: normal; color: var(--teal); }

.nav-menu { display: flex; gap: 30px; }
.nav-menu a {
  font-size: 0.95rem; font-weight: 500; color: var(--text-dim);
  position: relative; padding: 4px 0;
}
.nav-menu a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--teal);
  transition: width var(--tr);
}
.nav-menu a:hover { color: var(--white); }
.nav-menu a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; position: relative; z-index: 1002; background: none; border: 0; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--tr); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Menü açıkken panelin kendi kapat butonu görünür; hamburger gizlenir */
.nav-toggle.active { opacity: 0; pointer-events: none; }

/* Mobil panel elemanları — masaüstünde gizli */
.nav-backdrop, .nav-panel-top, .nav-panel-bottom { display: none; }

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.82) 0%, rgba(10,10,10,0.68) 45%, rgba(10,10,10,0.95) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 140px 20px 100px; max-width: 840px; }
.hero-kicker {
  display: inline-block;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--yellow);
  border: 1px solid rgba(255,200,21,0.4);
  padding: 7px 16px; border-radius: 999px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  font-weight: 900; line-height: 1.12; letter-spacing: -1px;
  margin-bottom: 22px;
}
.hero-sub { font-size: 1.15rem; color: #cfcfcf; max-width: 600px; margin-bottom: 36px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.4); border-radius: 14px;
  z-index: 2;
}
.hero-scroll span {
  position: absolute; top: 8px; left: 50%; margin-left: -2px;
  width: 4px; height: 8px; border-radius: 2px; background: var(--teal);
  animation: scrollHint 1.8s infinite;
}
@keyframes scrollHint {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* --- İSTATİSTİKLER --- */
.stats { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-number { font-size: 3rem; font-weight: 800; color: var(--teal); letter-spacing: -1px; }
.stat-plus { font-size: 1.6rem; font-weight: 700; color: var(--yellow); margin-left: 2px; }
.stat-item p { color: var(--text-dim); font-size: 0.95rem; margin-top: 4px; }

/* --- KAYAN ŞERİT --- */
.marquee-bar {
  background: var(--teal);
  overflow: hidden;
  padding: 13px 0;
  margin: 14px 0;
}
.marquee-track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 26px;
  color: #04241c; font-weight: 700; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 1.5px;
  white-space: nowrap;
}
.marquee-item .dot { width: 7px; height: 7px; border-radius: 50%; background: #04241c; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- HİZMETLER --- */
.services { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
}
.service-card:hover { transform: translateY(-6px); border-color: var(--teal); box-shadow: var(--shadow-teal); }
.service-img { position: relative; height: 200px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-img img { transform: scale(1.07); }
.service-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,0.75) 100%);
}
.service-num {
  position: absolute; top: 14px; left: 16px; z-index: 2;
  font-size: 1.9rem; font-weight: 900; color: rgba(255,255,255,0.28);
  letter-spacing: -1px;
  transition: color var(--tr);
}
.service-card:hover .service-num { color: var(--yellow); }
.service-body { padding: 22px 24px 26px; }
.service-body h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 10px; }
.service-body p { color: var(--text-dim); font-size: 0.93rem; margin-bottom: 16px; }
.service-link { color: var(--teal); font-weight: 600; font-size: 0.92rem; }
.service-link:hover { color: var(--yellow); }

/* --- HAKKIMIZDA --- */
.about { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-badge {
  position: absolute; right: -18px; bottom: 28px;
  background: var(--teal); color: #04241c;
  border-radius: var(--radius);
  padding: 16px 22px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-teal);
}
.about-badge strong { font-size: 2.2rem; font-weight: 900; line-height: 1; }
.about-badge span { font-size: 0.8rem; font-weight: 600; line-height: 1.3; text-transform: uppercase; letter-spacing: 1px; }
.about-text > p { color: var(--text-dim); margin-bottom: 28px; }

.feature-list li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.feature-list li:last-child { border-bottom: none; }
.feature-icon {
  flex: 0 0 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1.25rem;
}
.feature-list strong { display: block; font-size: 1.02rem; margin-bottom: 2px; }
.feature-list p { color: var(--text-dim); font-size: 0.92rem; }

/* --- GALERİ --- */
.gallery { background: var(--bg); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 1 / 1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, filter 0.5s ease; filter: saturate(0.9); }
.gallery-item:hover img { transform: scale(1.08); filter: saturate(1.15); }
.gallery-cta { text-align: center; margin-top: 40px; }

/* --- CTA BANDI --- */
.cta-band {
  background: linear-gradient(120deg, #06332a 0%, #0a0a0a 60%, #2b1f00 130%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 80px 0;
}
.cta-inner { text-align: center; }
.cta-inner h2 { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 14px; }
.cta-inner p { color: var(--text-dim); margin-bottom: 32px; font-size: 1.05rem; }
.cta-inner .hero-buttons { justify-content: center; }

/* --- İLETİŞİM --- */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.contact-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 22px;
  text-align: center;
  transition: transform var(--tr), border-color var(--tr);
}
a.contact-card:hover { transform: translateY(-5px); border-color: var(--teal); }
.contact-icon { font-size: 1.9rem; display: block; margin-bottom: 14px; }
.contact-card strong { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.contact-card p { color: var(--text-dim); font-size: 0.92rem; }

/* --- FOOTER --- */
.site-footer { background: #060606; border-top: 1px solid var(--border); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; padding: 70px 20px 50px;
}
.footer-brand p { color: var(--text-dim); font-size: 0.93rem; margin: 16px 0 20px; max-width: 280px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text-dim);
  transition: all var(--tr);
}
.footer-social a:hover { color: #04241c; background: var(--teal); border-color: var(--teal); }
.footer-col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 18px; color: var(--white); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a, .footer-contact li { color: var(--text-dim); font-size: 0.92rem; }
.footer-col ul a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer-bottom p { color: var(--text-dim); font-size: 0.85rem; text-align: center; }

/* --- YÜZEN BUTONLAR --- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #062b15;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: transform var(--tr);
  animation: waPulse 2.6s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes waPulse {
  0% { box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.35); }
  70% { box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}
.back-to-top {
  position: fixed; right: 22px; bottom: 90px; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface-2); color: var(--teal);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all var(--tr);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--teal); color: #04241c; border-color: var(--teal); }

/* --- SAYFA İÇERİĞİ --- */
.page-content { padding: 150px 0 90px; min-height: 60vh; }
.entry-content { margin-top: 24px; color: var(--text-dim); }
.entry-content h2, .entry-content h3 { color: var(--text); margin: 28px 0 12px; }
.entry-content p { margin-bottom: 16px; }
.entry-content a { color: var(--teal); }
.entry-content ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.page-thumb { margin: 24px 0; border-radius: var(--radius); overflow: hidden; }

/* --- FADE-IN ANİMASYONU --- */
.fade-in { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.in-view { opacity: 1; transform: translateY(0); }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-badge { right: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  /* Karartma + bulanık arka plan */
  .nav-backdrop {
    display: block;
    position: fixed; inset: 0; z-index: 998;
    background: rgba(5,5,5,0.62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .nav-backdrop.show { opacity: 1; visibility: visible; }

  /* Slide-in panel */
  .main-nav {
    position: fixed; top: 0; right: -105%;
    width: min(340px, 86vw); height: 100vh; height: 100dvh;
    background: linear-gradient(165deg, #121212 0%, #0a0a0a 55%, #07231c 100%);
    border-left: 1px solid var(--border);
    padding: 24px 28px 32px;
    display: flex; flex-direction: column;
    overflow-y: auto;
    transition: right 0.38s cubic-bezier(0.22, 0.8, 0.3, 1);
    z-index: 999;
  }
  .main-nav.open { right: 0; box-shadow: -16px 0 50px rgba(0,0,0,0.65); }

  /* Panel üstü: logo + kapat */
  .nav-panel-top {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 20px; margin-bottom: 8px;
    border-bottom: 1px solid var(--border);
  }
  .nav-close {
    width: 40px; height: 40px; border-radius: 12px;
    background: rgba(255,255,255,0.06); border: 1px solid var(--border);
    color: var(--white); font-size: 1.5rem; line-height: 1; cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
  }
  .nav-close:hover { background: var(--teal); color: #04241c; border-color: var(--teal); }

  /* Menü linkleri: numaralı, kademeli animasyon */
  .nav-menu { flex-direction: column; gap: 4px; margin-top: 14px; counter-reset: navitem; }
  .nav-menu li { list-style: none; }
  .nav-menu a {
    display: flex; align-items: center; gap: 14px;
    font-size: 1.12rem; font-weight: 600; color: var(--text);
    padding: 13px 12px; border-radius: 12px;
    opacity: 0; transform: translateX(24px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s, color 0.2s;
  }
  .main-nav.open .nav-menu a { opacity: 1; transform: translateX(0); }
  .main-nav.open .nav-menu li:nth-child(1) a { transition-delay: 0.05s; }
  .main-nav.open .nav-menu li:nth-child(2) a { transition-delay: 0.10s; }
  .main-nav.open .nav-menu li:nth-child(3) a { transition-delay: 0.15s; }
  .main-nav.open .nav-menu li:nth-child(4) a { transition-delay: 0.20s; }
  .main-nav.open .nav-menu li:nth-child(5) a { transition-delay: 0.25s; }
  .main-nav.open .nav-menu li:nth-child(6) a { transition-delay: 0.30s; }
  .nav-menu a::before {
    counter-increment: navitem;
    content: counter(navitem, decimal-leading-zero);
    font-size: 0.72rem; font-weight: 700; letter-spacing: 1px;
    color: var(--teal);
  }
  .nav-menu a::after { display: none; }
  .nav-menu a:hover { background: rgba(11,189,145,0.12); color: var(--white); }

  /* Panel altı: iletişim butonları */
  .nav-panel-bottom {
    display: flex; flex-direction: column; gap: 12px;
    margin-top: auto; padding-top: 26px;
    border-top: 1px solid var(--border);
  }
  .nav-panel-bottom .btn { justify-content: center; text-align: center; font-size: 0.93rem; white-space: nowrap; }
  .nav-ig { text-align: center; color: var(--text-dim); font-size: 0.9rem; margin-top: 4px; }
  .nav-ig:hover { color: var(--teal); }

  .section { padding: 64px 0; }
  .section-title { font-size: 1.8rem; }
  .cta-inner h2 { font-size: 1.8rem; }
  .stat-number { font-size: 2.2rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-buttons .btn { width: 100%; }
}

/* --- ÖZEL LOGO --- */
.custom-logo { max-height: 54px; width: auto; }
.site-footer .custom-logo { max-height: 60px; }
@media (max-width: 768px) {
  .custom-logo { max-height: 40px; }
}
