/* ===============================
   MudaWIN – Layout UI Styles (Header & Footer Only)
=============================== */

/* -------- ROOT VARIABLES (Gerekli Renkler) -------- */
:root {
  --primary: #170d29;
  --accent: #ffb443;
  --bg: #f9ebd9;
  --text: #1f2430;
  --muted: #6e7587;
  --line: rgba(0,0,0,.08);
}

/* =========================
   SITE HEADER (Navigasyon)
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.headerInner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brandLogo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #ffe7c2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brandLogo img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* DESKTOP NAV */
.mainNav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.mainNav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}

.mainNav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: rgba(255,165,0,.65);
  transition: .25s ease;
}

.mainNav a:hover::after,
.mainNav a.active::after {
  width: 100%;
}

.headerBtn {
  margin-left: 18px;
  padding: 8px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: #111;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
}

/* MOBILE SIDE MENU */
.mobileNav {
  position: fixed;
  top: 0;
  left: -75%;
  width: 75%;
  height: 100vh;
  background: #ffffff;
  box-shadow: 6px 0 30px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  transition: left .35s ease;
  z-index: 1000;
}

.mobileNav.active {
  left: 0;
}

.mobileNavHeader {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.mobileLogo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ffe7c2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobileLogo img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.mobileBrand {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.mobileNav a {
  padding: 14px 20px;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.mobileNav a.active {
  background: #f9ebd9;
  font-weight: 600;
}

.mobileBtn {
  background: var(--accent);
  color: #111;
  font-weight: 600;
  text-align: center;
}

/* Body Lock on Menu Open */
body.menu-open {
  overflow: hidden;
}

/* =========================
   FOOTER (MW & GENERIC)
========================= */
.mw-footer {
  padding: 48px 0 24px;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footerInner.mw-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  font-size: 12px;
  color: var(--muted);
}

.mw-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 36px;
}

.mw-footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--text);
}

.mw-footer-col ul { list-style: none; padding: 0; }
.mw-footer-col li { margin-bottom: 10px; }

.mw-footer-col a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.mw-footer-col a:hover { color: var(--accent); }

/* SOCIAL */
.mw-footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.mw-footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: .25s ease;
}

.mw-footer-social a:hover {
  background: var(--accent);
  color: #111;
  transform: translateY(-2px);
}

.mw-footer-social svg { width: 16px; height: 16px; fill: currentColor; }

/* BOTTOM */
.mw-footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.mw-copy { font-size: 12px; color: var(--muted); }

.powered a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
  .mw-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .mainNav, .headerBtn { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 576px) {
  .mw-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .mw-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}