/* ================= GLOBAL BASICS ================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: #000;
  background: #fff;
  overflow-x: hidden;
}

.inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= HEADER ================= */
header {
  padding: 20px 0;
  background: #fff;
  position: relative;
  z-index: 10;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
}

.login-btn {
  padding: 10px 22px;
  background: #C81D25;
  color: #fff;
  font-weight: 600;
  border-radius: 4px;
}

.login-btn:hover {
  background: #A5171D;
}

/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 25px;
  height: 20px;
  justify-content: space-between;
  z-index: 11;
}

.hamburger div {
  width: 100%;
  height: 3px;
  background-color: #000;
  transition: all 0.3s ease;
}

/* ================= FOOTER ================= */
footer {
  background: #000;
  color: #aaa;
  font-size: 14px;
  padding: 30px 0 250px;
  text-align: center;
}

footer p {
  margin: 0;
}

footer p:last-child {
  font-size: 12px;
  color: #888;
  margin-top: 10px;
  line-height: 1.5;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

  nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100%;
    background: #fff;
    flex-direction: column;
    padding: 80px 20px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  nav.active {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
    position: fixed;
    top: 25px;
    right: 20px;
    z-index: 1001;
  }

  .hamburger.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active div:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}
