/* =============================================
   HEADER & FOOTER — Kurumsal Tema / #395BEB
   ============================================= */

/* ---- HEADER ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.08); padding: 0;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
  border-bottom-color: rgba(0,0,0,0.10);
}
.header-inner { display: flex; align-items: center; height: 72px; gap: 0; }
.logo { flex-shrink: 0; margin-right: auto; }
.logo img { height: 65px; width: auto; object-fit: contain; }

/* NAV */
.main-nav { margin: 0 32px; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: block; padding: 8px 16px; font-size: 0.9rem; font-weight: 500;
  color: #374151; border-radius: 6px; transition: color 0.2s, background 0.2s;
  letter-spacing: 0.01em; font-family: var(--font-body); position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 4px; left: 16px; right: 16px;
  height: 2px; background: #395BEB;
  transform: scaleX(0); transition: transform 0.25s ease; border-radius: 2px;
}
.nav-link:hover { color: #395BEB; background: rgba(57,91,235,0.05); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: #395BEB; font-weight: 600; }
.nav-link.active::after { transform: scaleX(1); }

/* HEADER ACTIONS */
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone {
  color: #374151; font-size: 0.88rem; font-weight: 600;
  font-family: var(--font-body); transition: color 0.2s; letter-spacing: 0.01em;
}
.header-phone:hover { color: #395BEB; }
.btn-sm { padding: 10px 22px; font-size: 0.88rem; }

/* HAMBURGER */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; border-radius: 6px;
  width: 40px; height: 40px; flex-shrink: 0; transition: background 0.2s;
}
.hamburger:hover { background: rgba(57,91,235,0.06); }
.ham-line {
  display: block; width: 24px; height: 2px; background: #111827;
  border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; transform-origin: center;
}
.hamburger.open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay { display: none; }
.mobile-drawer { display: none !important; }

/* MOBILE NAV DROPDOWN */
.mobile-nav-menu {
  display: none; position: absolute; top: 72px; left: 0; right: 0;
  background: #ffffff; border-top: 1px solid rgba(0,0,0,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 8px 30px rgba(0,0,0,0.10); z-index: 999;
  flex-direction: column; padding: 8px 0 16px;
}
.mobile-nav-menu.open { display: flex; }
.mobile-nav-menu .drawer-link {
  display: block; padding: 13px 24px; font-size: 0.97rem; font-weight: 500;
  color: #111827; font-family: var(--font-body);
  border-bottom: 1px solid rgba(0,0,0,0.05); transition: color 0.2s, background 0.2s;
}
.mobile-nav-menu .drawer-link:last-child { border-bottom: none; }
.mobile-nav-menu .drawer-link:hover { color: #395BEB; background: rgba(57,91,235,0.04); }
.mobile-nav-contact {
  padding: 12px 24px 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.mobile-nav-contact a {
  font-size: 0.87rem; font-weight: 600; color: #395BEB;
  font-family: var(--font-body); text-decoration: none;
}
.dc-label { display: none; }
.dc-value { font-size: 0.95rem; font-weight: 600; color: #111827; font-family: var(--font-body); }
.drawer-contact-item.whatsapp .dc-value { color: #16a34a; }

/* ---- FOOTER ---- */
.site-footer {
  background: #0a0f1a; color: rgba(255,255,255,0.75);
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 26px 26px; pointer-events: none;
}
.site-footer::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: #395BEB;
}
.footer-top { padding: 70px 0 50px; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 40px; }
.footer-logo img {
  height: 80px; width: auto; object-fit: contain; margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.footer-brand p { font-size: 0.87rem; color: rgba(255,255,255,0.48); line-height: 1.72; margin-bottom: 22px; font-family: var(--font-body); }
.footer-social { display: flex; gap: 10px; }
.footer-social .social-link {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); font-size: 0.95rem; transition: all 0.26s ease;
}
.footer-social .social-link:hover {
  background: #395BEB; border-color: #395BEB; color: var(--white);
  transform: translateY(-3px); box-shadow: 0 6px 18px rgba(57,91,235,0.30);
}
.footer-col h4 {
  font-family: var(--font-heading); font-size: 1rem; color: var(--white);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07); position: relative;
}
.footer-col h4::after {
  content: ''; position: absolute; bottom: -1px; left: 0;
  width: 28px; height: 2px; background: #395BEB;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 0.86rem; color: rgba(255,255,255,0.50);
  display: flex; align-items: center; gap: 8px; transition: all 0.26s ease;
  padding: 3px 0; font-family: var(--font-body);
}
.footer-links a::before {
  content: '›'; color: rgba(57,91,235,0.55); transition: color 0.2s, transform 0.2s; display: inline-block;
}
.footer-links a:hover { color: rgba(255,255,255,0.85); padding-left: 4px; }
.footer-links a:hover::before { color: #7B93F3; transform: translateX(2px); }

.footer-contact { display: flex; flex-direction: column; gap: 16px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact li div strong {
  display: block; font-size: 0.75rem; color: rgba(255,255,255,0.36);
  margin-bottom: 2px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; font-family: var(--font-body);
}
.footer-contact li div span, .footer-contact li div a {
  font-size: 0.84rem; color: rgba(255,255,255,0.68); line-height: 1.5;
  display: block; font-family: var(--font-body);
}
.footer-contact li div a:hover { color: #7B93F3; }

.footer-bottom {
  background: rgba(0,0,0,0.35); padding: 18px 0;
  position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom .container {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.35); font-family: var(--font-body); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav { display: none; }
  .header-phone { display: none; }
  .header-actions .btn-sm { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom .container { justify-content: center; text-align: center; }
}
