/* ===== RESET / BASE ===== */
body{
  font-family: Arial, sans-serif;
  margin: 0;
  color: #111;
  background: #fff;
}

.wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px;
}

/* ===== HEADER + MENU ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ffffff;
  border-bottom: 1px solid #eee;
}

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

.brand a{
  text-decoration: none;
  font-weight: 800;
  color: #111;
  letter-spacing: 0.2px;
}

.main-nav .nav-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-link{
  display: inline-block;
  padding: 10px 12px;
  text-decoration: none;
  color: #111;
  border-radius: 10px;
  font-weight: 600;
}

.nav-link:hover{
  background: #FF6666;
  color: #fff;
}

.has-dropdown{
  position: relative;
}

.dropdown{
  display: none;
  position: absolute;
  top: 100%;          /* IMPORTANT: no gap */
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  z-index: 9999;
}


.has-dropdown:hover .dropdown{
  display: block;
}

.dropdown-link{
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #111;
  font-weight: 600;
}

.dropdown-link:hover{
  background: #F00000;
  color: #fff;
}

@media (max-width: 850px){
  .header-wrap{
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav .nav-list{
    flex-wrap: wrap;
    gap: 8px;
  }
}
