/*
Theme Name: AutoChronicle Hub Theme
Theme URI: https://autochroniclehub.com
Description: Custom theme for AutoChronicle Hub Blog with car reviews.
Version: 1.1
Author: AutoChronicle Team
Text Domain: autochroniclehub
*/

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #121212;
  color: #fff;
}

.header {
  background: #1d1f21;
  color: #f4d03f;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
}

.navbar a:hover {
  color: #f4d03f;
}

footer {
  background: #1d1f21;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}
/* ===== AUTOCHRONICLEHUB HEADER ===== */
.ach-header {
  position: sticky; 
  top: 0; 
  z-index: 999;
  background: radial-gradient(120% 180% at 10% -40%, rgba(255,215,0,.12) 0%, rgba(0,0,0,0) 60%) #121212;
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: saturate(1.2) blur(6px);
}

.ach-header__inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ach-brand__title {
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #f4d03f;
  text-decoration: none;
  font-size: clamp(16px, 2.4vw, 20px);
  text-shadow: 0 1px 0 #000, 0 0 14px rgba(244,208,63,.35);
}

.ach-logo img {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 8px rgba(244,208,63,.25));
}

/* nav */
.ach-nav {
  display: flex;
  align-items: center;
}

.ach-nav__list {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ach-nav__list > li > a {
  display: inline-block;
  padding: 8px 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .15s ease, text-shadow .2s ease, color .2s ease;
}

.ach-nav__list > li > a:hover {
  color: #f4d03f;
  transform: translateY(-1px);
  text-shadow: 0 0 10px rgba(244,208,63,.45), 0 0 2px rgba(244,208,63,.8);
}

/* burger */
.ach-burger {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
}

.ach-burger span {
  display: block;
  height: 2px;
  margin: 8px 7px;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}

.ach-burger.is-open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.ach-burger.is-open span:nth-child(2) {
  opacity: 0;
}

.ach-burger.is-open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* responsive */
@media (max-width: 880px) {
  .ach-burger {
    display: block;
  }

  .ach-nav {
    position: absolute;
    right: 12px;
    top: 58px;
    background: #151515;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
    padding: 10px 12px;
    box-shadow: 0 10px 26px rgba(0,0,0,.45);
    display: none;
  }

  .ach-nav.is-open {
    display: block;
  }

  .ach-nav__list {
    flex-direction: column;
    gap: 10px;
  }
}
